I made a neovim plugin to use artisan tinker without leaving my keymaps behind (php-tinker.nvim)
Hey all,
I've got a new plugin for the 4 of you using neovim to build Laravel apps.
From any Laravel project (or any Composer-autoloaded project) you can test out your janky code or accidentally create 5000 fake users right from your editor without opening your browser or running your console command 30 times.
There's not much more to it than that: it's psysh in Neovim! Check out the plugin repo to get started.
https://redd.it/1mmo5y7
@r_php
Hey all,
I've got a new plugin for the 4 of you using neovim to build Laravel apps.
psysh, php artisan tinker, and Tinkerwell are all great REPLs, but none of them have my ~~cursed~~beloved custom vim keymaps. However, thanks to Saeed Vaziry's work on TweakPHP and its client, this plugin gives you the power of all the aforementioned tools right in Neovim!From any Laravel project (or any Composer-autoloaded project) you can test out your janky code or accidentally create 5000 fake users right from your editor without opening your browser or running your console command 30 times.
There's not much more to it than that: it's psysh in Neovim! Check out the plugin repo to get started.
https://redd.it/1mmo5y7
@r_php
GitHub
saeedvaziry - Overview
saeedvaziry has 49 repositories available. Follow their code on GitHub.
Message Channels: Zero-Configuration Async Processing
https://dariuszgafka.medium.com/message-channels-zero-configuration-async-processing-7d0d3ef73b2f
https://redd.it/1mmthkf
@r_php
https://dariuszgafka.medium.com/message-channels-zero-configuration-async-processing-7d0d3ef73b2f
https://redd.it/1mmthkf
@r_php
Medium
Message Channels: Zero-Configuration Async Processing
Learn how declarative programming create reliable background processing with zero configuration overhead.
Weekly Ask Anything Thread
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1mn26ql
@r_php
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1mn26ql
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Weekly help thread
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1mn55g5
@r_php
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1mn55g5
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SimpleOTP - Generate, Send and Verify OTP across different channels with ease.
https://github.com/Horlerdipo/simple-otp
https://redd.it/1mn6nn9
@r_php
https://github.com/Horlerdipo/simple-otp
https://redd.it/1mn6nn9
@r_php
GitHub
GitHub - Horlerdipo/simple-otp
Contribute to Horlerdipo/simple-otp development by creating an account on GitHub.
Someone just made a YouTube tutorial for my Laravel-based ERP project!
Hi All,
Just discovered that someone created a video tutorial for Samarium, the Laravel based open sourcet ERP project I have been working on. Pretty surreal moment!
I have been posting about its updates here as well before. I was thinking of posting here when it is 0.9.7 but I just saw the video in youtube. Its the first time someone has made a youtube video of the project so i got kinda excited and thought of sharing here.
The video walks through the installation process and gives a nice overview of what the project is about. Always amazing to see when people in the community take time to create content around open source projects.
For those interested:
GitHub: [https://github.com/oitcode/samarium](https://github.com/oitcode/samarium)
YouTube tutorial: https://www.youtube.com/watch?v=fD4Wr8cT1CU
As the author, I know there are many bugs and lacking features in the project maybe, and also many part of the code needs refactor. But seeing a video someone else has made - that really gives added motivation.
Also, thanks to all the comment and feedback I had got here when i had posted before. I have implemented some of those, and it has been helpful.
Thanks and have a good time all.
https://redd.it/1mnkviv
@r_php
Hi All,
Just discovered that someone created a video tutorial for Samarium, the Laravel based open sourcet ERP project I have been working on. Pretty surreal moment!
I have been posting about its updates here as well before. I was thinking of posting here when it is 0.9.7 but I just saw the video in youtube. Its the first time someone has made a youtube video of the project so i got kinda excited and thought of sharing here.
The video walks through the installation process and gives a nice overview of what the project is about. Always amazing to see when people in the community take time to create content around open source projects.
For those interested:
GitHub: [https://github.com/oitcode/samarium](https://github.com/oitcode/samarium)
YouTube tutorial: https://www.youtube.com/watch?v=fD4Wr8cT1CU
As the author, I know there are many bugs and lacking features in the project maybe, and also many part of the code needs refactor. But seeing a video someone else has made - that really gives added motivation.
Also, thanks to all the comment and feedback I had got here when i had posted before. I have implemented some of those, and it has been helpful.
Thanks and have a good time all.
https://redd.it/1mnkviv
@r_php
GitHub
GitHub - shyamsitaula/samarium: Open-source business management system with ERP, POS, invoicing, and CMS features. Laravel-based…
Open-source business management system with ERP, POS, invoicing, and CMS features. Laravel-based, Docker-ready. Still in active development. - shyamsitaula/samarium
No longer able to pass null into jsondecode?
We are upgrading a legacy web application from 8.0 to 8.1 (I know, don't worry, we're gonna catch up more than that) and I was dismayed to see all over my application a deprecation notice of passing \`null\` as the first argument to \`json\decode`. A lot of places in our code we seem to be relying on this to fail parsing and return `null` and then checking the results for `is_null`, rather than only parsing if the thing to parse isn't `null`. I kind of get why this change is happening (better typing by only allowing `string` in the argument) and we can update all of our calls to cast the thing we're parsing as a string, but it's quite a bit of disruption.
The reason I'm posting though, is that I can't find any history or discussion of this change anywhere. The official docs for `json_decode` have no mention of the change, and I can't find an RFC or anything. Does anyone have any links they can share?
https://redd.it/1mnlozn
@r_php
We are upgrading a legacy web application from 8.0 to 8.1 (I know, don't worry, we're gonna catch up more than that) and I was dismayed to see all over my application a deprecation notice of passing \`null\` as the first argument to \`json\decode`. A lot of places in our code we seem to be relying on this to fail parsing and return `null` and then checking the results for `is_null`, rather than only parsing if the thing to parse isn't `null`. I kind of get why this change is happening (better typing by only allowing `string` in the argument) and we can update all of our calls to cast the thing we're parsing as a string, but it's quite a bit of disruption.
The reason I'm posting though, is that I can't find any history or discussion of this change anywhere. The official docs for `json_decode` have no mention of the change, and I can't find an RFC or anything. Does anyone have any links they can share?
https://redd.it/1mnlozn
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
How does symfonys autowireing feature differentiates between services and plain classes?
In symfony everything in src can be a service but how does it know which class is a service and which is a plain object that the user wants to instatiate himself?
https://redd.it/1mo1e8b
@r_php
In symfony everything in src can be a service but how does it know which class is a service and which is a plain object that the user wants to instatiate himself?
https://redd.it/1mo1e8b
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
SymfonyCon Amsterdam 2025: Unconference Track at SymfonyCon Amsterdam 2025
https://symfony.com/blog/symfonycon-amsterdam-2025-unconference-track-at-symfonycon-amsterdam-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1mo7wm5
@r_php
https://symfony.com/blog/symfonycon-amsterdam-2025-unconference-track-at-symfonycon-amsterdam-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1mo7wm5
@r_php
Symfony
SymfonyCon Amsterdam 2025: Unconference Track at SymfonyCon Amsterdam 2025 (Symfony Blog)
SymfonyCon’s Unconference track is open to all attendees! Share your ideas in a 20-minute talk! No need to be a pro speaker. Apply now and be part of something spontaneous and powerful.
Filamentphp v4 released
FilamentPHP v4 is officially stable https://filamentphp.com/docs/4.x/introduction/overview#!
https://redd.it/1moa34g
@r_php
FilamentPHP v4 is officially stable https://filamentphp.com/docs/4.x/introduction/overview#!
https://redd.it/1moa34g
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Filament v4 is now stable!
The first stable version of Filament v4 was just released. It brings an enormous amount of new features and improvements. To highlight a few:
Improved table performance
Custom table data
Nested resources
Multi-factor authentication
Unified action classes
Schema components
Dedicated form and table classes
New form fields
Partial rendering
Tailwind CSS v4
Filament v4 also marks a new chapter for Filament Themes, introducing a custom theme designer. There’s way too much to discuss in a single post, so feel free to dig deeper using the links below:
Announcement: [https://filamentphp.com/content/alexandersix-filament-v4-is-stable](https://filamentphp.com/content/alexandersix-filament-v4-is-stable)
Detailed changes: https://filamentphp.com/content/leandrocfe-whats-new-in-filament-v4
GitHub release: [https://github.com/filamentphp/filament/releases/tag/v4.0.0](https://github.com/filamentphp/filament/releases/tag/v4.0.0)
Custom themes: https://filamentthemes.com/themes/custom?utm\_source=reddit&utm\_medium=social&utm\_campaign=custom+themes+early+access
If you want to upgrade right away, check out the upgrade guide with automated upgrade noscript: https://filamentphp.com/docs/4.x/upgrade-guide.
https://redd.it/1mob1xf
@r_php
The first stable version of Filament v4 was just released. It brings an enormous amount of new features and improvements. To highlight a few:
Improved table performance
Custom table data
Nested resources
Multi-factor authentication
Unified action classes
Schema components
Dedicated form and table classes
New form fields
Partial rendering
Tailwind CSS v4
Filament v4 also marks a new chapter for Filament Themes, introducing a custom theme designer. There’s way too much to discuss in a single post, so feel free to dig deeper using the links below:
Announcement: [https://filamentphp.com/content/alexandersix-filament-v4-is-stable](https://filamentphp.com/content/alexandersix-filament-v4-is-stable)
Detailed changes: https://filamentphp.com/content/leandrocfe-whats-new-in-filament-v4
GitHub release: [https://github.com/filamentphp/filament/releases/tag/v4.0.0](https://github.com/filamentphp/filament/releases/tag/v4.0.0)
Custom themes: https://filamentthemes.com/themes/custom?utm\_source=reddit&utm\_medium=social&utm\_campaign=custom+themes+early+access
If you want to upgrade right away, check out the upgrade guide with automated upgrade noscript: https://filamentphp.com/docs/4.x/upgrade-guide.
https://redd.it/1mob1xf
@r_php
Filament
Filament v4 is Stable! by Alex Six - Filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
Filament v4: What’s New and Exciting
https://nabilhassen.com/filament-v4-whats-new-and-exciting
https://redd.it/1mofi0p
@r_php
https://nabilhassen.com/filament-v4-whats-new-and-exciting
https://redd.it/1mofi0p
@r_php
Nabilhassen
Filament v4: What’s New and Exciting
Filament v4 boosts performance, adds TipTap rich editing, client-side JS helpers, nested resources, MFA, and more making Filament faster and smarter.
I built a new PHP Runtime to run PHP applications without Nginx and PHP-FPM
Hey everyone,
Over the past year, I've been building a PHP Application Server called PHPStreamServer.
Think of it as a new way to run PHP applications - no need for Nginx, PHP-FPM, or external GO binaries.
The goal is to bring a runtime to the PHP ecosystem that installs directly via Composer and requires only PHP itself to run.
The cool part is, it's asynchronous. It leverages AMPHP components, making true asynchrony possible in PHP.
This isn't a strict requirement though - you can still run synchronous code, but if you choose to use AMP components, you can take full advantage of async execution.
PHPStreamServer is modular and ships with set of plugins that cover most common needs for PHP apps (except for the core supervisor, which is always included):
- Supervisor (process manager)
- Http Server
- Cron-like Scheduler
- Logger (PSR-3 compatible)
- Prometheus Metrics Server
- File Monitor (auto-reloads the server on file changes)
How is this differs from existing PHP web server implementations like amphp/http-server or Swoole's web server?
Those are bare web server implementations. PHPStreamServer is an application server - it takes care of the entire application lifecycle:
- Deciding how many processes to launch
- Routing requests between processes
- Restarting processes after a crash or a certain condition
- Managing logs
- Providing an interface to manage and monitor the server
In other words, it's not just a way to serve HTTP requests - it's the full runtime environment for PHP applications.
I'd love to hear any thoughts, suggestions, or feature requests.
Website:
https://phpstreamserver.dev/
Github:
https://github.com/phpstreamserver/phpstreamserver/
https://redd.it/1mogmgi
@r_php
Hey everyone,
Over the past year, I've been building a PHP Application Server called PHPStreamServer.
Think of it as a new way to run PHP applications - no need for Nginx, PHP-FPM, or external GO binaries.
The goal is to bring a runtime to the PHP ecosystem that installs directly via Composer and requires only PHP itself to run.
The cool part is, it's asynchronous. It leverages AMPHP components, making true asynchrony possible in PHP.
This isn't a strict requirement though - you can still run synchronous code, but if you choose to use AMP components, you can take full advantage of async execution.
PHPStreamServer is modular and ships with set of plugins that cover most common needs for PHP apps (except for the core supervisor, which is always included):
- Supervisor (process manager)
- Http Server
- Cron-like Scheduler
- Logger (PSR-3 compatible)
- Prometheus Metrics Server
- File Monitor (auto-reloads the server on file changes)
How is this differs from existing PHP web server implementations like amphp/http-server or Swoole's web server?
Those are bare web server implementations. PHPStreamServer is an application server - it takes care of the entire application lifecycle:
- Deciding how many processes to launch
- Routing requests between processes
- Restarting processes after a crash or a certain condition
- Managing logs
- Providing an interface to manage and monitor the server
In other words, it's not just a way to serve HTTP requests - it's the full runtime environment for PHP applications.
I'd love to hear any thoughts, suggestions, or feature requests.
Website:
https://phpstreamserver.dev/
Github:
https://github.com/phpstreamserver/phpstreamserver/
https://redd.it/1mogmgi
@r_php
phpstreamserver.dev
PHPStreamServer: Application server and process manager for modern PHP applications
High-performance PHP application server and process manager written in PHP
Few Laravel packages made by me
**Laravel Locations**
Add models for countries, cities, areas, languages, and currencies to your Laravel application.
Link: https://packagist.org/packages/milenmk/laravel-locations
**Laravel Blacklist**
Implement a filter to block profane and inappropriate words from user input.
Link: https://packagist.org/packages/milenmk/laravel-blacklist
**Laravel GDPR Exporter**
A user data exporter that complies with GDPR regulations and includes support for Livewire.
Link: https://packagist.org/packages/milenmk/laravel-gdpr-exporter
**Email Change Confirmation (in development)**
Enhance the security of the email change process by requiring users to confirm (or deny) the change via an email sent to their current email address.
Link: https://github.com/milenmk/laravel-email-change-confirmation
https://redd.it/1mpj0q0
@r_php
**Laravel Locations**
Add models for countries, cities, areas, languages, and currencies to your Laravel application.
Link: https://packagist.org/packages/milenmk/laravel-locations
**Laravel Blacklist**
Implement a filter to block profane and inappropriate words from user input.
Link: https://packagist.org/packages/milenmk/laravel-blacklist
**Laravel GDPR Exporter**
A user data exporter that complies with GDPR regulations and includes support for Livewire.
Link: https://packagist.org/packages/milenmk/laravel-gdpr-exporter
**Email Change Confirmation (in development)**
Enhance the security of the email change process by requiring users to confirm (or deny) the change via an email sent to their current email address.
Link: https://github.com/milenmk/laravel-email-change-confirmation
https://redd.it/1mpj0q0
@r_php
packagist.org
milenmk/laravel-locations - Packagist
Add Countries, Cities, Areas, Languages and Currencies models to your Laravel application
Why isn't PHP as popular if it's used everywhere?
In my opinion, PHP isn't as popular amongst forums, reddit, word of mouth, memes, job listings etc. compared to node/typenoscript. For example the node subreddit has twice as many members, and StackOverflow ranks it much lower in surveys.
However PHP is used 70-80% of the web, which blows my mind, I would have estimated it to be 40% if it wasn't for that statistic.
Why don't more people talk about PHP if it's used more?
https://redd.it/1mpme0p
@r_php
In my opinion, PHP isn't as popular amongst forums, reddit, word of mouth, memes, job listings etc. compared to node/typenoscript. For example the node subreddit has twice as many members, and StackOverflow ranks it much lower in surveys.
However PHP is used 70-80% of the web, which blows my mind, I would have estimated it to be 40% if it wasn't for that statistic.
Why don't more people talk about PHP if it's used more?
https://redd.it/1mpme0p
@r_php
survey.stackoverflow.co
Technology | 2024 Stack Overflow Developer Survey
Do you guys have some tips for your first formal project
I'm doing this for my backend specialization. I am a ux-designer so I lean very heavy on brainstorming, finding as many perspectives etc as possible.
Do you guys have anything that you would advise for relating to this subject matter?
https://redd.it/1mpq0it
@r_php
I'm doing this for my backend specialization. I am a ux-designer so I lean very heavy on brainstorming, finding as many perspectives etc as possible.
Do you guys have anything that you would advise for relating to this subject matter?
https://redd.it/1mpq0it
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Why should a PHP file always start with that ugly <?php tag ?
No other language has this ugly property. Yes I know, it is from the original 'Personal Home Page' with kinda 'rich HTML' approach in the 00s, but currently HTML code with embedded <? code ?> is very unreadable and barely used anymore.
I hope the PHP community will opt out this some day.
https://redd.it/1mprxiw
@r_php
No other language has this ugly property. Yes I know, it is from the original 'Personal Home Page' with kinda 'rich HTML' approach in the 00s, but currently HTML code with embedded <? code ?> is very unreadable and barely used anymore.
I hope the PHP community will opt out this some day.
https://redd.it/1mprxiw
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community