33
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Firewalls underexplained in docs?
I am working on app that has multiple firewalls, one of which has switchuser functionality. I currently have an issue where on switching the user I get access denied on one route and 200 on another, both handled by same firewall.
I wanted to read upon firewall concept a bit more in Symfony docs, but basically what I see is that one of the core concepts has basically a parapgraph, saying.
Firewall:
1. Most important aspect of auth
2. Only one firewall per request
3. Oh and there is fake dummy firewall for profiler, don't worry
What about how the individual firewall contexts are stored if I have multiple firewalls, what happens if I login to one firewall and then try to login to another one... ? What about switch user specifics when one firewall has switch user functionality enabled and then another does not, but switch user redirect goes to another firewall... ?
There is a mention that if you login from one firewall, by default your are logged out from all of them, which is also interesting.
In summary it feels like docs do not provide the broader concept of how think about multiple firewall interaction.
https://redd.it/1npcyeb
@r_php
Scandir() and links.
Trying to create links on my local machine. but browser said none exist or sth.
here's my code:
<?php
$mydir = 'g:\movies';
$myfiles = scandir($mydir);
foreach ($myfiles as $dafile){
print_r($dafile);
echo "<br>";
}
include('starwars.html');
foreach ($myfiles as $result) {
echo "<a href=\"$result\">$result</a>";
echo "<br>";
}
?>
What am I missing here ---> \"$result\"
My desired goal is to style these links to open movie files, music files, etc. It is a learning phase for me. so please bear with me.
Suggestions please!
https://redd.it/1npa9dg
@r_php
Vemto 2 now is Open-Source under MIT license
https://redd.it/1noun0s
@r_php
Is there a hub for showcasing open-source projects?
Hello devs,
Is there a website where developers can share their Laravel open-source projects and engage more with the Laravel community?
I was thinking something like "Product Hunt" but for Laravel projects.
Does something like this exists?
https://redd.it/1na715z
@r_php
Queuing time-consuming tasks asynchronously using Symfony Messenger in a Mezzio middleware application
Tasks that require long execution times are sometimes unavoidable. Dotkernel has its own Queue component that is based on Symfony Messenger. It's an opinionated component that is still growing based on requirements in the field.
What features do you think are vital for queuing?
How do you use asynchronous execution in your projects?
https://www.dotkernel.com/headless-platform/dotkernel-queue-asynchronous-execution-in-dotkernel-headless-platform/
https://redd.it/1n9zopt
@r_php
any recommendation for (Websites) for learning PHP/web development in general for beginners?
w3schools was always an option but always find people complaining (it is not bad to be honest)
i tried youtube videos but it's not for me...also there is nearly no (up to date PHP 8 course)
what do you recommend for beginners...(not absolute beginner) but a good learning foundation.
https://redd.it/1n9inyt
@r_php
PHP Foundation announced an Official PHP MCP Server
https://thephp.foundation/blog/2025/09/05/php-mcp-sdk/
https://redd.it/1n95e2a
@r_php
An Official PHP SDK for MCP Announced
https://laravel-news.com/official-php-sdk-for-mcp-announced
https://redd.it/1n92hub
@r_php
Celebrating Ryan Weaver Through His Talks
https://symfony.com/blog/celebrating-ryan-weaver-through-his-talks?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n90yy9
@r_php
Which to use? PHP version 8.2, 8.3, 8.4, 8.5?
I'm new to this and this is kind of a silly question but I am curious? What's the benefit of using 8.2 or 8.3 even though newer 8.5 has come out? and Do I have to keep changing my PHP version for my projects as newer version roll out?
https://redd.it/1n8xc9t
@r_php
We are modernizing the i18n workflow for PHP, what are your thoughts?
Hi everyone, we are currently developing a new SDK for i18n in PHP. I know what you are thinking, existing solutions like gettext are great, but... I believe PHP deserves more modern features.
The main idea is to let frontend and backend work together in a fashion mainly utilized in modern JS frameworks like next.js, where data is hydrated on the frontend. This means that data can be encoded in the backend and decoded on the frontend which could enable advanced features like In-context editor (edit translations directly on the rendered page), something PHP i18n lacks today.
What we've done so far:
- Everything from gettext, pluralization, variables etc.
- Language detection, cookie, headers, meta data, query params etc.
- In-context editing - Let your contributors edit rendered translations directly on the site.
- Automatic rerender on locale change. (With or without page reload)
- Support for both static translation files in your project, or offloading to our CDN powered by Cloudflare. If you use the CDN, a translations edit will never force you to redeploy any code.
- If CDN is used, we utilize a local cache with SWR to always have the latest translations without compromising speed.
- Lazy loading, only load languages needed.
- If you are using our external platform you'd get glossary, tasks, AI translations, screenshots and much more. But I want to stress that this is optional.
- (Optional language picker)
Do you have any other ideas or input on what would be helpful in the localization process?
Disclaimer: I am the founder of sejhey.com, a localization platform.
https://redd.it/1n8l303
@r_php
SymfonyCon Amsterdam 2025: Where have the women of tech history gone? 2.0
https://symfony.com/blog/symfonycon-amsterdam-2025-where-have-the-women-of-tech-history-gone-2-0?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n8h5ul
@r_php
Laravel Zero Downtime Deployments & Rollbacks using VitoDeploy
https://youtu.be/5nWQj84Vh4M
https://redd.it/1n8bmje
@r_php
Neuron v2 is Here 🚀
https://github.com/inspector-apm/neuron-ai/discussions/280
https://redd.it/1n853jo
@r_php
🚀 Built a Free AI Headshot Generator with the TALL stack
Hey folks 👋
I just launched a side project that I built entirely with the **TALL stack (Tailwind, Alpine.js, Laravel, Livewire)** – it’s a **Free AI Headshot Generator**.
👉 Try it here: [https://gemsofai.com/tools/free-ai-headshot-generator](https://gemsofai.com/tools/free-ai-headshot-generator)
**What it does:**
* Upload a regular photo (or capture with camera)
* Generates a professional AI-enhanced headshot in seconds
* Free to use (with optional premium to buy more credits)
Your feedback is much appreciated.
Thanks a lot for checking it out 🙏
https://redd.it/1n8395t
@r_php
PHP perception at a CTO panel
Was in a conference where 90% of the audience were CTOs and Director level. During a panel a shocking phrase was said.
"some people didn't embrace change and are stuck with ancient technologies and ideas such as Perl or PHP".
It struck me!
If you are a CTO at a company that uses PHP, please go out at any conference and advocate for it!
https://redd.it/1npb1cn
@r_php
Anyone have experience with MailCoach?
Curious if anyone has used MailCoach (https://www.mailcoach.app) before.
We have a SaaS product currently and are thinking about building in some email marketing as an additional product offering.
I’d love to use MailCoach + AWS SES/SendGrid/MailGun and call it a day, but curious how realistic it is or if anyone has had good experiences with it as far as ease of use and deliverability.
I know a lot of people will say “don’t do this” and “just use MailChimp”. I understand the headache I’m about to embark on, but I’m hoping I can ease the burden by leveraging existing tools and mail providers to handle load balancing, blacklisting, etc.
Thanks in advance!
https://redd.it/1np0vjw
@r_php
Vemto 2 is now Open-Source under MIT license
https://github.com/VemtoOrg/vemto2
https://redd.it/1nouns3
@r_php
Fusio 6.0 released: API Management Platform
https://github.com/apioo/fusio
https://redd.it/1na5lxp
@r_php
Mturk hit catcher
I need a person who develops robust hit catcher for my use case in mturk platform.
https://redd.it/1n9qsqx
@r_php
Updating React version in Laravel + Inertia project
Hello all
I'm just starting a new project using Laravel with Inertia which I have done with Vue many times but my new client has specifically asked for React. I'm wondering how easy and straightforward it is to update the React version as the product is maintained going forward and wondered if anyone had any real world experience in doing this? I've had previous horrendous nightmare experiences upgrading React versions in projects (particularly React Native) so would be interested in hearing the thoughts of others. I've tried to search for information/past experiences but can't find any.
Just to be clear, this is regarding upgrading to a new version of React within an Inertia project, not upgrading Inertia itself.
Thanks all!
https://redd.it/1n90ccp
@r_php
Symfony to Provide the Official MCP SDK
https://symfony.com/blog/symfony-to-provide-the-official-mcp-sdk?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n91zwy
@r_php
Blasp v3 is here! 🎉
Hey Laravel devs! Almost a year ago I threw together a profanity filter package over a weekend and shared it here. The feedback was amazing!
Since then it's hit **76K downloads** (still can't believe it) and I've been working on v3 with some killer features:
* **Method chaining**: `Blasp::spanish()->check()` \- so much cleaner!
* **Multi-language support**: English, Spanish, German, French with proper character handling
* **All languages mode**: Check against everything at once with `allLanguages()`
* **60% faster** with better caching
* **100% backward compatible** \- your existing code still works
The multi-language stuff was the most requested feature, and the performance improvements are pretty sweet too.
Still free, still MIT licensed. Would love your feedback!
GitHub: [https://github.com/Blaspsoft/blasp/tree/blasp-v3](https://github.com/Blaspsoft/blasp/tree/blasp-v3)
https://preview.redd.it/lu2wkc0jsbnf1.png?width=1750&format=png&auto=webp&s=13dc058253ef9cc45758fb22d90820c1f5a5183b
https://redd.it/1n91vmt
@r_php
Laravel Revert — Revert new Laravel installations to the original version 5's skeleton (more or less)
https://github.com/masmerise/laravel-revert
https://redd.it/1n8xqgi
@r_php
Try out this ddev addon that uses tailscale
https://github.com/atj4me/ddev-tailscale-router
https://redd.it/1n8ouwt
@r_php
Causes & Fixes to the "SQLSTATE[HY000] [1049] Unknown database" error
https://nabilhassen.com/sqlstatehy000-1049-unknown-database-fixed
https://redd.it/1n8firx
@r_php
Php
https://github.com/Direct-Input-ID/confidential/releases/tag/untagged-450285e20f471dbb62d9
https://redd.it/1n8fs6k
@r_php
[Show & Tell] Larabuild – AI-powered Blade + Tailwind playground for Laravel developers
I’ve relaunched [Larabuild](https://larabuild.com), a side project I originally built as a “v0.dev-style” tool, but focused on Laravel + Livewire.
The idea is to save time when you’re an engineer who isn’t a designer: you describe what you want to build, and Larabuild generates **clean Blade + Tailwind v4 components** you can drop straight into your app.
What makes it different from generic AI UI tools:
* **Blade logic, not just HTML** – it generates loops, conditionals, and `@php $sample_data` blocks so you can see how your components will behave.
* **Two outputs** – • `generated_code`: the real Blade + Tailwind you can copy into your project. • `preview_code`: a safe, static HTML preview with sample data (no PHP execution).
* **Security first** – previews are sandboxed with a strict CSP and sanitisation (no scripts, env/config/db calls, or other server-side access).
* **Project organisation** – give the AI context and keep generations grouped together.
* **Coming soon** – set brand colours/typography once and get consistent designs across components.
* **Learning Resource** \- It will eventually have a learning mode, teaching you best practices, rather than just throwing code at you.
Access:
* No signup required: 10 free prompts to try it immediately.
* Free account: 100 prompts each month.
* No paywall right now — just exploring whether this is something the community finds useful.
Would love to hear your feedback and impressions.
[https://larabuild.com](https://larabuild.com)
https://redd.it/1n84vb4
@r_php
Laravel Cloud Navigation in Filament 4: Tutorial and Code
https://silvanhagen.com/writing/laravel-cloud-navigation-in-filament/
https://redd.it/1n83kgv
@r_php
Scramble 0.12.31 – Laravel API documentation generator updated. Response headers documentation, static analysis for improved requests parameters documentation, OpenAPI compliant responses, and type inference improvements.
https://scramble.dedoc.co/blog/scrambledrop-scramble-01231
https://redd.it/1n81u0i
@r_php