SymfonyLive Berlin 2025: Running Symfony in a Multi-Process Container
https://symfony.com/blog/symfonylive-berlin-2025-running-symfony-in-a-multi-process-container?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j8squs
@r_php
https://symfony.com/blog/symfonylive-berlin-2025-running-symfony-in-a-multi-process-container?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j8squs
@r_php
Symfony
SymfonyLive Berlin 2025: Running Symfony in a Multi-Process Container (Symfony Blog)
Discover how FrankenPHP and s6-overlay revolutionize PHP deployment in containers with Anne-Julia Seitz
What Framework Should I Marry For The Next 5 Years?
Let me say upfront I don't know any frameworks at all, and I don't plan to ever get a job coding either. This is for me.
Current Contenders:
Code Igniter because benchmarks show good performance and it seems easy to use
Laravel because it's the industry standard and there's tons of tutorials, but it's intimidating me
Symfony because it seems modular enough to be lightweight, but it also seems hard and over complicated.
\-----
I'm building my second SaaS and, unlike last time where I rawdogged PHP into my own framework "accidentally", I want to actually be smart this time and use a real framework.
I want to follow MVC + business logic in services + custom helpers in their own neat little space. The site will have a API backend that sends JSON to be rendered server side for the frontend web app (no frontend framework, minimum JS) and also send the JSON straight to a native mobile app (android now, ios later).
The app (web and mobile) will let users post, see posts in a feed, vote on posts, have nice profiles, all the standard social community stuff. The web app is going to also have tools like landing page creators, a way to send newsletters to people who have followed your profile, and 244 other features I have planned over the next 5 years of ~~insanity~~ love.
If things take off, I will hire other devs and I don't want my backend framework to be so esoteric or uncommon that hiring will be difficult or extra expensive.
https://redd.it/1j8w7lm
@r_php
Let me say upfront I don't know any frameworks at all, and I don't plan to ever get a job coding either. This is for me.
Current Contenders:
Code Igniter because benchmarks show good performance and it seems easy to use
Laravel because it's the industry standard and there's tons of tutorials, but it's intimidating me
Symfony because it seems modular enough to be lightweight, but it also seems hard and over complicated.
\-----
I'm building my second SaaS and, unlike last time where I rawdogged PHP into my own framework "accidentally", I want to actually be smart this time and use a real framework.
I want to follow MVC + business logic in services + custom helpers in their own neat little space. The site will have a API backend that sends JSON to be rendered server side for the frontend web app (no frontend framework, minimum JS) and also send the JSON straight to a native mobile app (android now, ios later).
The app (web and mobile) will let users post, see posts in a feed, vote on posts, have nice profiles, all the standard social community stuff. The web app is going to also have tools like landing page creators, a way to send newsletters to people who have followed your profile, and 244 other features I have planned over the next 5 years of ~~insanity~~ love.
If things take off, I will hire other devs and I don't want my backend framework to be so esoteric or uncommon that hiring will be difficult or extra expensive.
https://redd.it/1j8w7lm
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
What are your go-to strategy when implementing internationalization/translatable entities?
Let's say you need to create a news website with articles that could be translated to multiple languages. What stack of libraries would you choose to implement that? I noticed that there are not many resources about translating entities. I know there is https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/doc/translatable.md that is not supported by EasyAdmin, though (but I think I can think of few ways that it could be used with EasyAdmin regardless). docs also mention https://github.com/KnpLabs/DoctrineBehaviors, but it doesn't seem to be supported anymore. Would you use these existing libraries and abuse EasyAdmin to work with them somehow, would you roll out your own admin solution, or maybe a translation solution? What would be your strategy?
https://redd.it/1j914ix
@r_php
Let's say you need to create a news website with articles that could be translated to multiple languages. What stack of libraries would you choose to implement that? I noticed that there are not many resources about translating entities. I know there is https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/doc/translatable.md that is not supported by EasyAdmin, though (but I think I can think of few ways that it could be used with EasyAdmin regardless). docs also mention https://github.com/KnpLabs/DoctrineBehaviors, but it doesn't seem to be supported anymore. Would you use these existing libraries and abuse EasyAdmin to work with them somehow, would you roll out your own admin solution, or maybe a translation solution? What would be your strategy?
https://redd.it/1j914ix
@r_php
GitHub
DoctrineExtensions/doc/translatable.md at main · doctrine-extensions/DoctrineExtensions
Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable - doctrine-extensions/DoctrineExtensions
Why php doesn't resolve home directory
Hey. I just learned something new.
What's weirder is
Anybody have any idea what's up? Working on some noscripting library and never noticed that before. Seems like a weird behaviour, but cannot find any bug reports / conversations about home path not being resolved. Don't see that also as a security issue really.
https://redd.it/1j94qmu
@r_php
Hey. I just learned something new.
file_get_contents('~/file.txt') = false
file_get_contents('/home/file.txt') = _file.txt contents
What's weirder is
realpath('~/file.txt') = false
`realpath ~/file.txt` = /home/file.txt ( backtick is exec )
Anybody have any idea what's up? Working on some noscripting library and never noticed that before. Seems like a weird behaviour, but cannot find any bug reports / conversations about home path not being resolved. Don't see that also as a security issue really.
https://redd.it/1j94qmu
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
I made a Blade starter kit
I made a Laravel Starter kit for Blade fans, it has everything the new official starter kits have, just built with good ‘ol Blade: https://github.com/imacrayon/blade-starter-kit
https://redd.it/1j99lwo
@r_php
I made a Laravel Starter kit for Blade fans, it has everything the new official starter kits have, just built with good ‘ol Blade: https://github.com/imacrayon/blade-starter-kit
laravel new my-app --using=imacrayon/blade-starter-kit if you're feeling wild.https://redd.it/1j99lwo
@r_php
GitHub
GitHub - imacrayon/blade-starter-kit: The unofficial Laravel starter kit for Blade
The unofficial Laravel starter kit for Blade. Contribute to imacrayon/blade-starter-kit development by creating an account on GitHub.
Help finding companies developing products in PHP
I'm working on a project where I need to compile a list of \~5,000 companies that meet these criteria:
* They operate in the USA, UK, Canada, or Australia
* They actively develop products using PHP
* They are currently in business
My initial approach was scraping LinkedIn, Indeed, and other job boards, assuming that companies hiring PHP engineers likely have active PHP-based products. But scraping is a bit too much effort for my needs.
Does anyone know of a better approach—whether free or paid—to gather this kind of data? Any tools, datasets, or directories that could help?
https://redd.it/1j9fsh9
@r_php
I'm working on a project where I need to compile a list of \~5,000 companies that meet these criteria:
* They operate in the USA, UK, Canada, or Australia
* They actively develop products using PHP
* They are currently in business
My initial approach was scraping LinkedIn, Indeed, and other job boards, assuming that companies hiring PHP engineers likely have active PHP-based products. But scraping is a bit too much effort for my needs.
Does anyone know of a better approach—whether free or paid—to gather this kind of data? Any tools, datasets, or directories that could help?
https://redd.it/1j9fsh9
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
I made a composer package that uses GPT 4o Mini to write documentation for your Laravel app! It's super cheap cost wise, customisable and skips any generated files allowing top-ups after new files are added! Let me know your feedback <3
https://github.com/genericmilk/docudoodle
https://redd.it/1j9jpje
@r_php
https://github.com/genericmilk/docudoodle
https://redd.it/1j9jpje
@r_php
GitHub
GitHub - genericmilk/docudoodle: Easily document your codebase using AI! Perfect for existing legacy applications
Easily document your codebase using AI! Perfect for existing legacy applications - genericmilk/docudoodle
Pleasently suprised with DataGrip - should I try phpstorm again?
I have been a vim user for many years. I program in vim or emacs.
In an effort to find a SQL "ide", and after trying all of them, I was really impressed with DataGrip. In the past, I didn't like full IDEs because it was "so much going on" when compared to my blank vim screen.
But DataGrip has many features to reduce clutter and noice. I like it.
Maybe I should take another crack at phpstorm. Especially cos the vim emulation is very well done.
Any one moved from vim and stayed?
https://redd.it/1j9n7u4
@r_php
I have been a vim user for many years. I program in vim or emacs.
In an effort to find a SQL "ide", and after trying all of them, I was really impressed with DataGrip. In the past, I didn't like full IDEs because it was "so much going on" when compared to my blank vim screen.
But DataGrip has many features to reduce clutter and noice. I like it.
Maybe I should take another crack at phpstorm. Especially cos the vim emulation is very well done.
Any one moved from vim and stayed?
https://redd.it/1j9n7u4
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Exceptions. Exceptions. Exceptions - They can derail your app
Hello Laravel community 🚀
Exceptions can often be misunderstood. I've noticed many instances on our team where try/catch blocks aren't implemented or understood as well as they could be.
This isn’t an all-inclusive guide, but I’ve put together a few examples to h-elp improve how you handle them. For some practical insights, check out this article:
https://james.buzz/blog/how-to-handle-exceptions-in-laravel/
https://redd.it/1j9ockn
@r_php
Hello Laravel community 🚀
Exceptions can often be misunderstood. I've noticed many instances on our team where try/catch blocks aren't implemented or understood as well as they could be.
This isn’t an all-inclusive guide, but I’ve put together a few examples to h-elp improve how you handle them. For some practical insights, check out this article:
https://james.buzz/blog/how-to-handle-exceptions-in-laravel/
https://redd.it/1j9ockn
@r_php
james.buzz
How Failing to Understand Exceptions Can Derail Your Application
Discover how proper exception handling in Laravel can prevent critical failures. Learn to avoid generic catches, use custom exceptions, and implement transactions to keep your application robust...
VueJS - How good is the new starter kit?
I never used a component library to build a frontend in VueJS. My main to go CSS framework is Tailwind + Daisyui (or something related).
However, after seeing code and examples of the provided component library (I also like you actually publish them in your own src), I'm thinking of moving to the provided starter kit instead. It does save me a lot of component creating, and cva looks nice.
Could you tell me how your experience have been or if you did go for something else? I don't want to customize, but I also want something that is kinda useable for the upcoming 2 years.
https://redd.it/1j9ty0q
@r_php
I never used a component library to build a frontend in VueJS. My main to go CSS framework is Tailwind + Daisyui (or something related).
However, after seeing code and examples of the provided component library (I also like you actually publish them in your own src), I'm thinking of moving to the provided starter kit instead. It does save me a lot of component creating, and cva looks nice.
Could you tell me how your experience have been or if you did go for something else? I don't want to customize, but I also want something that is kinda useable for the upcoming 2 years.
https://redd.it/1j9ty0q
@r_php
Enum in php and database
Let say I have enum gender: male , female ,indeterminate and unknown.
In database(postgresql) i use smallint data type.
In symfony, to make coding easier i create enum class Gender as string so that when displaying, i can simply call Gender.male Gender.female etc.
Is there programming technique in symfony that I can use so that when entity is being committed to database, its gender enum can be converted into smallint enum and likewise when entity being read from database, smallint datatype enum being converted into string enum.
https://redd.it/1ja248w
@r_php
Let say I have enum gender: male , female ,indeterminate and unknown.
In database(postgresql) i use smallint data type.
In symfony, to make coding easier i create enum class Gender as string so that when displaying, i can simply call Gender.male Gender.female etc.
Is there programming technique in symfony that I can use so that when entity is being committed to database, its gender enum can be converted into smallint enum and likewise when entity being read from database, smallint datatype enum being converted into string enum.
https://redd.it/1ja248w
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Brothers, I have made this new Portfolio Website for a freelance Penetration Tester, How is this?
https://aaryansaharan.me/
https://redd.it/1ja3bkt
@r_php
https://aaryansaharan.me/
https://redd.it/1ja3bkt
@r_php
GitHub - aldemeery/sieve: A simple, clean and elegant way to filter Eloquent models.
https://github.com/aldemeery/sieve
https://redd.it/1ja2ghq
@r_php
https://github.com/aldemeery/sieve
https://redd.it/1ja2ghq
@r_php
GitHub
GitHub - aldemeery/sieve: A simple, clean and elegant way to filter Eloquent models.
A simple, clean and elegant way to filter Eloquent models. - aldemeery/sieve
Socialite Plus – Laravel 12 Social Login for React & Vue (Google, Facebook, GitHub, LinkedIn)
Hey devs! 👋
I built Socialite Plus because I needed it. As a Laravel developer, I work with clients who almost always require social login for their projects. Setting it up over and over again was tedious, so I built this package to make it faster, easier, and more streamlined—and now I’m sharing it with the community!
It’s designed for Laravel 12 Starterkits (both Vue & React) and supports Google, Facebook, GitHub, and LinkedIn authentication out of the box.
🎥 Watch the Full Video Tutorial: https://www.youtube.com/watch?v=X96PTlPUlaQ
💻 GitHub: https://github.com/deemonic/socialiteplus
# 🔥 Why Use Socialite Plus?
✅ Pre-built login pages – No need to build them from scratch
✅ React & Vue support – Works with both Starterkits
✅ Easy OAuth setup – Just update
✅ Supports Google, Facebook, GitHub, LinkedIn
✅ Fully customizable buttons & styles
✅ Secure & scalable – Built with best practices
✅ Quick installation – Takes minutes, not hours!
Socialite Plus GitHub Provider Active
Socialite Plus All Providers Active
Socialite Plus Dark Mode Enabled
Non Branded Buttons Dark
Non Branded Buttons Light
Would love to hear your thoughts! If you try it out, let me know how it works for you. Open to feedback, feature requests, and contributions! 🚀🔥
👉 Are there any other social login providers you'd like to see added to the package? Let me know in the comments! Would love to expand support based on what the community needs.
https://redd.it/1ja964z
@r_php
Hey devs! 👋
I built Socialite Plus because I needed it. As a Laravel developer, I work with clients who almost always require social login for their projects. Setting it up over and over again was tedious, so I built this package to make it faster, easier, and more streamlined—and now I’m sharing it with the community!
It’s designed for Laravel 12 Starterkits (both Vue & React) and supports Google, Facebook, GitHub, and LinkedIn authentication out of the box.
🎥 Watch the Full Video Tutorial: https://www.youtube.com/watch?v=X96PTlPUlaQ
💻 GitHub: https://github.com/deemonic/socialiteplus
# 🔥 Why Use Socialite Plus?
✅ Pre-built login pages – No need to build them from scratch
✅ React & Vue support – Works with both Starterkits
✅ Easy OAuth setup – Just update
.env and you're good to go ✅ Supports Google, Facebook, GitHub, LinkedIn
✅ Fully customizable buttons & styles
✅ Secure & scalable – Built with best practices
✅ Quick installation – Takes minutes, not hours!
Socialite Plus GitHub Provider Active
Socialite Plus All Providers Active
Socialite Plus Dark Mode Enabled
Non Branded Buttons Dark
Non Branded Buttons Light
Would love to hear your thoughts! If you try it out, let me know how it works for you. Open to feedback, feature requests, and contributions! 🚀🔥
👉 Are there any other social login providers you'd like to see added to the package? Let me know in the comments! Would love to expand support based on what the community needs.
https://redd.it/1ja964z
@r_php
YouTube
🚀 Socialite Plus - Laravel 12 Social Login Made Easy! | Demo & Walkthrough
👋 Hey Devs!
In this video, I walk you through Socialite Plus, a Laravel 12 package that simplifies social authentication for Google, Facebook, GitHub, and LinkedIn. Whether you're using React or Vue, this package provides a seamless integration for OAuth…
In this video, I walk you through Socialite Plus, a Laravel 12 package that simplifies social authentication for Google, Facebook, GitHub, and LinkedIn. Whether you're using React or Vue, this package provides a seamless integration for OAuth…
Symfony vs Laravel - A humble request (Part 2)
https://clegginabox.co.uk/symfony-vs-laravel-a-humble-request-part-2/
https://redd.it/1jaaghi
@r_php
https://clegginabox.co.uk/symfony-vs-laravel-a-humble-request-part-2/
https://redd.it/1jaaghi
@r_php
Clegginabox
Symfony vs Laravel: A humble request (Part 2)
I had planned to talk about documentation and testing with this post but thanks to hindsight and the feedback from r/PHP (which I really appreciate 🙏) I'm going to take a slight detour.
In the previous post I talked about the Request part of the Request…
In the previous post I talked about the Request part of the Request…
In Paris or Berlin - Take the lightning talks challenge!
https://symfony.com/blog/in-paris-or-berlin-take-the-lightning-talks-challenge?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jabdq9
@r_php
https://symfony.com/blog/in-paris-or-berlin-take-the-lightning-talks-challenge?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jabdq9
@r_php
Symfony
In Paris or Berlin - Take the lightning talks challenge! (Symfony Blog)
SymfonyLive Paris & Berlin 2025: Lightning Talks! ⚡ 7 minutes to share your Symfony - PHP related topic! Submit your proposal via email or Slack!
Safari for web dev
Is anyone using Safari for web development with Symfony?
I love the whole browser except for the fact that Symfony error pages are not rendered in the network response tab of Safari like they are in Chrome, Arc etc.
Does anyone know a fix for this?
Thank you!
https://redd.it/1jab32r
@r_php
Is anyone using Safari for web development with Symfony?
I love the whole browser except for the fact that Symfony error pages are not rendered in the network response tab of Safari like they are in Chrome, Arc etc.
Does anyone know a fix for this?
Thank you!
https://redd.it/1jab32r
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community