Looking for testers and contributors to improve this bundle
https://github.com/eprofos/user-agent-analyzer
https://redd.it/1mt0e1c
@r_php
https://github.com/eprofos/user-agent-analyzer
https://redd.it/1mt0e1c
@r_php
GitHub
GitHub - eprofos/user-agent-analyzer: A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating…
A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating systems (Windows, MacOS, Linux, iOS, Android...), browsers (Chrome, Firefox, Safari...), and device ty...
Roadmap and resources to learn Symfony and build a strong foundation
Hi everyone,
I want to learn Symfony and build a solid foundation before jumping into more advanced projects.
Can you suggest a roadmap (step by step learning path) and the best resources (courses, books, YouTube channels, tutorials) to get started and progress effectively?
I’d really appreciate recommendations for both free and paid resources, and advice on how to structure my learning journey.
Thanks in advance!
https://redd.it/1mt4ij0
@r_php
Hi everyone,
I want to learn Symfony and build a solid foundation before jumping into more advanced projects.
Can you suggest a roadmap (step by step learning path) and the best resources (courses, books, YouTube channels, tutorials) to get started and progress effectively?
I’d really appreciate recommendations for both free and paid resources, and advice on how to structure my learning journey.
Thanks in advance!
https://redd.it/1mt4ij0
@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/1mtauut
@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/1mtauut
@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/1mtdv8c
@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/1mtdv8c
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Code migration using the Strangler Fig Pattern
It sounds like the Strangler Fig Pattern is one of the most logical ways to migrate legacy code
https://getlaminas.org/blog/2025-08-06-strangler-fig-pattern.html
https://redd.it/1mthuyq
@r_php
It sounds like the Strangler Fig Pattern is one of the most logical ways to migrate legacy code
https://getlaminas.org/blog/2025-08-06-strangler-fig-pattern.html
https://redd.it/1mthuyq
@r_php
getlaminas.org
Laminas Project - The Strangler Fig Pattern: A Viable Approach for Migrating MVC to Middleware
Deploy NativePHP apps straight to App Store Connect with Bifrost (coming soon)
https://www.youtube.com/watch?v=NeJgluNT44A&ab_channel=NativePHP
https://redd.it/1mti4bl
@r_php
https://www.youtube.com/watch?v=NeJgluNT44A&ab_channel=NativePHP
https://redd.it/1mti4bl
@r_php
YouTube
Take Away the Pain of iOS Deployments
With Bifrost for NativePHP iOS builds and app distribution is a cinch! Plug in your credentials and hit a couple buttons and you have end to end integrations. From GitHub to App Store we make it stupidly simple.
https://bifrost.nativephp.com
https://bifrost.nativephp.com
How to Strangle your Project with Strangle Anti-Pattern
https://getrector.com/blog/how-to-strangle-your-project-with-strangle-anti-pattern
https://redd.it/1mtl3e1
@r_php
https://getrector.com/blog/how-to-strangle-your-project-with-strangle-anti-pattern
https://redd.it/1mtl3e1
@r_php
Getrector
How to Strangle your Project with Strangle Anti-Pattern
Nearly half of the projects we help upgrade have tried the upgrade before on their own.
They've introduced the infamous "strangle pattern". It's a way to upgrade a project separating one part of the codebase from the rest at a time.
Those companies reach…
They've introduced the infamous "strangle pattern". It's a way to upgrade a project separating one part of the codebase from the rest at a time.
Those companies reach…
LaraDumps: A Package for Better dd() in Laravel/PHP
https://www.youtube.com/watch?v=1c2MT2d00EE
https://redd.it/1mtmebt
@r_php
https://www.youtube.com/watch?v=1c2MT2d00EE
https://redd.it/1mtmebt
@r_php
YouTube
LaraDumps: A Package for Better dd() in Laravel/PHP
If you often debug with `dd()` in PHP/Laravel, there's a better way. A separate tool that will show you the debugging info, without interrupting your application.
Links mentioned in this video:
- Laradumps homepage: https://laradumps.dev/
- Laravel Debugbar:…
Links mentioned in this video:
- Laradumps homepage: https://laradumps.dev/
- Laravel Debugbar:…
Wishlist: Be able to use the latest versions of various services (like Postgres, Meilisearch, Typesense, Redis, etc.) in Herd, Forge
I happily use Herd Pro and Forge, but I was just noticing that the services (Meilisearch, Typesense, Redis) offered through Herd tend to be versions that are mostly a year or more out of date.
I've run into similar thoughts in the past with Forge, specifically when looking at Postgres and whether there was any supported way to set up/upgrade to a version newer than 16.
I'm not sure how much of a priority this is for the team, but there are some nice features to take advantage of in the latest versions of these things, and of course you can just install/upgrade them on your own but it would be nice to be able to have official support for this through the paid offerings.
https://redd.it/1mtoqrb
@r_php
I happily use Herd Pro and Forge, but I was just noticing that the services (Meilisearch, Typesense, Redis) offered through Herd tend to be versions that are mostly a year or more out of date.
I've run into similar thoughts in the past with Forge, specifically when looking at Postgres and whether there was any supported way to set up/upgrade to a version newer than 16.
I'm not sure how much of a priority this is for the team, but there are some nice features to take advantage of in the latest versions of these things, and of course you can just install/upgrade them on your own but it would be nice to be able to have official support for this through the paid offerings.
https://redd.it/1mtoqrb
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Vizra ADK - AI Agent Development Kit for Laravel
Vizra ADK is a comprehensive Laravel package for building autonomous AI agents that can reason, use tools, and maintain persistent memory. Create intelligent, interactive agents that integrate seamlessly with your Laravel application.
# ✨ Key Features
* **🤖 Multi-Model AI Support** \- Works with OpenAI, Anthropic, and Google Gemini + more, thanks to prism PHP
* **🎯 Sub-Agent Delegation** \- Agents can delegate tasks to specialized sub-agents
* **🛠️ Extensible Tool System** \- Give agents abilities to interact with databases, APIs, and external services
* **🧠 Persistent Memory** \- Agents remember conversations and learn from interactions across sessions
* **🔄 Agent Workflows** \- Build complex processes with sequential, parallel, conditional flows and loops
* **⚡ Execution Modes** \- Multiple trigger modes: conversational, scheduled, webhook, event-driven, and queue jobs
* **📊 Evaluation Framework** \- Automated quality testing framework for agents at scale with LLM-as-a-Judge
* **💬 Streaming Responses** \- Real-time, token-by-token streaming for responsive user experiences
* **📈 Comprehensive Tracing** \- Debug and monitor agent execution with detailed traces
* **🎨 Web Dashboard** \- Beautiful Livewire-powered interface for testing and monitoring
* **🔧 Laravel Native** \- Built with Laravel patterns: Artisan commands, Eloquent models, service providers
# 🚀 Quick Start
# Install via Composer
composer require vizra/vizra-adk
# Publish config and run migrations
php artisan vizra:install
# Create your first agent
php artisan vizra:make:agent CustomerSupportAgent
# Start chatting!
php artisan vizra:chat customer_support
You can find out more about it at [https://github.com/vizra-ai/vizra-adk](https://github.com/vizra-ai/vizra-adk)
I'm happy to answer any questions about it so feel free to ask.
https://redd.it/1mtn9ia
@r_php
Vizra ADK is a comprehensive Laravel package for building autonomous AI agents that can reason, use tools, and maintain persistent memory. Create intelligent, interactive agents that integrate seamlessly with your Laravel application.
# ✨ Key Features
* **🤖 Multi-Model AI Support** \- Works with OpenAI, Anthropic, and Google Gemini + more, thanks to prism PHP
* **🎯 Sub-Agent Delegation** \- Agents can delegate tasks to specialized sub-agents
* **🛠️ Extensible Tool System** \- Give agents abilities to interact with databases, APIs, and external services
* **🧠 Persistent Memory** \- Agents remember conversations and learn from interactions across sessions
* **🔄 Agent Workflows** \- Build complex processes with sequential, parallel, conditional flows and loops
* **⚡ Execution Modes** \- Multiple trigger modes: conversational, scheduled, webhook, event-driven, and queue jobs
* **📊 Evaluation Framework** \- Automated quality testing framework for agents at scale with LLM-as-a-Judge
* **💬 Streaming Responses** \- Real-time, token-by-token streaming for responsive user experiences
* **📈 Comprehensive Tracing** \- Debug and monitor agent execution with detailed traces
* **🎨 Web Dashboard** \- Beautiful Livewire-powered interface for testing and monitoring
* **🔧 Laravel Native** \- Built with Laravel patterns: Artisan commands, Eloquent models, service providers
# 🚀 Quick Start
# Install via Composer
composer require vizra/vizra-adk
# Publish config and run migrations
php artisan vizra:install
# Create your first agent
php artisan vizra:make:agent CustomerSupportAgent
# Start chatting!
php artisan vizra:chat customer_support
You can find out more about it at [https://github.com/vizra-ai/vizra-adk](https://github.com/vizra-ai/vizra-adk)
I'm happy to answer any questions about it so feel free to ask.
https://redd.it/1mtn9ia
@r_php
GitHub
GitHub - vizra-ai/vizra-adk: Build, test, and deploy intelligent AI agents the Laravel way
Build, test, and deploy intelligent AI agents the Laravel way - vizra-ai/vizra-adk
Are DTO and entities the same thing ?
Hello,
I'm used to dev with DDD and CQRS with different usage of DTO, ValueObject and entities. I heard someone saying that actually DTO is the deprecated version of entities and that the only Domain and only Layer in Web applications is Web which has two consequences according to him :
\- Use Entities to replace DTOs
\- Never do DDD in Web be cause it is non sense
What do you think ?
https://redd.it/1mtr13y
@r_php
Hello,
I'm used to dev with DDD and CQRS with different usage of DTO, ValueObject and entities. I heard someone saying that actually DTO is the deprecated version of entities and that the only Domain and only Layer in Web applications is Web which has two consequences according to him :
\- Use Entities to replace DTOs
\- Never do DDD in Web be cause it is non sense
What do you think ?
https://redd.it/1mtr13y
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Building modular systems in Laravel
https://sevalla.com/blog/building-modular-systems-laravel/
https://redd.it/1mts61k
@r_php
https://sevalla.com/blog/building-modular-systems-laravel/
https://redd.it/1mts61k
@r_php
Sevalla
Building modular systems in Laravel — A practical guide
Learn how modular architecture can transform your Laravel apps from tangled monoliths into scalable, maintainable systems — with practical steps and real examples.
clean af, a Vue starter kit for Laravel that's minimal on purpose
I love the Laravel starter kits, but I always end up ripping stuff out and rearranging tons of things before I can get started. I always wanted just a clean starter kit that has the basics, but no components or structures by default. This is why I made clean af.
This kit uses Fortify for auth, which includes the 2FA implementation that you can configure.
Minimal tailwind styles in app.css that can be removed when you implement your own design system.
No components or anything by default, just bring your UI library of choice and hopefully it's easier for you to get setup.
Pull requests welcome if you have ideas on making this even cleaner!
Try it here \- thanks!
https://redd.it/1mtum3l
@r_php
I love the Laravel starter kits, but I always end up ripping stuff out and rearranging tons of things before I can get started. I always wanted just a clean starter kit that has the basics, but no components or structures by default. This is why I made clean af.
This kit uses Fortify for auth, which includes the 2FA implementation that you can configure.
Minimal tailwind styles in app.css that can be removed when you implement your own design system.
No components or anything by default, just bring your UI library of choice and hopefully it's easier for you to get setup.
Pull requests welcome if you have ideas on making this even cleaner!
Try it here \- thanks!
https://redd.it/1mtum3l
@r_php
GitHub
GitHub - zacksmash/clean-af: Laravel Starter Kit that's clean af 🧼
Laravel Starter Kit that's clean af 🧼. Contribute to zacksmash/clean-af development by creating an account on GitHub.
New in Laravel 12.22.0: Deferred Events
https://nabilhassen.com/deferring-events-including-model-events-in-laravel
https://redd.it/1mua7rw
@r_php
https://nabilhassen.com/deferring-events-including-model-events-in-laravel
https://redd.it/1mua7rw
@r_php
Nabilhassen
Deferring Events Including Model Events in Laravel
Utilize deferred events in Laravel to delay event dispatching, including model events, ensuring listeners run only after all records are ready.
How to get environment variables in MCP server
Hi devs, I'm trying to create an MCP server to make agents able to interact with my product. To do this the server must receive an API_KEY from the client.
I looked at many different libraries but I couldn't figure out how to do it.
This should be a valid client configuration:
{
"mcpServers": {
"php-calculator": {
"command": "php",
"args": ["/absolute/path/to/your/mcp-server.php"],
"env": {"API_KEY": "xxxx"}
}
}
}
How can I get the API_KEY on the server?
I also opened a question in the main PHP and Python libraries but no answers.
https://github.com/php-mcp/server/issues/61
https://github.com/modelcontextprotocol/python-sdk/issues/1277
Someone with experience with that?
https://redd.it/1muakv1
@r_php
Hi devs, I'm trying to create an MCP server to make agents able to interact with my product. To do this the server must receive an API_KEY from the client.
I looked at many different libraries but I couldn't figure out how to do it.
This should be a valid client configuration:
{
"mcpServers": {
"php-calculator": {
"command": "php",
"args": ["/absolute/path/to/your/mcp-server.php"],
"env": {"API_KEY": "xxxx"}
}
}
}
How can I get the API_KEY on the server?
I also opened a question in the main PHP and Python libraries but no answers.
https://github.com/php-mcp/server/issues/61
https://github.com/modelcontextprotocol/python-sdk/issues/1277
Someone with experience with that?
https://redd.it/1muakv1
@r_php
GitHub
How To Get Environment Variables · Issue #61 · php-mcp/server
Hi, thank you for the great package, I would understand how to get environment variables passed by an MCP client using Stdio transport. How the server makes them available in the elements class or ...
Pitch Your Project 🐘
In this monthly thread you can share whatever code or projects you're working on, ask for reviews, get people's input and general thoughts, … anything goes as long as it's PHP related.
Let's make this a place where people are encouraged to share their work, and where we can learn from each other 😁
Link to the previous edition: /u/brendt_gd should provide a link
https://redd.it/1muc8ez
@r_php
In this monthly thread you can share whatever code or projects you're working on, ask for reviews, get people's input and general thoughts, … anything goes as long as it's PHP related.
Let's make this a place where people are encouraged to share their work, and where we can learn from each other 😁
Link to the previous edition: /u/brendt_gd should provide a link
https://redd.it/1muc8ez
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
How hard it is to find a remote Laravel job?
I have lots of freelancing experience and have built my own products, but I’ve never worked at a company.
I think that’s a setback for most places reviewing my resume, since I get rejected immediately, and on top of that, finding Laravel jobs on job boards is really tough compared to TS or Python.
So I’d like to know your thoughts, what was your experience getting a Laravel job?
I honestly enjoy Laravel, but job market is tough!!
https://redd.it/1mue8we
@r_php
I have lots of freelancing experience and have built my own products, but I’ve never worked at a company.
I think that’s a setback for most places reviewing my resume, since I get rejected immediately, and on top of that, finding Laravel jobs on job boards is really tough compared to TS or Python.
So I’d like to know your thoughts, what was your experience getting a Laravel job?
I honestly enjoy Laravel, but job market is tough!!
https://redd.it/1mue8we
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
What is/would be the best in application debugging experience?
I am currently working on an overhaul for our internal debugging tool, that functions similarly to the php debugbar, and wondered what opinions people have about this style of debugger (most of the devs here dont have xdebug installed).
Is there a particular debugger you prefer using? IMO the symfony debugger is the best by far, the data collected and its presentation is not overwhelming but rich with information, but am interested in others thoughts
https://redd.it/1mukhi1
@r_php
I am currently working on an overhaul for our internal debugging tool, that functions similarly to the php debugbar, and wondered what opinions people have about this style of debugger (most of the devs here dont have xdebug installed).
Is there a particular debugger you prefer using? IMO the symfony debugger is the best by far, the data collected and its presentation is not overwhelming but rich with information, but am interested in others thoughts
https://redd.it/1mukhi1
@r_php
GitHub
GitHub - php-debugbar/php-debugbar: Debug bar for PHP
Debug bar for PHP. Contribute to php-debugbar/php-debugbar development by creating an account on GitHub.
Laravel VScode setup
I’m new to php and Laravel, how do you configure your vscode? Somehow I’m not even getting HTML emmet to work in blade components. Also autocompleting for Laravel or php is not working that well even for formatting.
My current extensions setup:
Laravel Blade Snippets -> Formatting,
PHP Intelephense,
Laravel official extension
https://redd.it/1mun3h2
@r_php
I’m new to php and Laravel, how do you configure your vscode? Somehow I’m not even getting HTML emmet to work in blade components. Also autocompleting for Laravel or php is not working that well even for formatting.
My current extensions setup:
Laravel Blade Snippets -> Formatting,
PHP Intelephense,
Laravel official extension
https://redd.it/1mun3h2
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
How to store User-Submitted API Keys
Hi,
I’m currently building a web application prototype using Symfony 7. In their accounts, users can add an API key so the application can connect to an external API and fetch some personal data.
My question is: What’s the best way to securely store these API keys submitted via a form? I don’t want to store them in plaintext in the database, and I can’t encrypt them like passwords because I need the original value to make API calls. I’ve been experimenting with Symfony’s Sodium Vault in my service to create secrets, but I’m not sure if this is considered a best practice.
Do you have any suggestions or insights on how to handle this securely?
https://redd.it/1muuay2
@r_php
Hi,
I’m currently building a web application prototype using Symfony 7. In their accounts, users can add an API key so the application can connect to an external API and fetch some personal data.
My question is: What’s the best way to securely store these API keys submitted via a form? I don’t want to store them in plaintext in the database, and I can’t encrypt them like passwords because I need the original value to make API calls. I’ve been experimenting with Symfony’s Sodium Vault in my service to create secrets, but I’m not sure if this is considered a best practice.
Do you have any suggestions or insights on how to handle this securely?
https://redd.it/1muuay2
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Stupid question about safely outputting user or db input
Ok, I'm an old coder at 66. I started a custom ecommerce site in 2005. A LOT has happened since then and there's a lot to keep up with. Yeah, I can just get something better, more robust, and safer off the shelf. But I really enjoy exercising my brain with this stuff. And I love learning.
Here's a thought. If I have some user input from a form or database, it's essential to sanitize it for output to avoid XSS. Why doesn't PHP evolve to where ECHO already applies htmlspecialchars? So just:
$x = "Hello world";
echo $x;
isn't in the background doing echo htmlspecialchars($x);?
Or how about echo ($x,'/safe'); or something like to specify what echo should do?
It seems overly verbose to have to output everything like this:
echo htmlspecialchars($x, ENT_QUOTES, 'UTF-8') ;
Just a thought.
https://redd.it/1mv1rp9
@r_php
Ok, I'm an old coder at 66. I started a custom ecommerce site in 2005. A LOT has happened since then and there's a lot to keep up with. Yeah, I can just get something better, more robust, and safer off the shelf. But I really enjoy exercising my brain with this stuff. And I love learning.
Here's a thought. If I have some user input from a form or database, it's essential to sanitize it for output to avoid XSS. Why doesn't PHP evolve to where ECHO already applies htmlspecialchars? So just:
$x = "Hello world";
echo $x;
isn't in the background doing echo htmlspecialchars($x);?
Or how about echo ($x,'/safe'); or something like to specify what echo should do?
It seems overly verbose to have to output everything like this:
echo htmlspecialchars($x, ENT_QUOTES, 'UTF-8') ;
Just a thought.
https://redd.it/1mv1rp9
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community