A Week of Symfony #991 (December 22–28, 2025)
https://symfony.com/blog/a-week-of-symfony-991-december-22-28-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1pxno75
@r_php
https://symfony.com/blog/a-week-of-symfony-991-december-22-28-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1pxno75
@r_php
Symfony
A Week of Symfony #991 (December 22–28, 2025) (Symfony Blog)
This week, most Symfony contributors were enjoying the holidays, so development activity focused on miscellaneous bug fixes. Meanwhile, we released the first tagged version of Symfony AI, as the first…
Laravel's request safe() method is a must-know
https://ostapbrehin.com/laravel-request-safe-method/
https://redd.it/1pxqef2
@r_php
https://ostapbrehin.com/laravel-request-safe-method/
https://redd.it/1pxqef2
@r_php
Ostap's Blog 📡
Laravel's request safe() method is a must-know
Lately, there’s been a trend of using model $guarded = [] with $request->validated() to pass the right fields.
This can make you fall into the trap of thinking other request methods work just like validated(), i.e:
$data = $request->except(['last_name', 'first_name']);…
This can make you fall into the trap of thinking other request methods work just like validated(), i.e:
$data = $request->except(['last_name', 'first_name']);…
Weekly /r/Laravel Help Thread
Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:
What steps have you taken so far?
What have you tried from the documentation?
Did you provide any error messages you are getting?
Are you able to provide instructions to replicate the issue?
Did you provide a code example?
Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.
For more immediate support, you can ask in the official Laravel Discord.
Thanks and welcome to the r/Laravel community!
https://redd.it/1pxxt3j
@r_php
Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:
What steps have you taken so far?
What have you tried from the documentation?
Did you provide any error messages you are getting?
Are you able to provide instructions to replicate the issue?
Did you provide a code example?
Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.
For more immediate support, you can ask in the official Laravel Discord.
Thanks and welcome to the r/Laravel community!
https://redd.it/1pxxt3j
@r_php
Laravel
Installation - Laravel 12.x - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Last time you roasted my AI-helped CMS so hard I deleted it. Now back with a full micro-framework I built while knowing jack shit about PHP. v0.3.0 with CSRF, route groups, and more. Round 2 ,experts, do your worst.
Hey r/PHP,
Story time (again).
last weeks showoff I posted my homemade CMS. English isn’t my first language, so I used AI to clean up replies. Code was mostly AI-assisted because let's be real I know jack shit about PHP.
You guys didn't hold back:
“AI slop”
“Vibe-coded garbage”
“No tests, no structure”
Someone begged mods to ban “AI vibe-coding”
Flamed me for using AI to reply (just fixing my English, chill)
xkcd 927 (obviously
Felt like crashing an "experts only" party. Deleted the post. Logged off. Thought “damn, maybe they're right.”
Then I got pissed off.
Took your "feedback", used even more AI, and built Intent Framework v0.3.0 a zero-magic, explicit micro-framework running my next CMS.
What's in it (since "incomplete" was your favorite word last time):
Middleware + pipeline
Sessions + flash
Full auth (bcrypt, login, logout)
Events
File cache with Cache::remember()
Validator
Secure file-based API routes
Built-in CLI (php intent serve, make:handler, make:middleware, cache:clear)
CSRF protection middleware (new!)
Route groups with prefix + middleware (new!)
\~3,000 lines core
69 tests, 124 assertions (nice added because you whined)
Repo: https://github.com/aamirali51/Intent-Framework
Full docs: ARCHITECTURE.md (click before roasting)
Here's the punchline:
I still know jack shit about PHP. Still used AI for most of it. And it took less time than most of you spend on one Laravel controller.
Meanwhile, the same "experts" screaming "AI is cheating" quietly hit up ChatGPT when they're stuck at midnight. We all do it. Difference is: I'm upfront about it.
AI isn't "slop" it's a tool. And it let a non-expert ship something cleaner than a lot of "hand-written" stuff here.
So go ahead, elite squad. Roast me harder. Tell me real devs don't use tools. Tell me to learn PHP "properly" first. Drop the xkcd (it's tradition).
I'll be over here... knowing jack shit... and still shipping updates.
Round 2. Bring the heat. 🔥
(This post ain't getting deleted.)
https://redd.it/1pxyn56
@r_php
Hey r/PHP,
Story time (again).
last weeks showoff I posted my homemade CMS. English isn’t my first language, so I used AI to clean up replies. Code was mostly AI-assisted because let's be real I know jack shit about PHP.
You guys didn't hold back:
“AI slop”
“Vibe-coded garbage”
“No tests, no structure”
Someone begged mods to ban “AI vibe-coding”
Flamed me for using AI to reply (just fixing my English, chill)
xkcd 927 (obviously
Felt like crashing an "experts only" party. Deleted the post. Logged off. Thought “damn, maybe they're right.”
Then I got pissed off.
Took your "feedback", used even more AI, and built Intent Framework v0.3.0 a zero-magic, explicit micro-framework running my next CMS.
What's in it (since "incomplete" was your favorite word last time):
Middleware + pipeline
Sessions + flash
Full auth (bcrypt, login, logout)
Events
File cache with Cache::remember()
Validator
Secure file-based API routes
Built-in CLI (php intent serve, make:handler, make:middleware, cache:clear)
CSRF protection middleware (new!)
Route groups with prefix + middleware (new!)
\~3,000 lines core
69 tests, 124 assertions (nice added because you whined)
Repo: https://github.com/aamirali51/Intent-Framework
Full docs: ARCHITECTURE.md (click before roasting)
Here's the punchline:
I still know jack shit about PHP. Still used AI for most of it. And it took less time than most of you spend on one Laravel controller.
Meanwhile, the same "experts" screaming "AI is cheating" quietly hit up ChatGPT when they're stuck at midnight. We all do it. Difference is: I'm upfront about it.
AI isn't "slop" it's a tool. And it let a non-expert ship something cleaner than a lot of "hand-written" stuff here.
So go ahead, elite squad. Roast me harder. Tell me real devs don't use tools. Tell me to learn PHP "properly" first. Drop the xkcd (it's tradition).
I'll be over here... knowing jack shit... and still shipping updates.
Round 2. Bring the heat. 🔥
(This post ain't getting deleted.)
https://redd.it/1pxyn56
@r_php
GitHub
GitHub - aamirali51/Intent-Framework: A zero-boilerplate, AI-native, explicitly designed PHP micro-framework
A zero-boilerplate, AI-native, explicitly designed PHP micro-framework - aamirali51/Intent-Framework
Hotreload De FrankenPHP
Hey team,
Kevin Dunglass released this "hot\reload" feature this week and I'd like to know if anyone has tested it yet?
https://redd.it/1pxzwpg
@r_php
Hey team,
Kevin Dunglass released this "hot\reload" feature this week and I'd like to know if anyone has tested it yet?
https://redd.it/1pxzwpg
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
I am a fiber artist and was recently commissioned to make the php Elephant!
https://www.instagram.com/p/DSnIt2mCJYP/?igsh=Z242bHE2cWVsbXFs
https://redd.it/1py1lxp
@r_php
https://www.instagram.com/p/DSnIt2mCJYP/?igsh=Z242bHE2cWVsbXFs
https://redd.it/1py1lxp
@r_php
Instagram
@eldiarts
A quick post of some of the most niche commissions I've worked on!
A Cricut character and the PHP Elephant logo! Thank you for your support ✨🙂↕️
patterns: turtle whicky crochet & crochetingiseasy
.
.
.
.
.
#crochetinspiration #crochetplush #commissionsopen…
A Cricut character and the PHP Elephant logo! Thank you for your support ✨🙂↕️
patterns: turtle whicky crochet & crochetingiseasy
.
.
.
.
.
#crochetinspiration #crochetplush #commissionsopen…
Recommend any newer PHP books?
I prefer books or ebooks over video tutorials. Recommend any? Thanks.
https://redd.it/1pybkv1
@r_php
I prefer books or ebooks over video tutorials. Recommend any? Thanks.
https://redd.it/1pybkv1
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
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/1pycb04
@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/1pycb04
@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/1pyfh2q
@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/1pyfh2q
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Weird text "8194460" appearing on many laravel websites
Crossposting is not allowed, but I wanted to share this post by Maskedman1022000.
Basically, multiple websites have the number 8194460 appearing. When googling I was able to find a few pages that appear to have the number indexed by Google, but all of them just redirected to a login form.
Even https://filamentapps.com/ has it at the top of the website right now.
u/Maskedman1022000 experienced it on his site, but haven't been able to reproduce it in his dev environment.
This is a reminder to check if your pages contain the same bug, and to hear if anyone has more information on the issue.
https://redd.it/1pyhkqa
@r_php
Crossposting is not allowed, but I wanted to share this post by Maskedman1022000.
Basically, multiple websites have the number 8194460 appearing. When googling I was able to find a few pages that appear to have the number indexed by Google, but all of them just redirected to a login form.
Even https://filamentapps.com/ has it at the top of the website right now.
u/Maskedman1022000 experienced it on his site, but haven't been able to reproduce it in his dev environment.
This is a reminder to check if your pages contain the same bug, and to hear if anyone has more information on the issue.
https://redd.it/1pyhkqa
@r_php
Reddit
From the webdev community on Reddit: Weird text "8194460" appearing on many laravel websites
Explore this post and more from the webdev community
Should it still use global, static and associative array?
dumb question should i still use global, static and associateive array?
https://redd.it/1pykn6w
@r_php
dumb question should i still use global, static and associateive array?
https://redd.it/1pykn6w
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Do you prefer
Hey folks,
Kind of a dumb question, but it’s been bugging me more than it should 😅
Do you prefer having
I know it doesn’t really matter functionally, but seeing
So what I did was this:
I have an
- index.php
- style.css
Instead of
I mainly did this to hide the
GitHub repo: https://github.com/SurajRaika/artifact/
Live site: https://artifact.wuaze.com
Feel free to roast it
---
Another question while I’m here (would really love some advice):
When working with Core PHP, how do you usually structure your project?
What I’m currently trying is:
- Making small “components”
- Each component lives in a single folder
- That folder contains PHP, CSS, and JS related to that component
Something like:
component/
index.php
style.css
noscript.js
What are the pros and cons of doing it this way?
Is this a bad idea long-term?
Is there a better or more common approach when not using a framework?
I’m mostly experimenting and learning, but I feel like I might be reinventing some bad patterns
---
Also,:
I’m kind of looking for a PHP job, so I built this project as practice and something to show.
If anyone has advice, feedback, or even a referral (though I doubt it 🥲), I’d really appreciate it.
Thanks, and sorry if these are beginner-ish questions.
Just asking because most of you probably have way more experience than I do.
https://redd.it/1pyk3xi
@r_php
.php in URLs or hiding it? Also… am I structuring Core PHP wrong?Hey folks,
Kind of a dumb question, but it’s been bugging me more than it should 😅
Do you prefer having
.php in your app URLs, or keeping them clean without it?I know it doesn’t really matter functionally, but seeing
.php in URLs just bothers me for some reason.So what I did was this:
I have an
/authenticate route that contains:- index.php
- style.css
Instead of
/authenticate/index.php, when a user visits /authenticate/, they see the page directly. I mainly did this to hide the
.php part. I know this can also be handled properly using .htaccess (Apache) or Nginx rewrite rules, but this felt like a simple and clean solution to me.GitHub repo: https://github.com/SurajRaika/artifact/
Live site: https://artifact.wuaze.com
Feel free to roast it
---
Another question while I’m here (would really love some advice):
When working with Core PHP, how do you usually structure your project?
What I’m currently trying is:
- Making small “components”
- Each component lives in a single folder
- That folder contains PHP, CSS, and JS related to that component
Something like:
component/
index.php
style.css
noscript.js
What are the pros and cons of doing it this way?
Is this a bad idea long-term?
Is there a better or more common approach when not using a framework?
I’m mostly experimenting and learning, but I feel like I might be reinventing some bad patterns
---
Also,:
I’m kind of looking for a PHP job, so I built this project as practice and something to show.
If anyone has advice, feedback, or even a referral (though I doubt it 🥲), I’d really appreciate it.
Thanks, and sorry if these are beginner-ish questions.
Just asking because most of you probably have way more experience than I do.
https://redd.it/1pyk3xi
@r_php
GitHub
GitHub - SurajRaika/artifact
Contribute to SurajRaika/artifact development by creating an account on GitHub.
I modernized a decade-old PHP noscript for importing large MySQL dumps - now it's a full MVC app with 10-50x faster imports
Hello,
I've been working on BigDump, a staggered MySQL dump importer. The original noscript was created by Alexey Ozerov back in 2013, and I've completely refactored it into a modern PHP 8.1+ application.
The problem it solves:
phpMyAdmin times out on files >50MB on shared hosting. BigDump breaks imports into sessions that complete within your server's execution limit.
What's new in v2+:
- Full MVC architecture with PSR-12 compliance
- INSERT batching that groups simple INSERTs into multi-value queries (10-50x speedup)
- Auto-tuning based on available PHP memory
- SSE (Server-Sent Events) for real-time progress streaming
- Session persistence - resume after browser refresh or server restart
- Support for .sql, .gz, and .csv files
Technical highlights:
- Strict type declarations throughout
- Dependency injection via constructors
- Optimized SQL parsing using strpos() jumps instead of char-by-char iteration
- 64KB read buffer for reduced I/O overhead
GitHub: https://github.com/w3spi5/bigdump
It's MIT licensed. I'd love feedback on the architecture, and contributions are welcome. The roadmap includes parallel import streams and a REST API.
Has anyone else dealt with importing multi-GB dumps on constrained hosting? What solutions have you used?
https://redd.it/1pymls1
@r_php
Hello,
I've been working on BigDump, a staggered MySQL dump importer. The original noscript was created by Alexey Ozerov back in 2013, and I've completely refactored it into a modern PHP 8.1+ application.
The problem it solves:
phpMyAdmin times out on files >50MB on shared hosting. BigDump breaks imports into sessions that complete within your server's execution limit.
What's new in v2+:
- Full MVC architecture with PSR-12 compliance
- INSERT batching that groups simple INSERTs into multi-value queries (10-50x speedup)
- Auto-tuning based on available PHP memory
- SSE (Server-Sent Events) for real-time progress streaming
- Session persistence - resume after browser refresh or server restart
- Support for .sql, .gz, and .csv files
Technical highlights:
- Strict type declarations throughout
- Dependency injection via constructors
- Optimized SQL parsing using strpos() jumps instead of char-by-char iteration
- 64KB read buffer for reduced I/O overhead
GitHub: https://github.com/w3spi5/bigdump
It's MIT licensed. I'd love feedback on the architecture, and contributions are welcome. The roadmap includes parallel import streams and a REST API.
Has anyone else dealt with importing multi-GB dumps on constrained hosting? What solutions have you used?
https://redd.it/1pymls1
@r_php
GitHub
GitHub - w3spi5/bigdump: An evolution of PHP noscript written by Alexey Ozerov in 2013
An evolution of PHP noscript written by Alexey Ozerov in 2013 - w3spi5/bigdump
The latest version of AuditTrailBundle
The latest version of AuditTrailBundle introduces a complete and production-ready auditing solution for Symfony applications.
you get:
Reliable core auditing for entity create, update, delete, and soft-delete operations
Attribute-based and YAML-based configuration options
Support for multiple audit transports, including chained transports
Transaction-level grouping of audit records for better traceability
Seamless EasyAdmin integration for audit inspection
A structured Audit Reader API for querying and filtering audit logs
A clear audit diff viewer showing old and new values
Safe and explicit revert capability based on audit history
Built-in support for Gedmo SoftDeleteable entities
Configurable retention policies for long-term audit data management
For detailed documentation and configuration examples, please refer to the README.
https://redd.it/1pym147
@r_php
The latest version of AuditTrailBundle introduces a complete and production-ready auditing solution for Symfony applications.
you get:
Reliable core auditing for entity create, update, delete, and soft-delete operations
Attribute-based and YAML-based configuration options
Support for multiple audit transports, including chained transports
Transaction-level grouping of audit records for better traceability
Seamless EasyAdmin integration for audit inspection
A structured Audit Reader API for querying and filtering audit logs
A clear audit diff viewer showing old and new values
Safe and explicit revert capability based on audit history
Built-in support for Gedmo SoftDeleteable entities
Configurable retention policies for long-term audit data management
For detailed documentation and configuration examples, please refer to the README.
https://redd.it/1pym147
@r_php
GitHub
AuditTrailBundle/README.md at main · rcsofttech85/AuditTrailBundle
A lightweight Symfony bundle that automatically tracks and stores Doctrine ORM entity changes for audit logging and compliance. - rcsofttech85/AuditTrailBundle
Content management for laravel apps
Hi all! I have several laravel apps out there but the problem with the clients remains the same. They need a way to manage the marketing end of their app. Basically they need an advanced ‘editor’ like wordpress’ elementor but in the laravel ecosystem.
So far I’ve tried grapejs, ckeditor, filament’s v4 editor and even markdown editor. The clients seem to like tinymce which is what i have as default right now. I hate how tinymce works but it seems its the most feature rich editor (according to the clients at least). I have several opinionated clients that moonlight as designers.
So how do you guys handle such cases?
https://redd.it/1pypy6t
@r_php
Hi all! I have several laravel apps out there but the problem with the clients remains the same. They need a way to manage the marketing end of their app. Basically they need an advanced ‘editor’ like wordpress’ elementor but in the laravel ecosystem.
So far I’ve tried grapejs, ckeditor, filament’s v4 editor and even markdown editor. The clients seem to like tinymce which is what i have as default right now. I hate how tinymce works but it seems its the most feature rich editor (according to the clients at least). I have several opinionated clients that moonlight as designers.
So how do you guys handle such cases?
https://redd.it/1pypy6t
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Job Middleware Patterns: Database transactions, distributed locking, and domain-specific logic
https://queuewatch.io/blog/job-middleware-patterns-database-transactions-distributed-locking-and-domain-specific-logic
https://redd.it/1pyperr
@r_php
https://queuewatch.io/blog/job-middleware-patterns-database-transactions-distributed-locking-and-domain-specific-logic
https://redd.it/1pyperr
@r_php
Queuewatch
Job Middleware Patterns: Database transactions, distributed locking, and domain-specific logic - Queuewatch
Laravel's job middleware system is one of the framework's most powerful yet underutilized features. While most developers know about RateLimited and WithoutOverlapping, the middleware pipeline enables sophisticated patterns that transform how jobs interact…
I recently launched 2 laravel package , how should i promote it
I recently created and launched 2 laravel package, 1 a laravel installer package and another one is laravel health package. but both having less than 30 stars in github and less installs.
i created the packages , uploaded to github and packagist and waiting for people to use it. but whats the best way to let the developers know about the packages ?
please share your suggestions
https://redd.it/1pytiuy
@r_php
I recently created and launched 2 laravel package, 1 a laravel installer package and another one is laravel health package. but both having less than 30 stars in github and less installs.
i created the packages , uploaded to github and packagist and waiting for people to use it. but whats the best way to let the developers know about the packages ?
please share your suggestions
https://redd.it/1pytiuy
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community