Is Symfony only encouraged to learn if you're building enterprise web apps with medium-large teams or is it also ideal for the average freelancer or tiny agencies?
Trying to figure out what stack me and my developer buddy should get into in PHP Land. I'm a bit worried about picking Laravel because it might be too opinionated to learn development more properly. So I've been leaning more towards Symfony since everyone pretty much loves it. Thoughts?
https://redd.it/1kugy6a
@r_php
Trying to figure out what stack me and my developer buddy should get into in PHP Land. I'm a bit worried about picking Laravel because it might be too opinionated to learn development more properly. So I've been leaning more towards Symfony since everyone pretty much loves it. Thoughts?
https://redd.it/1kugy6a
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Idk who needs this but i made an app for rendering and sharing twig templstes easily
The company i am working on uses twig templates for mails with a pretty shitty in house application. With no dev friendly ui.
So i decided to create a twig html renderer for designing content easily.
If this might help anyone here's the link - https://twig-html-editor.vercel.app/
https://redd.it/1kun6sj
@r_php
The company i am working on uses twig templates for mails with a pretty shitty in house application. With no dev friendly ui.
So i decided to create a twig html renderer for designing content easily.
If this might help anyone here's the link - https://twig-html-editor.vercel.app/
https://redd.it/1kun6sj
@r_php
A Week of Symfony #960 (May 19–25, 2025)
https://symfony.com/blog/a-week-of-symfony-960-may-19-25-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kuy4jw
@r_php
https://symfony.com/blog/a-week-of-symfony-960-may-19-25-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kuy4jw
@r_php
Symfony
A Week of Symfony #960 (May 19–25, 2025) (Symfony Blog)
This week, development activity focused on putting the final touches on Symfony 7.3 in preparation for its stable release next week. In addition, we published a security fix for a potential vulnerabil…
Good tutorials for fullstack applications or using php as a backend
I was wondering does anyone have a good tutorial to recommend that creates a php fullstack or backend application.
https://redd.it/1kuysxh
@r_php
I was wondering does anyone have a good tutorial to recommend that creates a php fullstack or backend application.
https://redd.it/1kuysxh
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Is it finally time to move from XAMPP to Docker for PHP dev? I wrote up my experience.
I started learning PHP with XAMPP over 10 years ago and funny enough, during a recent semester in my Computer Science studies, we were still using XAMPP to build backend projects.
That got me thinking: is XAMPP still the right tool in 2025? So I decided to compare it with Docker, and documented the whole process in a blog post.
The article walks through:
Why XAMPP feels outdated for modern workflows
How Docker solves environment consistency and scalability
Step-by-step setups for PHP with MariaDB & phpMyAdmin
A more advanced example using MongoDB with dev/prod Docker builds
I kept it practical and included code examples you can run locally.
📝 Here’s the post:
https://simonontech.hashnode.dev/from-xampp-to-docker-a-better-way-to-develop-php-applications
Would love to hear your thoughts - especially if you're still using XAMPP or just switching to Docker now.
https://redd.it/1kv24oq
@r_php
I started learning PHP with XAMPP over 10 years ago and funny enough, during a recent semester in my Computer Science studies, we were still using XAMPP to build backend projects.
That got me thinking: is XAMPP still the right tool in 2025? So I decided to compare it with Docker, and documented the whole process in a blog post.
The article walks through:
Why XAMPP feels outdated for modern workflows
How Docker solves environment consistency and scalability
Step-by-step setups for PHP with MariaDB & phpMyAdmin
A more advanced example using MongoDB with dev/prod Docker builds
I kept it practical and included code examples you can run locally.
📝 Here’s the post:
https://simonontech.hashnode.dev/from-xampp-to-docker-a-better-way-to-develop-php-applications
Would love to hear your thoughts - especially if you're still using XAMPP or just switching to Docker now.
https://redd.it/1kv24oq
@r_php
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/1kv7dl4
@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/1kv7dl4
@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.
Looking for a symfony 7/doctrine many to many tutorial
I'm looking for a symfony 7/doctrine many to many relationship tutorial. I'm VERY new to symfony and doctrine (I've used laravel) so I'd love some hand-holding. Everything I've found is old or not detailed.
I really appreciate it!
https://redd.it/1kv7pvz
@r_php
I'm looking for a symfony 7/doctrine many to many relationship tutorial. I'm VERY new to symfony and doctrine (I've used laravel) so I'd love some hand-holding. Everything I've found is old or not detailed.
I really appreciate it!
https://redd.it/1kv7pvz
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Splitting Horizon Processes across multiple servers?
Hi folks!
I have a small web app that runs on a tiny Hetzner server and having just checked the CPU, it was pinned at 100% and with a lot of jobs left in the queue, that's a problem. (4 processes currently)
I want to take this as an opportunity to learn about splitting up Horizon so that it can effectively spread the jobs across multiple servers at once.
I'm using Ploi, and there's a server option called "Worker server" but I'm a little bit confused about why it requires a second instance of my application to run. I understand the worker server needs access to the first server's Redis.
My jobs are IO bound and they make HTTP requests. I was tempted to upgrade the server's resources but I know I'd eventually run into rate limiting if all the jobs are being processed on one machine.
This is a concept I've always found interesting, but I've always struggled to wrap my head around how to configure something like this. I imagine it's mostly straightforward once you've done it once.
https://redd.it/1kvavoc
@r_php
Hi folks!
I have a small web app that runs on a tiny Hetzner server and having just checked the CPU, it was pinned at 100% and with a lot of jobs left in the queue, that's a problem. (4 processes currently)
I want to take this as an opportunity to learn about splitting up Horizon so that it can effectively spread the jobs across multiple servers at once.
I'm using Ploi, and there's a server option called "Worker server" but I'm a little bit confused about why it requires a second instance of my application to run. I understand the worker server needs access to the first server's Redis.
My jobs are IO bound and they make HTTP requests. I was tempted to upgrade the server's resources but I know I'd eventually run into rate limiting if all the jobs are being processed on one machine.
This is a concept I've always found interesting, but I've always struggled to wrap my head around how to configure something like this. I imagine it's mostly straightforward once you've done it once.
https://redd.it/1kvavoc
@r_php
Ploi
Worker server
The worker server is meant for running PHP background tasks, such as queues.
Multiple Horizon Instances?
Does anyone have experience running multiple Horizon servers? I'm curious what complexities and/or limitations you run into.
Just to be clear, I'm not talking about separating web and queue servers, this is a step beyond that.
I'm curious about intentionally single-threaded queues, cross-instance job locking, and generalized scalability of multiple horizon instances.
What have your guys' experience been?
https://redd.it/1kvgzte
@r_php
Does anyone have experience running multiple Horizon servers? I'm curious what complexities and/or limitations you run into.
Just to be clear, I'm not talking about separating web and queue servers, this is a step beyond that.
I'm curious about intentionally single-threaded queues, cross-instance job locking, and generalized scalability of multiple horizon instances.
What have your guys' experience been?
https://redd.it/1kvgzte
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel 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/1kvk9zp
@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/1kvk9zp
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
🔥 Laravel 12 + React JS Spatie Roles & Permissions with Starter Kit
https://youtu.be/jpXVyahwjDA?si=ug1ZbeTyM1gN7KhQ
https://redd.it/1kvn8o1
@r_php
https://youtu.be/jpXVyahwjDA?si=ug1ZbeTyM1gN7KhQ
https://redd.it/1kvn8o1
@r_php
YouTube
🔥 Laravel 12 + React JS + Spatie Roles & Permissions with Starter Kit
Learn how to implement a Spatie Roles and Permissions system using Laravel, Inertia.js, and React in this step-by-step tutorial! 💻
Perfect for building admin panels, multi-user dashboards, and secure access control in modern web apps.
👉Chapters:
0:00 Introduction…
Perfect for building admin panels, multi-user dashboards, and secure access control in modern web apps.
👉Chapters:
0:00 Introduction…
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/1kvn2q8
@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/1kvn2q8
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
New in Symfony 7.3: Serializer Improvements
https://symfony.com/blog/new-in-symfony-7-3-serializer-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kvowi4
@r_php
https://symfony.com/blog/new-in-symfony-7-3-serializer-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kvowi4
@r_php
Symfony
New in Symfony 7.3: Serializer Improvements (Symfony Blog)
Symfony 7.3 improves the Serializer component with new features like number normalization, discriminator defaults, and better debug output.
Stream-Interop Standard Now Stable
https://paul-m-jones.com/post/2025/05/26/stream-interop-standard-now-stable/
https://redd.it/1kvun7w
@r_php
https://paul-m-jones.com/post/2025/05/26/stream-interop-standard-now-stable/
https://redd.it/1kvun7w
@r_php
Optimized PHP Images for Laravel
# 🚀 Optimized PHP Images for Laravel! 🐳
Hey Laravel devs! I’ve built PHP-Optimized Docker Images for Laravel 10-12, hosted on GHCR (ghcr.io/redfieldchristabel/laravel). 🐘 These images are fine-tuned for performance, security (non-root laravel user), and follow Docker best practices (one process per container, stdout logs). Includes pre-installed PHP extensions and a scaffolding noscript for easy setup! 😄
laravel container registry
https://redd.it/1kvy6me
@r_php
# 🚀 Optimized PHP Images for Laravel! 🐳
Hey Laravel devs! I’ve built PHP-Optimized Docker Images for Laravel 10-12, hosted on GHCR (ghcr.io/redfieldchristabel/laravel). 🐘 These images are fine-tuned for performance, security (non-root laravel user), and follow Docker best practices (one process per container, stdout logs). Includes pre-installed PHP extensions and a scaffolding noscript for easy setup! 😄
laravel container registry
https://redd.it/1kvy6me
@r_php
GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
Send a WhatsApp Message with Just a 3 Lines of PHP
**Send WhatsApp Messages with Just 3 Lines of PHP (No Twilio, No Complexity)**
If you're a PHP dev and want to send WhatsApp messages effortlessly, this is probably the cleanest way to do it.
All it takes is 3 lines (once Guzzle is installed):
phpCopyEdit$client = new \GuzzleHttp\Client();
$response = $client->post('https://www.wasenderapi.com/api/send-message', [
'headers' => ['Authorization' => 'Bearer YOUR_API_KEY', 'Content-Type' => 'application/json'],
'json' => ['to' => '+1234567890', 'text' => 'Hello, here is your update.']
]);
echo $response->getBody();
* No SDKs
* No bloated libraries
* Just drop it into any Laravel, Symfony, or plain PHP project
https://redd.it/1kw175a
@r_php
**Send WhatsApp Messages with Just 3 Lines of PHP (No Twilio, No Complexity)**
If you're a PHP dev and want to send WhatsApp messages effortlessly, this is probably the cleanest way to do it.
All it takes is 3 lines (once Guzzle is installed):
phpCopyEdit$client = new \GuzzleHttp\Client();
$response = $client->post('https://www.wasenderapi.com/api/send-message', [
'headers' => ['Authorization' => 'Bearer YOUR_API_KEY', 'Content-Type' => 'application/json'],
'json' => ['to' => '+1234567890', 'text' => 'Hello, here is your update.']
]);
echo $response->getBody();
* No SDKs
* No bloated libraries
* Just drop it into any Laravel, Symfony, or plain PHP project
https://redd.it/1kw175a
@r_php
Symfony/Doctrine Randomly Deleting Data
I'm very new to symfony/doctrine so I'm probably doing something stupid. Sometimes (seemingly at random) data just disappears from my mysql database. Does anyone have any idea what might be happening?
Maybe I'm using the entity manager interface incorrectly? Most of the time everything works fine.
https://redd.it/1kw2ytg
@r_php
I'm very new to symfony/doctrine so I'm probably doing something stupid. Sometimes (seemingly at random) data just disappears from my mysql database. Does anyone have any idea what might be happening?
Maybe I'm using the entity manager interface incorrectly? Most of the time everything works fine.
https://redd.it/1kw2ytg
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Optimizing MySQL queries in Symfony apps
Hi Symfony developers,
Vlad Mihalcea shared some interesting findings after running the Spring PetClinic app under load and analyzing query performance.
The tool he used flagged high-latency queries, suggested index changes, helped reduce resource usage and improve query performance.
Link if you want to skim: https://vladmihalcea.com/mysql-query-optimization-releem/
Just curious - anyone here use tools for automatic identification and optimization of inefficient SQL queries in your workflow?
https://redd.it/1kw4wwb
@r_php
Hi Symfony developers,
Vlad Mihalcea shared some interesting findings after running the Spring PetClinic app under load and analyzing query performance.
The tool he used flagged high-latency queries, suggested index changes, helped reduce resource usage and improve query performance.
Link if you want to skim: https://vladmihalcea.com/mysql-query-optimization-releem/
Just curious - anyone here use tools for automatic identification and optimization of inefficient SQL queries in your workflow?
https://redd.it/1kw4wwb
@r_php
Vlad Mihalcea
MySQL Query Optimization with Releem - Vlad Mihalcea
If you are using MySQL and want to benefit from automatic query optimization, then Releem can help you achieve this goal.