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/1jihf4b
@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/1jihf4b
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Ecotone Framework - New website and Enterprise version
Hey,
Some of you may already know me, I am author of Ecotone Framework and I am posting PHP related articles about Message-Driven Systems, DDD and Architecture in general.
And today I would like to share two big changes to Ecotone Framework, that I've been working on for over year.
I know that due to volume of features, Ecotone's documentation may require time to fully go over different functionalities and reasoning behind them.
And of course not everyone have time to do so, or simply one could feel that all the tools Ecotone provides he already use therefore there is no point in testing it out.
Therefore to make it clear what Ecotone is about, what it provides, without requiring bigger time investment, Ecotone comes now with new website at: https://ecotone.tech
The aim of new website is to provide as much as possible details to get general feeling, without the need to install or run the framework itself.
New website provides denoscription of features, detailed code examples, and steps on how to get started.
I hope this will be helpful in giving more details on Ecotone in quick and easy way, and will help to make the decision whatever it can help your project.
The other big thing which Ecotone brings to the table, is Enterprise version.
Ecotone Enterprise includes more custom advanced features, additional integrations, and ability to optimizatize the system usage.
The aim of Enterprise is to get more support for Ecotone, in order to build even more tooling around it.
To get more details about some of the core Enterprise features, you take a look on today's article: https://blog.ecotone.tech/ecotone-enterprise-kafka-distributed-bus-dynamic-channels-and-more-2
thank you,
cheers :)
https://redd.it/1jikore
@r_php
Hey,
Some of you may already know me, I am author of Ecotone Framework and I am posting PHP related articles about Message-Driven Systems, DDD and Architecture in general.
And today I would like to share two big changes to Ecotone Framework, that I've been working on for over year.
I know that due to volume of features, Ecotone's documentation may require time to fully go over different functionalities and reasoning behind them.
And of course not everyone have time to do so, or simply one could feel that all the tools Ecotone provides he already use therefore there is no point in testing it out.
Therefore to make it clear what Ecotone is about, what it provides, without requiring bigger time investment, Ecotone comes now with new website at: https://ecotone.tech
The aim of new website is to provide as much as possible details to get general feeling, without the need to install or run the framework itself.
New website provides denoscription of features, detailed code examples, and steps on how to get started.
I hope this will be helpful in giving more details on Ecotone in quick and easy way, and will help to make the decision whatever it can help your project.
The other big thing which Ecotone brings to the table, is Enterprise version.
Ecotone Enterprise includes more custom advanced features, additional integrations, and ability to optimizatize the system usage.
The aim of Enterprise is to get more support for Ecotone, in order to build even more tooling around it.
To get more details about some of the core Enterprise features, you take a look on today's article: https://blog.ecotone.tech/ecotone-enterprise-kafka-distributed-bus-dynamic-channels-and-more-2
thank you,
cheers :)
https://redd.it/1jikore
@r_php
Ecotone Framework - Resilient and scalable PHP Systems
Ecotone Enterprise: Kafka, Distributed Bus, Dynamic Channels and more…
Ecotone provides now Enterprise set of features to enhance PHP applications with Kafka, Cross-Service communication, and Dynamic Channels.
Filament Json Column - Releasing v1.6.1
Hey everyone!
If you've used FilamentPHP, you might have heard about Filament Json Column, as the plugin is now getting closer to a 100K downloads.
I've made a new release, with a whole rewritten code base for better maintainability (Ok, it's not that big but still). I've added the following features:
Validation: If the JSON is invalid, the user can't switch tabs or submit. An error message is displayed on submission. Error message can be customized and supports \`\_\_()\`
Editor mode customization (code, text, tree, etc...)
Please see the updated docs on the link above. Planning to add an Infolist component, and some Alpine automated testing. If you have suggestions, or want to contribute, please don't hesitate to send me a message here or a pull request on GitHub.
Have a great day!
https://redd.it/1jistnh
@r_php
Hey everyone!
If you've used FilamentPHP, you might have heard about Filament Json Column, as the plugin is now getting closer to a 100K downloads.
I've made a new release, with a whole rewritten code base for better maintainability (Ok, it's not that big but still). I've added the following features:
Validation: If the JSON is invalid, the user can't switch tabs or submit. An error message is displayed on submission. Error message can be customized and supports \`\_\_()\`
Editor mode customization (code, text, tree, etc...)
Please see the updated docs on the link above. Planning to add an Infolist component, and some Alpine automated testing. If you have suggestions, or want to contribute, please don't hesitate to send me a message here or a pull request on GitHub.
Have a great day!
https://redd.it/1jistnh
@r_php
GitHub
valentin-morice - Overview
valentin-morice has 3 repositories available. Follow their code on GitHub.
Is it possible to embed a CRUD within another CRUD using EasyAdmin?
I am working on a Symfony 7 project that uses EasyAdmin 4 for the back-office. I have a Formation entity that can have multiple Prices.
In the creation and editing views of Formation, I would like to add a "Prices" tab containing an index and a CRUD EasyAdmin to manage (create and modify) the prices associated with the formation. How can I achieve this?
I have looked for tutorials but haven't found anything similar. I also tried to figure it out on my own, but it didn't lead to any conclusive results.
here is an example of what i'm trying to do
https://redd.it/1jiszoz
@r_php
I am working on a Symfony 7 project that uses EasyAdmin 4 for the back-office. I have a Formation entity that can have multiple Prices.
In the creation and editing views of Formation, I would like to add a "Prices" tab containing an index and a CRUD EasyAdmin to manage (create and modify) the prices associated with the formation. How can I achieve this?
I have looked for tutorials but haven't found anything similar. I also tried to figure it out on my own, but it didn't lead to any conclusive results.
here is an example of what i'm trying to do
https://redd.it/1jiszoz
@r_php
New Core Team Member, Symfony CLI
https://symfony.com/blog/new-core-team-member-symfony-cli?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jiu5vn
@r_php
https://symfony.com/blog/new-core-team-member-symfony-cli?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jiu5vn
@r_php
Symfony
New Core Team Member, Symfony CLI (Symfony Blog)
Tugdual Saunier joins the Symfony core team thanks to his great work on Symfony CLI.
is there in-memory search engine for PHP?
Does php have an in-memory search library?
like https://duckdb.org? or lucene?
I'm aware of elasticsearch and solr and redis search, but was hoping for something simpler.
https://redd.it/1jitw6s
@r_php
Does php have an in-memory search library?
like https://duckdb.org? or lucene?
I'm aware of elasticsearch and solr and redis search, but was hoping for something simpler.
https://redd.it/1jitw6s
@r_php
DuckDB
An in-process SQL OLAP database management system
DuckDB is an in-process SQL OLAP database management system. Simple, feature-rich, fast & open source.
Contract Testing on Examples
https://sarvendev.com/posts/contract-testing-on-examples/
https://redd.it/1jizail
@r_php
https://sarvendev.com/posts/contract-testing-on-examples/
https://redd.it/1jizail
@r_php
Kamil Ruczyński
Contract Testing on Examples
Many companies use a microservices architecture. It has many advantages, but it also has some disadvantages. One of them is that the whole system becomes more complex, and end-to-end (E2E) testing may not be a scalable approach. In the case of a few services…
Develop Faster With FrankenPHP (SymfonyLive talk)
https://dunglas.dev/2025/03/develop-faster-with-frankenphp/
https://redd.it/1jly3nb
@r_php
https://dunglas.dev/2025/03/develop-faster-with-frankenphp/
https://redd.it/1jly3nb
@r_php
Kévin Dunglas - Founder of Les-Tilleuls.coop (worker-owned cooperative). Creator of API Platform, FrankenPHP, Mercure.rocks, Vulcain.rocks and of some Symfony components.
Develop Faster With FrankenPHP - Kévin Dunglas
One of Symfony's strengths is its caching mechanism (the files stored in "var/cache"), which enables framework components such as the dependency injection container and the router, as well as numerous bundles, to be ultra-fast in production. However, during…
5 Tips to Save Money on Laravel Cloud
https://www.youtube.com/watch?v=jM7VZRXgYXE
https://redd.it/1jm027q
@r_php
https://www.youtube.com/watch?v=jM7VZRXgYXE
https://redd.it/1jm027q
@r_php
YouTube
5 Tips to Save Money on Laravel Cloud
Let's dive into effective strategies to reduce your costs on Laravel Cloud
00:00 Intro
00:43 Pricing Docs
02:19 Tip 1: Hibernation
04:04 Tip 2: Avoid Overprovisioning
07:35 Tip 3: Databases
09:52 Tip 4: Shared Resources
12:22 Tip 5: Cache
15:36 See ya
00:00 Intro
00:43 Pricing Docs
02:19 Tip 1: Hibernation
04:04 Tip 2: Avoid Overprovisioning
07:35 Tip 3: Databases
09:52 Tip 4: Shared Resources
12:22 Tip 5: Cache
15:36 See ya
Symfony API docs
I've noticed that there is an API documentation for laravel https://api.laravel.com/docs/12.x/index.html
does symfony have the same documentation? it seems really helpful.
https://redd.it/1jlq9pl
@r_php
I've noticed that there is an API documentation for laravel https://api.laravel.com/docs/12.x/index.html
does symfony have the same documentation? it seems really helpful.
https://redd.it/1jlq9pl
@r_php
Good exception patterns to follow?
I recently saw that a colleague had defined a method in his new exception class called asHttpResponse() that sends back an instance of Psr\\Http\\Message\\ResponseInterface.
That got me thinking: Are there other patterns related to exceptions that are simple, easy to follow and helpful? I know woefully little about this topic.
Full disclosure: If I really like what you have to say, I'm likely to steal it for a lightning talk :-)
https://redd.it/1jlpdtu
@r_php
I recently saw that a colleague had defined a method in his new exception class called asHttpResponse() that sends back an instance of Psr\\Http\\Message\\ResponseInterface.
That got me thinking: Are there other patterns related to exceptions that are simple, easy to follow and helpful? I know woefully little about this topic.
Full disclosure: If I really like what you have to say, I'm likely to steal it for a lightning talk :-)
https://redd.it/1jlpdtu
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
“Why Haven’t We Seen Another Web Language Like PHP in 30 Years?”
PHP is unique among web programming languages because it was designed from the start to be embedded directly into HTML, making it feel more like a natural extension of the web rather than a separate backend system. Unlike modern frameworks and languages that enforce strict separation between logic and presentation, PHP allows developers to mix HTML and server-side code seamlessly, making it incredibly accessible for beginners and efficient for quick development.
Even after 30 years, no other mainstream language has replicated this approach successfully. Most alternatives either rely on templating engines, APIs, or complex frameworks that separate backend logic from HTML. Why do you think PHP remains the only language to work this way? Is it a relic of the past, or does it still hold a special place in web development?
https://redd.it/1jllvip
@r_php
PHP is unique among web programming languages because it was designed from the start to be embedded directly into HTML, making it feel more like a natural extension of the web rather than a separate backend system. Unlike modern frameworks and languages that enforce strict separation between logic and presentation, PHP allows developers to mix HTML and server-side code seamlessly, making it incredibly accessible for beginners and efficient for quick development.
Even after 30 years, no other mainstream language has replicated this approach successfully. Most alternatives either rely on templating engines, APIs, or complex frameworks that separate backend logic from HTML. Why do you think PHP remains the only language to work this way? Is it a relic of the past, or does it still hold a special place in web development?
https://redd.it/1jllvip
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
The end is near: Packagist is returning 500 responses randomly
Packagist web interface seems to throw Internal server errors without any reason. Reloading somtimes helps. Or it helps after 5 tries.
No call for help. Just wanted to announce armageddon.
https://redd.it/1jmngaq
@r_php
Packagist web interface seems to throw Internal server errors without any reason. Reloading somtimes helps. Or it helps after 5 tries.
No call for help. Just wanted to announce armageddon.
https://redd.it/1jmngaq
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Vanilla PHP
I’m building a small web for a hobby. I might scale it a bit and offer some paid use, but it’s not my primary objective.
I’m confident I can build the app & logic and authentication just using vanilla php & MySQL, however every advice points me towards a framework regardless.
Is a framework e.g Laravel essential in 2025?
https://redd.it/1jlr3tc
@r_php
I’m building a small web for a hobby. I might scale it a bit and offer some paid use, but it’s not my primary objective.
I’m confident I can build the app & logic and authentication just using vanilla php & MySQL, however every advice points me towards a framework regardless.
Is a framework e.g Laravel essential in 2025?
https://redd.it/1jlr3tc
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Split services.yaml into smaller parts
Hello.
My services.yaml file has over 1000 lines.
Does anyone know how I can split it into smaller parts? I tried creating smaller files and importing them in the "imports" section of the services.yaml file, but it gives me many errors.
Does anyone know the solution? Thanks.
https://redd.it/1jmtv74
@r_php
Hello.
My services.yaml file has over 1000 lines.
Does anyone know how I can split it into smaller parts? I tried creating smaller files and importing them in the "imports" section of the services.yaml file, but it gives me many errors.
Does anyone know the solution? Thanks.
https://redd.it/1jmtv74
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Code Smart: Laravel AI Agent with Zero API Costs While Development
https://youtu.be/A44IKGPrf-k?si=XKW3MxjIg9BZazqB
https://redd.it/1jmukpv
@r_php
https://youtu.be/A44IKGPrf-k?si=XKW3MxjIg9BZazqB
https://redd.it/1jmukpv
@r_php
YouTube
Build an AI Agent in Laravel Using Local LLMs (No Token Costs!)
Ready to build your own AI assistant in Laravel—without spending a dime on tokens? In this tutorial, we walk through how to use the LarAgent package with Ollama's local LLMs to create an appointment booking agent for a dental clinic. No OpenAI? No problem.…
Laravel+Ollama: AI Agent development using local LLM
https://laragent.substack.com/p/create-local-agent-with-laravel-and-ollama
https://redd.it/1jmunop
@r_php
https://laragent.substack.com/p/create-local-agent-with-laravel-and-ollama
https://redd.it/1jmunop
@r_php
Substack
Laravel AI Tutorial: Create Local Agents with Ollama
Learn how to develop an AI Agents cost-effective in Laravel using LarAgent and local LLMs via Ollama. No OpenAI API keys needed for development!
Symfony - tutorials or courses
Hi guys,
I recently started working with symfony, coming from a Laravel background.
Is there anything like Laracasts (online videos/tutorials) but for symfony? Or any learning materials you can suggest?
Thanks
https://redd.it/1jmv3s5
@r_php
Hi guys,
I recently started working with symfony, coming from a Laravel background.
Is there anything like Laracasts (online videos/tutorials) but for symfony? Or any learning materials you can suggest?
Thanks
https://redd.it/1jmv3s5
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
🚀 Try My New VS Code Extension for Filament! ⭐⭐⭐⭐⭐
Hey everyone! 👋
I just released a VS Code extension for FilamentPHP that makes development smoother and more efficient. If you're working with Filament, give it a try and let me know what you think!
🔗 https://marketplace.visualstudio.com/items?itemName=doonfrs.vscode-filament
If you find it useful, I’d appreciate a 5-star rating on the marketplace! Your feedback helps improve the extension and reach more developers.
Let me know your thoughts or any feature suggestions! 🚀
Filament UI for VSCode Demo
https://redd.it/1jmcbw4
@r_php
Hey everyone! 👋
I just released a VS Code extension for FilamentPHP that makes development smoother and more efficient. If you're working with Filament, give it a try and let me know what you think!
🔗 https://marketplace.visualstudio.com/items?itemName=doonfrs.vscode-filament
If you find it useful, I’d appreciate a 5-star rating on the marketplace! Your feedback helps improve the extension and reach more developers.
Let me know your thoughts or any feature suggestions! 🚀
Filament UI for VSCode Demo
https://redd.it/1jmcbw4
@r_php
Visualstudio
Filament VSCode - Visual Studio Marketplace
Extension for Visual Studio Code - Provides autocompletion and snippets for Filament UI components in Blade files
Routing libraries that are updated to PHP8.4
Heya,
I've been using Phroute for a few years now and I've honestly added a lot of patches over the years to my own fork of it because development on it is basically stalled. It's getting to the point where I keep finding more and more bugs in the library that I need to make fixes for. And at this point it would be easier to rewrite the whole thing. But that feels like a waste of time.
I want to migrate over to a super simple and lightweight stand-alone routing library. The requirement I have is that it is actively maintained and as barebone as possible. All I need is Variable Routing (optional url segments) and Filters (functions that run pre/post request). That's it. I dont need anything super fancy with 700 layers of abstractions. Which library would you guys recommend?
Thanks in advance!
https://redd.it/1jlj82u
@r_php
Heya,
I've been using Phroute for a few years now and I've honestly added a lot of patches over the years to my own fork of it because development on it is basically stalled. It's getting to the point where I keep finding more and more bugs in the library that I need to make fixes for. And at this point it would be easier to rewrite the whole thing. But that feels like a waste of time.
I want to migrate over to a super simple and lightweight stand-alone routing library. The requirement I have is that it is actively maintained and as barebone as possible. All I need is Variable Routing (optional url segments) and Filters (functions that run pre/post request). That's it. I dont need anything super fancy with 700 layers of abstractions. Which library would you guys recommend?
Thanks in advance!
https://redd.it/1jlj82u
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Introducing Hypervel: A Coroutine Framework for Laravel Artisans
https://laravel-news.com/introducing-hypervel-a-coroutine-framework-for-laravel-artisans
https://redd.it/1jn32qq
@r_php
https://laravel-news.com/introducing-hypervel-a-coroutine-framework-for-laravel-artisans
https://redd.it/1jn32qq
@r_php
Laravel News
Introducing Hypervel: A Coroutine Framework for Laravel Artisans - Laravel News
Hypervel is a high-performance PHP framework inspired by Laravel, offering native coroutine support for developers building high-concurrency and I/O-intensive applications