How much do we really need many tools we use ?
Hello,
I'm PHP developer since 2009. I worked on websites and pure backend. Always with heavy traffic and volumetry of data to manage.
Here a list of framework/tools/library I used:
- Symfony framework with some component (Cache, Serializer, HttpClient, Messenger)
- API Plateform
- Doctrine ORM
- React Admin
All of them seems great but... Do I/we really need them ? Are we using them because we need them or because:
- they were here before us in our current job ?
- we don't know how to do without them ?
- some people in events said it was great so it should be true ?
- we didn't master the basics so we try to dodge our weakness ?
At my job, we removed Api Plateform. Because it is not so difficult and it does not take so much time to implement our endpoints with Symfony 7. Less configuration to maintains, less magic code executed, less bugs from space, less time lost.
We also replaced Doctrine ORM by Doctrine DBAL. We write directly our request in SQL. More convenient to read, debug, check performance issue (EXPLAIN, EXPLAIN ANALYSE with pgsql). Entities are hydrated manually. Yes it take a little time to write the code which hydrate ann entity from a PHP array, but less configuration, less magic bugs, less over generic code managing all possible cases we don't have. We directly know what exactly is happening, better performance.
Do you really feel something similar ?
https://redd.it/1lm4tai
@r_php
Hello,
I'm PHP developer since 2009. I worked on websites and pure backend. Always with heavy traffic and volumetry of data to manage.
Here a list of framework/tools/library I used:
- Symfony framework with some component (Cache, Serializer, HttpClient, Messenger)
- API Plateform
- Doctrine ORM
- React Admin
All of them seems great but... Do I/we really need them ? Are we using them because we need them or because:
- they were here before us in our current job ?
- we don't know how to do without them ?
- some people in events said it was great so it should be true ?
- we didn't master the basics so we try to dodge our weakness ?
At my job, we removed Api Plateform. Because it is not so difficult and it does not take so much time to implement our endpoints with Symfony 7. Less configuration to maintains, less magic code executed, less bugs from space, less time lost.
We also replaced Doctrine ORM by Doctrine DBAL. We write directly our request in SQL. More convenient to read, debug, check performance issue (EXPLAIN, EXPLAIN ANALYSE with pgsql). Entities are hydrated manually. Yes it take a little time to write the code which hydrate ann entity from a PHP array, but less configuration, less magic bugs, less over generic code managing all possible cases we don't have. We directly know what exactly is happening, better performance.
Do you really feel something similar ?
https://redd.it/1lm4tai
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
I wanted to share a project I've been working on
I created it to solve a common problem: processing large datasets (gigs of CSV, JSON, etc.) in a language like PHP without the noscript crashing due to memory exhaustion. The solution was to build the entire processing pipeline around PHP's Generators, which allows data to be handled one record at a time in a streaming fashion.
I was heavily inspired by the fluent and expressive syntax of libraries like .NET's LINQ and Laravel's Collections, so I focused on making the API as clean and readable as possible.
I any of you are interested here is the link to the repo:
https://github.com/zepzeper/torol
https://redd.it/1lmkdpl
@r_php
I created it to solve a common problem: processing large datasets (gigs of CSV, JSON, etc.) in a language like PHP without the noscript crashing due to memory exhaustion. The solution was to build the entire processing pipeline around PHP's Generators, which allows data to be handled one record at a time in a streaming fashion.
I was heavily inspired by the fluent and expressive syntax of libraries like .NET's LINQ and Laravel's Collections, so I focused on making the API as clean and readable as possible.
I any of you are interested here is the link to the repo:
https://github.com/zepzeper/torol
https://redd.it/1lmkdpl
@r_php
GitHub
GitHub - zepzeper/torol
Contribute to zepzeper/torol development by creating an account on GitHub.
I build a Flexible Business Application System in Symfony
I just want to bring your attention to one of my work👇
PrestoFox is a Flexible Business Application System that has collection of components that is need for build an application of any complexity.
It has built its multi-tenant architecture. Using PrestoFox one can build any kind of app like PWA, Web App, iOS app, Android app, desktop app, or browser plugin using a single code base.
It has components like custom fields, workflows, authentication, multi-tenancy, configuration system, reports, dashboard, permission system , import and export , attachment, data audit logs, pick list management, data grids and filters, search, GraphQL API, security, API call rate limiting , notifications, queue System, job scheduling, background job logging, data fixtures, data populators, translations, component health check end points, data validations etc.
This components work together in PrestoFox to make the strong foundation for the application that gets built on top of it. All these components make use of MIT Licensed Open Source solutions like Symfony , Vue JS , PostgreSQL etc
I have already built 5+ SaaS Products and 3+ internal business applications using it.
I am happy to answer any questions.
https://redd.it/1lmnf58
@r_php
I just want to bring your attention to one of my work👇
PrestoFox is a Flexible Business Application System that has collection of components that is need for build an application of any complexity.
It has built its multi-tenant architecture. Using PrestoFox one can build any kind of app like PWA, Web App, iOS app, Android app, desktop app, or browser plugin using a single code base.
It has components like custom fields, workflows, authentication, multi-tenancy, configuration system, reports, dashboard, permission system , import and export , attachment, data audit logs, pick list management, data grids and filters, search, GraphQL API, security, API call rate limiting , notifications, queue System, job scheduling, background job logging, data fixtures, data populators, translations, component health check end points, data validations etc.
This components work together in PrestoFox to make the strong foundation for the application that gets built on top of it. All these components make use of MIT Licensed Open Source solutions like Symfony , Vue JS , PostgreSQL etc
I have already built 5+ SaaS Products and 3+ internal business applications using it.
I am happy to answer any questions.
https://redd.it/1lmnf58
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
What should I expect in a 2-hour Symfony Backend Engineer technical interview?
Hey folks,
I have a 2-hour technical interview coming up with a CTO for a Symfony Backend Engineer position. It's a senior-level role, and I’d love to hear from anyone who's had similar long-format interviews.
What should I expect during these 2 hours?
Do they usually focus on deep architectural questions?
Is live coding involved?
How much of it is about Symfony core (like services, events, voters, Messenger)?
Do they dive into Doctrine internals or real project debugging?
Also:
How can I best prepare to make the most of the time?
Any questions I should ask them at the end?
Appreciate any tips, experiences, or resources 🙌
https://redd.it/1lmxgmr
@r_php
Hey folks,
I have a 2-hour technical interview coming up with a CTO for a Symfony Backend Engineer position. It's a senior-level role, and I’d love to hear from anyone who's had similar long-format interviews.
What should I expect during these 2 hours?
Do they usually focus on deep architectural questions?
Is live coding involved?
How much of it is about Symfony core (like services, events, voters, Messenger)?
Do they dive into Doctrine internals or real project debugging?
Also:
How can I best prepare to make the most of the time?
Any questions I should ask them at the end?
Appreciate any tips, experiences, or resources 🙌
https://redd.it/1lmxgmr
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
I offer intro to Computer Programming Class. This is my Syllabus
Just wanted to share my syllabus for the class (you can even call it a bootcamp, that’s fine)
As an educator, or a student or a developer…what do you think? Do you think it’s solid? Any improvements? Should I add or omit anything.
Thanks in advance
Here it is: https://www.figma.com/proto/OpYXeDpozG4CPae139TEna?node-id=1-2&locale=en
https://redd.it/1ln5x0p
@r_php
Just wanted to share my syllabus for the class (you can even call it a bootcamp, that’s fine)
As an educator, or a student or a developer…what do you think? Do you think it’s solid? Any improvements? Should I add or omit anything.
Thanks in advance
Here it is: https://www.figma.com/proto/OpYXeDpozG4CPae139TEna?node-id=1-2&locale=en
https://redd.it/1ln5x0p
@r_php
Figma
Unnoscriptd
Created with Figma
A Week of Symfony #965 (June 23–29, 2025)
https://symfony.com/blog/a-week-of-symfony-965-june-23-29-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1ln99i9
@r_php
https://symfony.com/blog/a-week-of-symfony-965-june-23-29-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1ln99i9
@r_php
Symfony
A Week of Symfony #965 (June 23–29, 2025) (Symfony Blog)
This week, Symfony 6.4.23, 7.2.8 and 7.3.1 maintenance versions were released. Meanwhile, the upcoming Symfony 7.4 version continued adding new features such as better controller helpers, more precisi…
Symfony AI Context Bundle (beta)
🚀 **\[Beta Release\] Symfony AI Context Bundle** 🤖
I'm excited to announce the first **beta** of the [Symfony AI Context Bundle](https://github.com/ai-context-lab/symfony-ai-context-bundle) — a developer tool that automatically generates a structured, AI-ready JSON file from your Symfony application.
# 🧠 What's it for?
This bundle extracts key information from your project:
* ✅ Entities (fields, associations)
* ✅ Services (methods & types)
* ✅ Controllers and routes
* ✅ Repositories
* ✅ Events
* ✅ Forms
The goal is to **feed this context file into ChatGPT or any LLM**, to get accurate and contextualized answers about your project.
# 🔧 Example usage with ChatGPT
Once you've generated the `ai-context.json`, paste it into ChatGPT (or use a custom GPT) and try prompts like:
`Give me an overview of this Symfony project.`
`Can you explain what the RandomNameService does?`
`List all the form types used and their data classes.`
`How does App\Controller\RandomController::new() work?`
`Generate a README for this app.`
It makes working with large Symfony codebases much more intuitive and AI-assisted.
# 🚀 Quickstart
composer require ai-context/symfony-ai-context-bundle --dev
php bin/console ai-context:generate
This command generates a single JSON file containing all the structural data of your app — perfect for AI tools or static analysis.
# ⚠️ Beta notice
This is a **beta release**, and I’m actively looking for feedback 🙏
If you try it, please let me know:
* Is it useful for your use case?
* What extractors are missing?
* Would you want more advanced prompts or integrations?
🔗 GitHub: [https://github.com/ai-context-lab/symfony-ai-context-bundle](https://github.com/ai-context-lab/symfony-ai-context-bundle)
🐘 Packagist: [https://packagist.org/packages/ai-context/symfony-ai-context-bundle](https://packagist.org/packages/ai-context/symfony-ai-context-bundle)
Thanks for trying it out!
https://redd.it/1lnafmt
@r_php
🚀 **\[Beta Release\] Symfony AI Context Bundle** 🤖
I'm excited to announce the first **beta** of the [Symfony AI Context Bundle](https://github.com/ai-context-lab/symfony-ai-context-bundle) — a developer tool that automatically generates a structured, AI-ready JSON file from your Symfony application.
# 🧠 What's it for?
This bundle extracts key information from your project:
* ✅ Entities (fields, associations)
* ✅ Services (methods & types)
* ✅ Controllers and routes
* ✅ Repositories
* ✅ Events
* ✅ Forms
The goal is to **feed this context file into ChatGPT or any LLM**, to get accurate and contextualized answers about your project.
# 🔧 Example usage with ChatGPT
Once you've generated the `ai-context.json`, paste it into ChatGPT (or use a custom GPT) and try prompts like:
`Give me an overview of this Symfony project.`
`Can you explain what the RandomNameService does?`
`List all the form types used and their data classes.`
`How does App\Controller\RandomController::new() work?`
`Generate a README for this app.`
It makes working with large Symfony codebases much more intuitive and AI-assisted.
# 🚀 Quickstart
composer require ai-context/symfony-ai-context-bundle --dev
php bin/console ai-context:generate
This command generates a single JSON file containing all the structural data of your app — perfect for AI tools or static analysis.
# ⚠️ Beta notice
This is a **beta release**, and I’m actively looking for feedback 🙏
If you try it, please let me know:
* Is it useful for your use case?
* What extractors are missing?
* Would you want more advanced prompts or integrations?
🔗 GitHub: [https://github.com/ai-context-lab/symfony-ai-context-bundle](https://github.com/ai-context-lab/symfony-ai-context-bundle)
🐘 Packagist: [https://packagist.org/packages/ai-context/symfony-ai-context-bundle](https://packagist.org/packages/ai-context/symfony-ai-context-bundle)
Thanks for trying it out!
https://redd.it/1lnafmt
@r_php
GitHub
GitHub - ai-context-lab/symfony-ai-context-bundle: Symfony bundle to generate AI-readable project context (entities, routes, services...)
Symfony bundle to generate AI-readable project context (entities, routes, services...) - ai-context-lab/symfony-ai-context-bundle
Introducing the Request-derived Context Pattern
https://ollieread.com/articles/introducing-the-request-derived-context-pattern
https://redd.it/1lncbdn
@r_php
https://ollieread.com/articles/introducing-the-request-derived-context-pattern
https://redd.it/1lncbdn
@r_php
ollieread - PHP and Laravel expert
Introducing the Request-derived Context Pattern | ollieread - PHP and Laravel expert
This article introduces the Request-derived Context pattern, a formalisation of a common but often unnamed process in web applications: extracting and resolving contextual information from incoming HTTP requests.
Introducing the Request-derived Context Pattern
https://ollieread.com/articles/introducing-the-request-derived-context-pattern
https://redd.it/1lneid1
@r_php
https://ollieread.com/articles/introducing-the-request-derived-context-pattern
https://redd.it/1lneid1
@r_php
ollieread - PHP and Laravel expert
Introducing the Request-derived Context Pattern | ollieread - PHP and Laravel expert
This article introduces the Request-derived Context pattern, a formalisation of a common but often unnamed process in web applications: extracting and resolving contextual information from incoming HTTP requests.
MCP Server for Laravel Codebases – Let your AI agents query your codebase like a database, directly inside Cursor, Windsurf, Claude Code etc...
https://redd.it/1lngh4p
@r_php
https://redd.it/1lngh4p
@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/1lnjnqd
@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/1lnjnqd
@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.
I build my own Json parser using php
I found this cool challenge on John Crickett Coding Challenges, and when I checked the solutions, not a single one was in PHP. PHP is powerful, and it deserves more love in the low-level space too. So I took it personally and decided to solve this challenge in PHP.
🔗 https://github.com/DanielHemmati/json-parser-in-php/
Also, leave a ⭐ if you liked it!
https://redd.it/1lnnkt9
@r_php
I found this cool challenge on John Crickett Coding Challenges, and when I checked the solutions, not a single one was in PHP. PHP is powerful, and it deserves more love in the low-level space too. So I took it personally and decided to solve this challenge in PHP.
🔗 https://github.com/DanielHemmati/json-parser-in-php/
Also, leave a ⭐ if you liked it!
https://redd.it/1lnnkt9
@r_php
codingchallenges.fyi
Build Your Own JSON Parser | Coding Challenges
This challenge is to build your own JSON parser.
My experience with Laravel Cloud after 4 months
Wanted to share my experience with Laravel Cloud after using it for a startup.
For context, I’ve been working with Laravel professionally since 2017. At work, we ran everything using Docker Compose on a single DigitalOcean box for years. Eventually we outgrew that setup and moved to AWS and now everything’s on ECS Fargate and EC2.
When I started a new side project a few months ago, I didn’t want to deal with the overhead of setting up ECS again, so I figured I’d try out Laravel Cloud. At first, I was super impressed. The UX was clean, and spinning up a new environment was dead simple. I was paying under $10/month while developing, and that felt totally reasonable.
But once I launched the app publicly, the costs started to balloon fast. My last invoice included $155 just for bandwidth, and I don’t have anything crazy running (screenshots below if you’re curious). The monthly bill just kept climbing with no real clarity on what exactly was driving the cost.
Honestly, I don’t know who this service is supposed to be for. If you’re a small to mid-sized team, this pricing model just doesn’t work and you’d burn through your budget in no time. And if you’re a bigger company, you probably already have the resources to just manage things directly on AWS.
I’ve since moved everything over to Forge + Hetzner and am running on a $60/month machine. Way more predictable and manageable.
Laravel Cloud has a lot of potential. I’d love to see it become a standard for Laravel hosting, but not unless they seriously revisit their pricing model.
https://preview.redd.it/aqc3jl77ey9f1.png?width=1418&format=png&auto=webp&s=b1262283834fc60b6f35787adec4d27a4074f1e6
https://preview.redd.it/tkkavl77ey9f1.png?width=1078&format=png&auto=webp&s=5be0a808c1e931ab30a1d258db6e4d8a897c19d5
https://preview.redd.it/4g7w8o77ey9f1.png?width=1094&format=png&auto=webp&s=70ab6590695b2fc9cb1c60bb2d8170df48f2ab55
https://redd.it/1lntd26
@r_php
Wanted to share my experience with Laravel Cloud after using it for a startup.
For context, I’ve been working with Laravel professionally since 2017. At work, we ran everything using Docker Compose on a single DigitalOcean box for years. Eventually we outgrew that setup and moved to AWS and now everything’s on ECS Fargate and EC2.
When I started a new side project a few months ago, I didn’t want to deal with the overhead of setting up ECS again, so I figured I’d try out Laravel Cloud. At first, I was super impressed. The UX was clean, and spinning up a new environment was dead simple. I was paying under $10/month while developing, and that felt totally reasonable.
But once I launched the app publicly, the costs started to balloon fast. My last invoice included $155 just for bandwidth, and I don’t have anything crazy running (screenshots below if you’re curious). The monthly bill just kept climbing with no real clarity on what exactly was driving the cost.
Honestly, I don’t know who this service is supposed to be for. If you’re a small to mid-sized team, this pricing model just doesn’t work and you’d burn through your budget in no time. And if you’re a bigger company, you probably already have the resources to just manage things directly on AWS.
I’ve since moved everything over to Forge + Hetzner and am running on a $60/month machine. Way more predictable and manageable.
Laravel Cloud has a lot of potential. I’d love to see it become a standard for Laravel hosting, but not unless they seriously revisit their pricing model.
https://preview.redd.it/aqc3jl77ey9f1.png?width=1418&format=png&auto=webp&s=b1262283834fc60b6f35787adec4d27a4074f1e6
https://preview.redd.it/tkkavl77ey9f1.png?width=1078&format=png&auto=webp&s=5be0a808c1e931ab30a1d258db6e4d8a897c19d5
https://preview.redd.it/4g7w8o77ey9f1.png?width=1094&format=png&auto=webp&s=70ab6590695b2fc9cb1c60bb2d8170df48f2ab55
https://redd.it/1lntd26
@r_php
How to display the most viewed posts in a slider?
Hi there,
I've built a slider on my page using Elementor + Prime Slider. The combination works great, however, the default settings don’t provide an option to sort the posts by views.
I’ve tried several code solutions, but none have worked so far. Does anyone have any suggestions?
My website is https://vejaumbomfilme.com.br/, and I’m referring specifically to the slider under “Mais acessados”.
Thanks in advance!
https://redd.it/1lnsgj7
@r_php
Hi there,
I've built a slider on my page using Elementor + Prime Slider. The combination works great, however, the default settings don’t provide an option to sort the posts by views.
I’ve tried several code solutions, but none have worked so far. Does anyone have any suggestions?
My website is https://vejaumbomfilme.com.br/, and I’m referring specifically to the slider under “Mais acessados”.
Thanks in advance!
https://redd.it/1lnsgj7
@r_php
Veja Um Bom Filme
Home2 - Veja Um Bom Filme
Parasita (2019) Leia Mais Que Horas Ela Volta? (2015) Leia Mais Incêndios Leia Mais Últimas atualizações: Mais acessados: A Pior Pessoa do Mundo (2021) A Vida Invisível (2019) Your Name (2016) Infiltrado na Klan (2018) Parasita (2019) Milk – A Voz da Igualdade…
Gedmo Doctrine Extensions and Doctrine 3
(Im on my phone as I write this, so apologies if I miss details)
So I've been trying to keep our symfony packages up to date, and recently updated to Symfony 7.3.
I didn't notice until recently that we were still running Doctrine 2 (as we had doctrine/common and doctrine/cache in our composer json). I removed these items and was able to do the update and got it all working.
One thing I've noticed is that for entities where we have applied the timestampable attribute and traits (which is basically all of them), I get a deprecation warning with it accessing a method in entity manager that will be removed in a future version.
Also the behat/transliterator is abandoned according to composer.
Has anyone else noticed this with Gedmo? What other timestamp packages are people using??
https://redd.it/1lnxt9y
@r_php
(Im on my phone as I write this, so apologies if I miss details)
So I've been trying to keep our symfony packages up to date, and recently updated to Symfony 7.3.
I didn't notice until recently that we were still running Doctrine 2 (as we had doctrine/common and doctrine/cache in our composer json). I removed these items and was able to do the update and got it all working.
One thing I've noticed is that for entities where we have applied the timestampable attribute and traits (which is basically all of them), I get a deprecation warning with it accessing a method in entity manager that will be removed in a future version.
Also the behat/transliterator is abandoned according to composer.
Has anyone else noticed this with Gedmo? What other timestamp packages are people using??
https://redd.it/1lnxt9y
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony 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/1lnx7wj
@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/1lnx7wj
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community