A Week of Symfony #964 (June 16–22, 2025)
https://symfony.com/blog/a-week-of-symfony-964-june-16-22-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lhjhhp
@r_php
https://symfony.com/blog/a-week-of-symfony-964-june-16-22-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lhjhhp
@r_php
Symfony
A Week of Symfony #964 (June 16–22, 2025) (Symfony Blog)
This week, development activity was intense, with many bug fixes in the maintained branches, numerous deprecation removals in the 8.0 branch, and new features added to the 7.4 branch, including tighte…
🚀PHP Package Stream JSON progressively — like React Suspense, but for your API
Tired of APIs that make your users wait until everything is ready? I’ve just released a tiny package that streams JSON progressively — sending the base structure instantly, then filling in slower data as it's ready.
👉 Inspired by Dan Abramov’s Progressive JSON video
👉 Perfect with React/Vue Suspense, dashboards, mixed-speed APIs
Instead of: { "user": "...", "posts": "...", "stats": "..." } // Waits for slowest piece
You get:
{ "user": "$user", "posts": "$posts", "stats": "$stats" }
// Then: streamed chunks like / $user / { id: 1, name: "John" }
✅ Laravel-ready →
✅ Works with simple JS client
✅ Supports nested keys (
✅ Streams breadth-first (structure first, content later)
GitHub: https://github.com/egyjs/progressive-json-php
Keen to hear your thoughts — especially on other use cases inside Laravel apps. 🍸
https://redd.it/1lhjdip
@r_php
Tired of APIs that make your users wait until everything is ready? I’ve just released a tiny package that streams JSON progressively — sending the base structure instantly, then filling in slower data as it's ready.
👉 Inspired by Dan Abramov’s Progressive JSON video
👉 Perfect with React/Vue Suspense, dashboards, mixed-speed APIs
Instead of: { "user": "...", "posts": "...", "stats": "..." } // Waits for slowest piece
You get:
{ "user": "$user", "posts": "$posts", "stats": "$stats" }
// Then: streamed chunks like / $user / { id: 1, name: "John" }
✅ Laravel-ready →
response()->stream()✅ Works with simple JS client
✅ Supports nested keys (
stats.views, user.profile)✅ Streams breadth-first (structure first, content later)
GitHub: https://github.com/egyjs/progressive-json-php
Keen to hear your thoughts — especially on other use cases inside Laravel apps. 🍸
https://redd.it/1lhjdip
@r_php
YouTube
Progressive JSON
Can you stream JSON progressively? What happens if you do?
This video is complementary to my Overreacted post on the same topic.
This video is complementary to my Overreacted post on the same topic.
What is your favorite obscure PHP function or feature?
https://www.youtube.com/watch?v=S1ZdLAhFvjQ
https://redd.it/1lhnx40
@r_php
https://www.youtube.com/watch?v=S1ZdLAhFvjQ
https://redd.it/1lhnx40
@r_php
YouTube
What is your favorite obscure PHP function?
At PHPVerse, we asked people to share their favorite obscure PHP function or feature.
* https://laravel-news.com/celebrate-30-years-of-php-at-phpverse
* https://www.youtube.com/watch?v=3b0ty1iZ8QM
Chapters:
00:03 T_PAAMAYIM_NEKUDOTAYIM
00:22 Variable Variables…
* https://laravel-news.com/celebrate-30-years-of-php-at-phpverse
* https://www.youtube.com/watch?v=3b0ty1iZ8QM
Chapters:
00:03 T_PAAMAYIM_NEKUDOTAYIM
00:22 Variable Variables…
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/1lhssan
@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/1lhssan
@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.
Samarium v0.9.6 - Improvements and fixes (Delete implemented, models in standard directory, consistent directory structure, UI updates)
Hello All,
Made some improvements to my project in past months. Sharing the update here.
It is a business management tool, made using Laravel and Livewire.
https://github.com/oitcode/samarium
|Area|Improvements|
|:-|:-|
|Delete|Delete functionality added in most of the modules.|
|Models in proper directory|Have moved all the models inside app/Models directory, as is the Laravel standard now. Previously models were in /app directory. Also have grouped models inside related subdirectory. For example product related models are in app/Models/Product directory.|
|Consistent Livewire component directory structure|All livewire components have a consistent directory structure now. |
|Started using service classes.|Have started to use service classes which are in app/Services directory. It is a work in progress, but aim is to move the application/business logic out of models and move them to service classes.|
|UI updates|Made UI changes to make it more user friendly. |
|POS/Billing UI updates|POS/Billing has been made more traditional type UI.|
|Misc updates|Bug fixes.|
https://preview.redd.it/cla3roo1ui8f1.png?width=1846&format=png&auto=webp&s=4a645489c516ff3238dee7429652f3fdcab54de6
It is a work in progress, but still sharing the update here.
Feedback, comments and/or contributions are highly appreciated.
Thanks.
https://redd.it/1lhuvqj
@r_php
Hello All,
Made some improvements to my project in past months. Sharing the update here.
It is a business management tool, made using Laravel and Livewire.
https://github.com/oitcode/samarium
|Area|Improvements|
|:-|:-|
|Delete|Delete functionality added in most of the modules.|
|Models in proper directory|Have moved all the models inside app/Models directory, as is the Laravel standard now. Previously models were in /app directory. Also have grouped models inside related subdirectory. For example product related models are in app/Models/Product directory.|
|Consistent Livewire component directory structure|All livewire components have a consistent directory structure now. |
|Started using service classes.|Have started to use service classes which are in app/Services directory. It is a work in progress, but aim is to move the application/business logic out of models and move them to service classes.|
|UI updates|Made UI changes to make it more user friendly. |
|POS/Billing UI updates|POS/Billing has been made more traditional type UI.|
|Misc updates|Bug fixes.|
https://preview.redd.it/cla3roo1ui8f1.png?width=1846&format=png&auto=webp&s=4a645489c516ff3238dee7429652f3fdcab54de6
It is a work in progress, but still sharing the update here.
Feedback, comments and/or contributions are highly appreciated.
Thanks.
https://redd.it/1lhuvqj
@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
MLB Stats API for Laravel
So, I found out the MLB Stats API is free to the public, so I built a wrapper for it for Laravel or PHP projects in general.
Check it out and let me know your thoughts!
https://github.com/zacksmash/mlb-stats
https://redd.it/1li45cs
@r_php
So, I found out the MLB Stats API is free to the public, so I built a wrapper for it for Laravel or PHP projects in general.
Check it out and let me know your thoughts!
https://github.com/zacksmash/mlb-stats
https://redd.it/1li45cs
@r_php
GitHub
GitHub - zacksmash/mlb-stats: MLB Stats API Wrapper for Laravel/PHP
MLB Stats API Wrapper for Laravel/PHP. Contribute to zacksmash/mlb-stats development by creating an account on GitHub.
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/1li6855
@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/1li6855
@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/1li91ha
@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/1li91ha
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
How to Overcome Security Anxiety
Hello everyone,
I'm 20 years old and I've been interested in WordPress development for about 5 years. I've also been learning Rust as a hobby. I've tried many things in the software field so far; I've started different projects, I've tried to learn new technologies. However, I've never been able to complete any project completely. The main reason for this is the security concerns I have.
For example, I want to develop a WordPress plugin or theme with PHP or I want to create an application in an MVC structure. But these thoughts keep coming to my mind: “What if my application gets hacked?”, “What if I did something wrong in terms of security and I have problems because of that?”, “What if I get a penalty because of that?”
These thoughts keep going round and round in my mind, and they create a lot of anxiety. This anxiety seriously affects my motivation to produce software and my commitment to the projects. Therefore, I cannot develop my projects with peace of mind and I leave most of them unfinished.
What would you suggest me to do about this? I would be very grateful if you could share your advice and guidance.
https://redd.it/1licurn
@r_php
Hello everyone,
I'm 20 years old and I've been interested in WordPress development for about 5 years. I've also been learning Rust as a hobby. I've tried many things in the software field so far; I've started different projects, I've tried to learn new technologies. However, I've never been able to complete any project completely. The main reason for this is the security concerns I have.
For example, I want to develop a WordPress plugin or theme with PHP or I want to create an application in an MVC structure. But these thoughts keep coming to my mind: “What if my application gets hacked?”, “What if I did something wrong in terms of security and I have problems because of that?”, “What if I get a penalty because of that?”
These thoughts keep going round and round in my mind, and they create a lot of anxiety. This anxiety seriously affects my motivation to produce software and my commitment to the projects. Therefore, I cannot develop my projects with peace of mind and I leave most of them unfinished.
What would you suggest me to do about this? I would be very grateful if you could share your advice and guidance.
https://redd.it/1licurn
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Feeling stuck as a full-stack web developer, what should I do now..
Hi everyone,
I’m a 2024 CS grad and currently working as Jr. WordPress Full-Stack Engineer at a service based firm, having 1.5 years of experience. My current role includes creating new themes and plugins, managing internal sites and integrating new functionalities into them.
While my current organization is a great place to work certified, still I face lack of support and guidance from my manager on critical situations. I talked to them on this but it never helps.
My manager starts to shout at me whenever any issue occurs without bothering to know the root cause of the issue.
Due to this I started fearing my manager for asking any kind of guidance on how we can handle the critical situation efficiently or any other work related issues. He is neither friendly nor supportive.
Now I just want to leave this firm due to the toxicity and want to switch my role to work as a React developer. But due to my current role i.e., Jr. WordPress Engineer I'm not able to get shortlisted in any kind of React dev positions.
Now I’m anxious, stuck, and worried, what should I do now to change my role and my current firm. I have worked in WordPress Theme & Plugin development, PHP, React.js, Next.js, Firebase, MySQL, Git, Github, TailwindCSS and Material UI.
I'm able to integrate any kind of functionalities into the web application while managing the best practices, coding standards and best security practices (OWASP Top 10) and others.
I'm also having experience in improving the Core Web Vitals i.e., FCP, LCP, CLS, and reducing TBT.
I am open for SDE positions and can even switch technologies in very short span of time.
Please help me any advice and suggestions would be helpful for me.
https://redd.it/1lidaun
@r_php
Hi everyone,
I’m a 2024 CS grad and currently working as Jr. WordPress Full-Stack Engineer at a service based firm, having 1.5 years of experience. My current role includes creating new themes and plugins, managing internal sites and integrating new functionalities into them.
While my current organization is a great place to work certified, still I face lack of support and guidance from my manager on critical situations. I talked to them on this but it never helps.
My manager starts to shout at me whenever any issue occurs without bothering to know the root cause of the issue.
Due to this I started fearing my manager for asking any kind of guidance on how we can handle the critical situation efficiently or any other work related issues. He is neither friendly nor supportive.
Now I just want to leave this firm due to the toxicity and want to switch my role to work as a React developer. But due to my current role i.e., Jr. WordPress Engineer I'm not able to get shortlisted in any kind of React dev positions.
Now I’m anxious, stuck, and worried, what should I do now to change my role and my current firm. I have worked in WordPress Theme & Plugin development, PHP, React.js, Next.js, Firebase, MySQL, Git, Github, TailwindCSS and Material UI.
I'm able to integrate any kind of functionalities into the web application while managing the best practices, coding standards and best security practices (OWASP Top 10) and others.
I'm also having experience in improving the Core Web Vitals i.e., FCP, LCP, CLS, and reducing TBT.
I am open for SDE positions and can even switch technologies in very short span of time.
Please help me any advice and suggestions would be helpful for me.
https://redd.it/1lidaun
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
My app got DDoSed while I was on a holiday, here are my tips that help you prevent this!
https://youtu.be/XU_GrX6Ahro
https://redd.it/1ligw8f
@r_php
https://youtu.be/XU_GrX6Ahro
https://redd.it/1ligw8f
@r_php
YouTube
DDoSed while on a holiday - Learn to configure CloudFlare correctly (and don't repeat my mistake 😬)
Recently my multi-tenant food ordering app got hit with a massive DDoS attack in which one of our merchants was specifically targeted. And even though we had Cloudflare protection in place, some of that traffic still made it through to our origin server and…
Discover Junie for PhpStorm: A Game-Changing AI Coding Agent for PHP Development
https://blog.jetbrains.com/phpstorm/2025/06/discover-junie-for-phpstorm/
https://redd.it/1lieru3
@r_php
https://blog.jetbrains.com/phpstorm/2025/06/discover-junie-for-phpstorm/
https://redd.it/1lieru3
@r_php
What's the learning curve for Sylius
I've been developing with Magento 2 for over 4 yrs, now I'm looking to add a new framework under my belt ideally for free lance work.
I'm curious to know what the learning curve would be? I would assume it wouldn't take long to pick it up, but I'm guessing symfony structure is different from Magento
https://redd.it/1liq9r4
@r_php
I've been developing with Magento 2 for over 4 yrs, now I'm looking to add a new framework under my belt ideally for free lance work.
I'm curious to know what the learning curve would be? I would assume it wouldn't take long to pick it up, but I'm guessing symfony structure is different from Magento
https://redd.it/1liq9r4
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Rant Laravel dev environments
This has been said before, so feel free to ignore this rant.
- But coming from Homestead (that has been dropped − despite covering a very valid use case of full isolation via VM)
- to be directed via the official doc to Sail, to discover than Sail is an unpolished product − no HTTPS (required for notifications), no multithreading
- to end with Herd, to find out Herd has no Linux version
is disappointing, and I feel like I lost some time. Do you use better Laravel Docker images from trustable unofficial sources ? All I can see in Docker official registry is bitnami/laravel, didnt try it yet.
Looks like I go to https://github.com/svpernova09/homestead
https://redd.it/1liqq5x
@r_php
This has been said before, so feel free to ignore this rant.
- But coming from Homestead (that has been dropped − despite covering a very valid use case of full isolation via VM)
- to be directed via the official doc to Sail, to discover than Sail is an unpolished product − no HTTPS (required for notifications), no multithreading
- to end with Herd, to find out Herd has no Linux version
is disappointing, and I feel like I lost some time. Do you use better Laravel Docker images from trustable unofficial sources ? All I can see in Docker official registry is bitnami/laravel, didnt try it yet.
Looks like I go to https://github.com/svpernova09/homestead
https://redd.it/1liqq5x
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
New in PHP Intl 8.5: IntlListFormatter – display arrays as locale-aware lists
https://ungureanu.blog/2025/06/24/new-in-php-intl-8-5-intllistformatter-display-arrays-as-locale-aware-lists/
https://redd.it/1lity76
@r_php
https://ungureanu.blog/2025/06/24/new-in-php-intl-8-5-intllistformatter-display-arrays-as-locale-aware-lists/
https://redd.it/1lity76
@r_php
Bogdan Ungureanu
New in PHP Intl 8.5: IntlListFormatter – display arrays as locale-aware lists
PHP Intl now contains a new class that allows us to display arrays as locale-aware string lists – IntlListFormatter. The purpose of it is relatively simple since it’s just a wrapper for…
Laravel PayPal Payment Gateway Integration
https://youtu.be/jjp5etEGTyM?si=ZXpgE9T9LS-caL67
https://redd.it/1lj11wl
@r_php
https://youtu.be/jjp5etEGTyM?si=ZXpgE9T9LS-caL67
https://redd.it/1lj11wl
@r_php
YouTube
Laravel PayPal Payment Gateway Integration 💳
Learn how to integrate PayPal in Laravel effortlessly! 💡
This step-by-step tutorial shows you how to set up a secure and smooth PayPal payment gateway using Laravel.
🛠️ What You’ll Learn:
✅ PayPal API setup
✅ Server-side integration
✅ Success & cancel handling…
This step-by-step tutorial shows you how to set up a secure and smooth PayPal payment gateway using Laravel.
🛠️ What You’ll Learn:
✅ PayPal API setup
✅ Server-side integration
✅ Success & cancel handling…
Laravel 12 Documentation over Laravel Passort is referencing Passport 13
Laravel 12 Documentation about passport (https://laravel.com/docs/12.x/passport) is referencing passport 13.
Is it an idea to mention the version of the package at the top of the documentation page? Or link to a passport documentation page instead of trying to fit everything on the laravel 12 documentation.
https://redd.it/1lj4x5o
@r_php
Laravel 12 Documentation about passport (https://laravel.com/docs/12.x/passport) is referencing passport 13.
Is it an idea to mention the version of the package at the top of the documentation page? Or link to a passport documentation page instead of trying to fit everything on the laravel 12 documentation.
https://redd.it/1lj4x5o
@r_php
Laravel
Laravel Passport - 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.