Your thoughts on Zed for Laravel development
Hi Laravel people.
I've been trying to use Zed for a while now. I keep coming back to VSCode because while Zed is so fast and nice to play with, VSCode seems to work better than VSCode for Laravel development (using regular blade and livewire).
I really wish I could use Zed more, but I don't know where to go from there to make it a great experience.
Do you use Zed full time? If so, what are the addons and settings do you use?
https://redd.it/1q4zwy6
@r_php
Hi Laravel people.
I've been trying to use Zed for a while now. I keep coming back to VSCode because while Zed is so fast and nice to play with, VSCode seems to work better than VSCode for Laravel development (using regular blade and livewire).
I really wish I could use Zed more, but I don't know where to go from there to make it a great experience.
Do you use Zed full time? If so, what are the addons and settings do you use?
https://redd.it/1q4zwy6
@r_php
Zed
Zed — Love your editor again
Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Deployed Laravel 12 (Concurrency) + Nuxt 4 in production. The performance boost is wild
Hey everyone,
I know using bleeding-edge versions (Laravel 12 + Nuxt 4) for a production app is risky, but I wanted to test the limits for a new project I'm building (a PPP pricing widget).
The Challenge: Since it's an embeddable widget, latency is everything. I need to resolve the user's GeoIP location AND fetch the Real-time Exchange Rate before rendering the discount.
Doing this sequentially (the old way) was adding too much overhead (\~300-400ms depending on the external APIs).
The Laravel 12 Solution: I utilized the improved
use Illuminate\Support\Facades\Concurrency;
// Both APIs are hit simultaneously $geoData, rateData =
Concurrency::run( fn () => $geoService->locate($ip), fn () => $currencyService->getRate('USD', $targetCurrency), );
The Result: The API response time dropped to \\<80ms (basically just the latency of the slowest provider + small overhead).
Combined with Nuxt 4 on the frontend (the new unbundled layer size is tiny), the widget feels instant.
Has anyone else started migrating to v12 for the Concurrency features? Would love to hear if you are hitting any edge cases.
(Link to the live demo in comments if you want to check the speed)
https://redd.it/1q77r1m
@r_php
Hey everyone,
I know using bleeding-edge versions (Laravel 12 + Nuxt 4) for a production app is risky, but I wanted to test the limits for a new project I'm building (a PPP pricing widget).
The Challenge: Since it's an embeddable widget, latency is everything. I need to resolve the user's GeoIP location AND fetch the Real-time Exchange Rate before rendering the discount.
Doing this sequentially (the old way) was adding too much overhead (\~300-400ms depending on the external APIs).
The Laravel 12 Solution: I utilized the improved
Concurrency facade to run these tasks in parallel without the complexity of configuring heavy queues for a simple read operation.use Illuminate\Support\Facades\Concurrency;
// Both APIs are hit simultaneously $geoData, rateData =
Concurrency::run( fn () => $geoService->locate($ip), fn () => $currencyService->getRate('USD', $targetCurrency), );
The Result: The API response time dropped to \\<80ms (basically just the latency of the slowest provider + small overhead).
Combined with Nuxt 4 on the frontend (the new unbundled layer size is tiny), the widget feels instant.
Has anyone else started migrating to v12 for the Concurrency features? Would love to hear if you are hitting any edge cases.
(Link to the live demo in comments if you want to check the speed)
https://redd.it/1q77r1m
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
I Don’t Understand What NativePHP Solves
I've been making web apps for a long time and I find Electron to be a really intuitive solution for making cross-platform desktop apps. It's not perfect, but it works and gives access to people who are not ready or interested in going fully native.
But NativePHP feels weird. You write your app in Laravel, but under the hood it still uses Electron. I had expected it to use the PHP CLI to export HTML, similar to how PHP normally works but this time without a server and just exporting it as a file. You could still use Blade and PHP syntax to generate the frontend while keeping things fast, and a smart wrapper could even let you use PHP for the backend as well. I’ve done this before with Electron, and it kinda works. I quickly threw it together in an hour just for fun, but if someone invested more time and energy, this could really be something.
Instead, NativePHP just starts a local Laravel development server and uses Electron for the window. This feels wrong. One of Electron’s advantages is using Node.js to avoid server overhead, but NativePHP reintroduces that overhead. In my experience, PHP’s cold start means starting a new app can take almost 10 seconds, and loading a new route can take several seconds even for simple text.
Many features are also broken on Windows, which makes it feel clearly aimed at macOS.
Overall, NativePHP feels like the wrong approach. Rather than using PHP CLI with a smart wrapper to generate HTML efficiently while keeping PHP as a backend, it just runs a local server inside Electron, losing the potential benefits of a “native PHP” desktop app.
So I'm not exacly sure what NativePHP solves as I dont see many pratical applications for it even for hobbying like myselfs I found many troubles trying to make simple app due to cold start making the experince rough and server having classic errors like HTTP range requests, things I think should probably not be happening on desktop apps.
https://redd.it/1q6nu8d
@r_php
I've been making web apps for a long time and I find Electron to be a really intuitive solution for making cross-platform desktop apps. It's not perfect, but it works and gives access to people who are not ready or interested in going fully native.
But NativePHP feels weird. You write your app in Laravel, but under the hood it still uses Electron. I had expected it to use the PHP CLI to export HTML, similar to how PHP normally works but this time without a server and just exporting it as a file. You could still use Blade and PHP syntax to generate the frontend while keeping things fast, and a smart wrapper could even let you use PHP for the backend as well. I’ve done this before with Electron, and it kinda works. I quickly threw it together in an hour just for fun, but if someone invested more time and energy, this could really be something.
Instead, NativePHP just starts a local Laravel development server and uses Electron for the window. This feels wrong. One of Electron’s advantages is using Node.js to avoid server overhead, but NativePHP reintroduces that overhead. In my experience, PHP’s cold start means starting a new app can take almost 10 seconds, and loading a new route can take several seconds even for simple text.
Many features are also broken on Windows, which makes it feel clearly aimed at macOS.
Overall, NativePHP feels like the wrong approach. Rather than using PHP CLI with a smart wrapper to generate HTML efficiently while keeping PHP as a backend, it just runs a local server inside Electron, losing the potential benefits of a “native PHP” desktop app.
So I'm not exacly sure what NativePHP solves as I dont see many pratical applications for it even for hobbying like myselfs I found many troubles trying to make simple app due to cold start making the experince rough and server having classic errors like HTTP range requests, things I think should probably not be happening on desktop apps.
https://redd.it/1q6nu8d
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Orchestrated UI with Symfony UX and Mercure
https://clegginabox.co.uk/orchestrated-ui-with-symfony-ux-and-mercure/
https://redd.it/1q6thc5
@r_php
https://clegginabox.co.uk/orchestrated-ui-with-symfony-ux-and-mercure/
https://redd.it/1q6thc5
@r_php
Clegginabox
Orchestrated UI with Symfony UX and Mercure
In a previous post I wrote about a workflow/server driven UI using Symfony Forms and React. I created a demo to go with it, but it was rough and incomplete. Plus having a back-end sending a JSON representation of a form was only ever going to get me so
Awesome PHP ML: a curated list of ML resources for PHP
Hey folks,
Every time I searched for machine learning in PHP, I kept finding the same thing:
old blog posts, random repos, LLM generated posts and "PHP isn't for ML" comments.
But there are real libraries, tools, and projects out there - they're just scattered.
So I put them in one place:
👉 https://github.com/apphp/awesome-php-ml
The repo is a curated list of:
PHP machine learning & AI libraries
math, data processing, and stats tools
example projects
articles and learning resources
The goal isn't to turn PHP into ... (you know what I mean, right?), just to make it easier to see what's already possible and save people from hunting across GitHub and outdated posts.
It's early and definitely incomplete – contributions and suggestions are welcome.
If you've ever wondered “is anyone actually doing ML with PHP?” – this is my attempt to answer that.
https://redd.it/1q6rezq
@r_php
Hey folks,
Every time I searched for machine learning in PHP, I kept finding the same thing:
old blog posts, random repos, LLM generated posts and "PHP isn't for ML" comments.
But there are real libraries, tools, and projects out there - they're just scattered.
So I put them in one place:
👉 https://github.com/apphp/awesome-php-ml
The repo is a curated list of:
PHP machine learning & AI libraries
math, data processing, and stats tools
example projects
articles and learning resources
The goal isn't to turn PHP into ... (you know what I mean, right?), just to make it easier to see what's already possible and save people from hunting across GitHub and outdated posts.
It's early and definitely incomplete – contributions and suggestions are welcome.
If you've ever wondered “is anyone actually doing ML with PHP?” – this is my attempt to answer that.
https://redd.it/1q6rezq
@r_php
GitHub
GitHub - apphp/awesome-php-ml: The most comprehensive curated list of Machine Learning, Artificial Intelligence, NLP, LLM, and…
The most comprehensive curated list of Machine Learning, Artificial Intelligence, NLP, LLM, and Data Science libraries for PHP - apphp/awesome-php-ml
Investigating the performance of Laravel's `whereIn` vs `whereIntegerInRaw` - blog.thms.uk
https://blog.thms.uk/2026/01/laravel-wherein?utm_source=reddit
https://redd.it/1q7au88
@r_php
https://blog.thms.uk/2026/01/laravel-wherein?utm_source=reddit
https://redd.it/1q7au88
@r_php
blog.thms.uk
Investigating the performance of Laravel's `whereIn` vs `whereIntegerInRaw` - blog.thms.uk
Revisiting a classic Laravel tip: does `whereIntegerInRaw()` outperform `whereIn()` in 2026?
Typing in Yii3 is the strictest in PHP universe?
I haven't thought about it before, but it seems Yii3 is the most strictly typed framework in the whole PHP frameworks universe. Psalm level 1 (similar to PhpStan level 10).
It allows you to catch errors while developing and is another layer of automatic checks to watch for what the LLM agent is doing.
What's the static typing level of your favorite framework?
https://redd.it/1q81l9d
@r_php
I haven't thought about it before, but it seems Yii3 is the most strictly typed framework in the whole PHP frameworks universe. Psalm level 1 (similar to PhpStan level 10).
It allows you to catch errors while developing and is another layer of automatic checks to watch for what the LLM agent is doing.
What's the static typing level of your favorite framework?
https://redd.it/1q81l9d
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Laravel Tips You Probably Haven’t Seen Yet (Strongly Typed Config Objects, Cachable Closures, Testing Tricks)
https://www.youtube.com/watch?v=pNpfVmlcdaA
https://redd.it/1q81hb3
@r_php
https://www.youtube.com/watch?v=pNpfVmlcdaA
https://redd.it/1q81hb3
@r_php
YouTube
What if...; a collection of Laravel tips with Sandro Gehri
Christmas is just around the corner - time for a few DX wishes. Sandro will present a collection of ideas that arose from his desire for readable and clean code.
Maybe there's something here that you can give yourself for Christmas 🎄
*Chapters*
00:14 Start…
Maybe there's something here that you can give yourself for Christmas 🎄
*Chapters*
00:14 Start…
Advanced Query Scopes - Laravel In Practice EP2
https://youtu.be/2yQBIfcDzkY
https://redd.it/1q82gii
@r_php
https://youtu.be/2yQBIfcDzkY
https://redd.it/1q82gii
@r_php
YouTube
Advanced Query Scopes - Laravel In Practice EP2
In this episode, Harris from Laravel News shows you exactly how to:
- Use Laravel 12's new #[Scope] attribute for clean query filtering
- Chain scopes together for expressive database queries
- Combine query scopes with custom collections for powerful data…
- Use Laravel 12's new #[Scope] attribute for clean query filtering
- Chain scopes together for expressive database queries
- Combine query scopes with custom collections for powerful data…
SymfonyLive Paris 2026: Plus que 2 semaines avant le changement de prix ! ⏰
https://symfony.com/blog/symfonylive-paris-2026-plus-que-2-semaines-avant-le-changement-de-prix?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1q6kmuv
@r_php
https://symfony.com/blog/symfonylive-paris-2026-plus-que-2-semaines-avant-le-changement-de-prix?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1q6kmuv
@r_php
Symfony
SymfonyLive Paris 2026: Plus que 2 semaines avant le changement de prix ! ⏰ (Symfony Blog)
Plus que 2 semaines avant l’augmentation des prix pour SymfonyLive Paris 🇫🇷⏰ Rejoignez la communauté, profitez de talks Symfony concrets et réservez votre billet avant la hausse des tarif…
Neuron AI Laravel SDK
It was asked by many Laravel developers. Not that Neuron needs invasive abstractions. So I kept it deliberately simple to automate some integration points with Laravel, such as the ready-made configuration file, provider facades, artisan commands, and other utilities for a more "Laravel native" experience. Otherwise, you can take advantage of Neuron's native APIs to develop your agent systems seamlessly.
I hope it's what some Laravel developers need to better understand the potential of Neuron framework. Feel free to share any feedback, I'm here to learn from your experience.
https://github.com/neuron-core/neuron-laravel
https://redd.it/1q78zu3
@r_php
It was asked by many Laravel developers. Not that Neuron needs invasive abstractions. So I kept it deliberately simple to automate some integration points with Laravel, such as the ready-made configuration file, provider facades, artisan commands, and other utilities for a more "Laravel native" experience. Otherwise, you can take advantage of Neuron's native APIs to develop your agent systems seamlessly.
I hope it's what some Laravel developers need to better understand the potential of Neuron framework. Feel free to share any feedback, I'm here to learn from your experience.
https://github.com/neuron-core/neuron-laravel
https://redd.it/1q78zu3
@r_php
GitHub
GitHub - neuron-core/neuron-laravel: Official Neuron AI Laravel SDK
Official Neuron AI Laravel SDK. Contribute to neuron-core/neuron-laravel development by creating an account on GitHub.
I made a php documentation generator
https://github.com/thecichos/AutoDocumentation
https://redd.it/1q86fkk
@r_php
https://github.com/thecichos/AutoDocumentation
https://redd.it/1q86fkk
@r_php
GitHub
GitHub - thecichos/AutoDocumentation: Automatic API and code documentation generation using PHP attributes
Automatic API and code documentation generation using PHP attributes - thecichos/AutoDocumentation
Released: Laravel LiveApi, zero-config OpenAPI generation from real API traffic (v0.1.0)
I’ve just released Laravel LiveApi (v0.1.0), a small Laravel package that generates an OpenAPI 3.1 specification by observing real API requests and responses at runtime during development.
The main goal is to avoid documentation drift without adding annotations or maintaining YAML files.
You just use your API (Postman, Swagger UI, automated tests, browser), then run a command to generate an accurate
It also includes a local dashboard (Swagger UI) to visualize the generated specification while developing.
Repo:
https://github.com/medmahmoudhdaya/laravel-liveapi
https://redd.it/1q7dq34
@r_php
I’ve just released Laravel LiveApi (v0.1.0), a small Laravel package that generates an OpenAPI 3.1 specification by observing real API requests and responses at runtime during development.
The main goal is to avoid documentation drift without adding annotations or maintaining YAML files.
You just use your API (Postman, Swagger UI, automated tests, browser), then run a command to generate an accurate
openapi.json.It also includes a local dashboard (Swagger UI) to visualize the generated specification while developing.
Repo:
https://github.com/medmahmoudhdaya/laravel-liveapi
https://redd.it/1q7dq34
@r_php
GitHub
GitHub - medmahmoudhdaya/laravel-liveapi
Contribute to medmahmoudhdaya/laravel-liveapi development by creating an account on GitHub.
SymfonyLive Paris 2026: Chiffrez vos données avec Doctrine, en restant recherchable
https://symfony.com/blog/symfonylive-paris-2026-chiffrez-vos-donnees-avec-doctrine-en-restant-recherchable?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1q88sn2
@r_php
https://symfony.com/blog/symfonylive-paris-2026-chiffrez-vos-donnees-avec-doctrine-en-restant-recherchable?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1q88sn2
@r_php
Symfony
SymfonyLive Paris 2026: Chiffrez vos données avec Doctrine, en restant recherchable (Symfony Blog)
🔐 Comment sécuriser des données sensibles sans perdre la capacité de les interroger ? À SymfonyLive Paris 2026, Jérôme Tamarelle présente “Chiffrez vos données avec Doctrine, en restant …
Disable Zero Downtime Deployments in Forge?
Hello All!
Is the only way to disable the new Zero Downtime Deployments in forge to delete the site + re-create? That seems like a big pain in the neck.
I want to test Laravel Octane so I need to disable ZDD and it seems like it can only be configured on site creation??
https://redd.it/1q8c1qz
@r_php
Hello All!
Is the only way to disable the new Zero Downtime Deployments in forge to delete the site + re-create? That seems like a big pain in the neck.
I want to test Laravel Octane so I need to disable ZDD and it seems like it can only be configured on site creation??
https://redd.it/1q8c1qz
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
How are you handling massive build matrices?
I’ve run into a bit of a scaling wall with php-ext-farm and I’m curious how others manage massive build pipelines.
Currently, the build matrix is exploding. I'm building:
160 Base Images: (5 PHP Versions × 8 OS flavors/versions × 4 Platforms)
33,920 Extension Images: (106 Extensions × 2 Versions × 160 Base Images)
As you can imagine, the time to finish a full run is becoming unbearable.
For those of you managing large-scale build combinations, how do you handle/improve this (without going bankrupt) when you need to support multiple versions across different architectures?
https://redd.it/1q8mwzb
@r_php
I’ve run into a bit of a scaling wall with php-ext-farm and I’m curious how others manage massive build pipelines.
Currently, the build matrix is exploding. I'm building:
160 Base Images: (5 PHP Versions × 8 OS flavors/versions × 4 Platforms)
33,920 Extension Images: (106 Extensions × 2 Versions × 160 Base Images)
As you can imagine, the time to finish a full run is becoming unbearable.
For those of you managing large-scale build combinations, how do you handle/improve this (without going bankrupt) when you need to support multiple versions across different architectures?
https://redd.it/1q8mwzb
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
The 1MB Password: Crashing Backends via Hashing Exhaustion
https://instatunnel.my/blog/the-1mb-password-crashing-backends-via-hashing-exhaustion
https://redd.it/1q8vtsz
@r_php
https://instatunnel.my/blog/the-1mb-password-crashing-backends-via-hashing-exhaustion
https://redd.it/1q8vtsz
@r_php
InstaTunnel
The 1MB Password: How Hashing Exhaustion Crashes
Discover how oversized passwords exploit CPU-intensive hashing algorithms like bcrypt and Argon2 to cause denial of service. Learn why missing input limits
Developer Experience: Fluent Builder vs. DTO vs. Method Arguments ?
Hello everyone,
I'm currently building a library that fetches data from an (XML) API.
The API supports routes with up to 20 parameters.
Example:
Now I'm wondering for the "best" way to represent that in my library.
I'm trying to find the best compromise between testability, intuitivity and developer experience (for people using the library but also for me developing the library).
I came up with the following approaches:
## 1. Fluent Builder:
## 2. DTO:
With fluent builder:
With constructor arguments:
## 3. Method Arguments
Which approach would you choose (and why)?
Or do you have another idea?
View Poll
https://redd.it/1q922xx
@r_php
Hello everyone,
I'm currently building a library that fetches data from an (XML) API.
The API supports routes with up to 20 parameters.
Example:
/thing?id=1&type=game&own=1&played=1&rating=5&wishlist=0Now I'm wondering for the "best" way to represent that in my library.
I'm trying to find the best compromise between testability, intuitivity and developer experience (for people using the library but also for me developing the library).
I came up with the following approaches:
## 1. Fluent Builder:
$client->getThing()
->withId(1)
->withType("game")
->ownedOnly()
->playedOnly()
->withRating(5)
->wishlistedOnly()
->fetch();
## 2. DTO:
With fluent builder:
$thingQuery = (new ThingQuery())
->withId(1)
->withType("game")
->ownedOnly()
->playedOnly()
->withRating(5)
->wishlistedOnly();
$client->getThing($thingQuery)
With constructor arguments:
$thingQuery = new ThingQuery(
id: 1,
type: "game",
ownedOnly: true,
playedOnly: true,
rating: 5,
wishlistedOnly: true
);
$client->getThing($thingQuery)
## 3. Method Arguments
$client->getThing(
id: 1,
type: "game",
ownedOnly: true,
playedOnly: true,
rating: 5,
wishlistedOnly: true
);
Which approach would you choose (and why)?
Or do you have another idea?
View Poll
https://redd.it/1q922xx
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Latest Study: PHP 8.5 beats C# AOT, Go and C++
https://github.com/AutonomoDev/programming-language-efficiency-research
https://redd.it/1q9dwf0
@r_php
https://github.com/AutonomoDev/programming-language-efficiency-research
https://redd.it/1q9dwf0
@r_php
GitHub
GitHub - AutonomoDev/programming-language-efficiency-research: A survey of 18 programming languages' efficiencies.
A survey of 18 programming languages' efficiencies. - AutonomoDev/programming-language-efficiency-research