Multiple Horizon Instances?
Does anyone have experience running multiple Horizon servers? I'm curious what complexities and/or limitations you run into.
Just to be clear, I'm not talking about separating web and queue servers, this is a step beyond that.
I'm curious about intentionally single-threaded queues, cross-instance job locking, and generalized scalability of multiple horizon instances.
What have your guys' experience been?
https://redd.it/1kvgzte
@r_php
Does anyone have experience running multiple Horizon servers? I'm curious what complexities and/or limitations you run into.
Just to be clear, I'm not talking about separating web and queue servers, this is a step beyond that.
I'm curious about intentionally single-threaded queues, cross-instance job locking, and generalized scalability of multiple horizon instances.
What have your guys' experience been?
https://redd.it/1kvgzte
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel 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/1kvk9zp
@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/1kvk9zp
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
🔥 Laravel 12 + React JS Spatie Roles & Permissions with Starter Kit
https://youtu.be/jpXVyahwjDA?si=ug1ZbeTyM1gN7KhQ
https://redd.it/1kvn8o1
@r_php
https://youtu.be/jpXVyahwjDA?si=ug1ZbeTyM1gN7KhQ
https://redd.it/1kvn8o1
@r_php
YouTube
🔥 Laravel 12 + React JS + Spatie Roles & Permissions with Starter Kit
Learn how to implement a Spatie Roles and Permissions system using Laravel, Inertia.js, and React in this step-by-step tutorial! 💻
Perfect for building admin panels, multi-user dashboards, and secure access control in modern web apps.
👉Chapters:
0:00 Introduction…
Perfect for building admin panels, multi-user dashboards, and secure access control in modern web apps.
👉Chapters:
0:00 Introduction…
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/1kvn2q8
@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/1kvn2q8
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
New in Symfony 7.3: Serializer Improvements
https://symfony.com/blog/new-in-symfony-7-3-serializer-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kvowi4
@r_php
https://symfony.com/blog/new-in-symfony-7-3-serializer-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kvowi4
@r_php
Symfony
New in Symfony 7.3: Serializer Improvements (Symfony Blog)
Symfony 7.3 improves the Serializer component with new features like number normalization, discriminator defaults, and better debug output.
Stream-Interop Standard Now Stable
https://paul-m-jones.com/post/2025/05/26/stream-interop-standard-now-stable/
https://redd.it/1kvun7w
@r_php
https://paul-m-jones.com/post/2025/05/26/stream-interop-standard-now-stable/
https://redd.it/1kvun7w
@r_php
Optimized PHP Images for Laravel
# 🚀 Optimized PHP Images for Laravel! 🐳
Hey Laravel devs! I’ve built PHP-Optimized Docker Images for Laravel 10-12, hosted on GHCR (ghcr.io/redfieldchristabel/laravel). 🐘 These images are fine-tuned for performance, security (non-root laravel user), and follow Docker best practices (one process per container, stdout logs). Includes pre-installed PHP extensions and a scaffolding noscript for easy setup! 😄
laravel container registry
https://redd.it/1kvy6me
@r_php
# 🚀 Optimized PHP Images for Laravel! 🐳
Hey Laravel devs! I’ve built PHP-Optimized Docker Images for Laravel 10-12, hosted on GHCR (ghcr.io/redfieldchristabel/laravel). 🐘 These images are fine-tuned for performance, security (non-root laravel user), and follow Docker best practices (one process per container, stdout logs). Includes pre-installed PHP extensions and a scaffolding noscript for easy setup! 😄
laravel container registry
https://redd.it/1kvy6me
@r_php
GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
Send a WhatsApp Message with Just a 3 Lines of PHP
**Send WhatsApp Messages with Just 3 Lines of PHP (No Twilio, No Complexity)**
If you're a PHP dev and want to send WhatsApp messages effortlessly, this is probably the cleanest way to do it.
All it takes is 3 lines (once Guzzle is installed):
phpCopyEdit$client = new \GuzzleHttp\Client();
$response = $client->post('https://www.wasenderapi.com/api/send-message', [
'headers' => ['Authorization' => 'Bearer YOUR_API_KEY', 'Content-Type' => 'application/json'],
'json' => ['to' => '+1234567890', 'text' => 'Hello, here is your update.']
]);
echo $response->getBody();
* No SDKs
* No bloated libraries
* Just drop it into any Laravel, Symfony, or plain PHP project
https://redd.it/1kw175a
@r_php
**Send WhatsApp Messages with Just 3 Lines of PHP (No Twilio, No Complexity)**
If you're a PHP dev and want to send WhatsApp messages effortlessly, this is probably the cleanest way to do it.
All it takes is 3 lines (once Guzzle is installed):
phpCopyEdit$client = new \GuzzleHttp\Client();
$response = $client->post('https://www.wasenderapi.com/api/send-message', [
'headers' => ['Authorization' => 'Bearer YOUR_API_KEY', 'Content-Type' => 'application/json'],
'json' => ['to' => '+1234567890', 'text' => 'Hello, here is your update.']
]);
echo $response->getBody();
* No SDKs
* No bloated libraries
* Just drop it into any Laravel, Symfony, or plain PHP project
https://redd.it/1kw175a
@r_php
Symfony/Doctrine Randomly Deleting Data
I'm very new to symfony/doctrine so I'm probably doing something stupid. Sometimes (seemingly at random) data just disappears from my mysql database. Does anyone have any idea what might be happening?
Maybe I'm using the entity manager interface incorrectly? Most of the time everything works fine.
https://redd.it/1kw2ytg
@r_php
I'm very new to symfony/doctrine so I'm probably doing something stupid. Sometimes (seemingly at random) data just disappears from my mysql database. Does anyone have any idea what might be happening?
Maybe I'm using the entity manager interface incorrectly? Most of the time everything works fine.
https://redd.it/1kw2ytg
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Optimizing MySQL queries in Symfony apps
Hi Symfony developers,
Vlad Mihalcea shared some interesting findings after running the Spring PetClinic app under load and analyzing query performance.
The tool he used flagged high-latency queries, suggested index changes, helped reduce resource usage and improve query performance.
Link if you want to skim: https://vladmihalcea.com/mysql-query-optimization-releem/
Just curious - anyone here use tools for automatic identification and optimization of inefficient SQL queries in your workflow?
https://redd.it/1kw4wwb
@r_php
Hi Symfony developers,
Vlad Mihalcea shared some interesting findings after running the Spring PetClinic app under load and analyzing query performance.
The tool he used flagged high-latency queries, suggested index changes, helped reduce resource usage and improve query performance.
Link if you want to skim: https://vladmihalcea.com/mysql-query-optimization-releem/
Just curious - anyone here use tools for automatic identification and optimization of inefficient SQL queries in your workflow?
https://redd.it/1kw4wwb
@r_php
Vlad Mihalcea
MySQL Query Optimization with Releem - Vlad Mihalcea
If you are using MySQL and want to benefit from automatic query optimization, then Releem can help you achieve this goal.
Made something cool, HTML5 truncation library called chophper
Built this a while back and we use it in some WordPress plugins at scale. It has handled all the dynamic content thrown at it in the wild world of WP, felt like it might be useful to others as well as a general PHP tool.
Feel free to trash it if its dumb, but it only has 1 dependency, and no real PHP minimum requirements like others did.
https://github.com/code-atlantic/chophper
Truncate chars, optionally respecting word boundaries
Truncate words, optionally respecting sentence boundaries
Truncate sentences, optionally respecting block boundaries
Truncate blocks (paragraphs, lists, etc.)
Preserving HTML tags
Preserving HTML entities
​
// Full is built to fully support HTML5 without breaking the HTML structure.
use Chophper\Full as Chophper;
$options
// ... see options below.
;
Chophper::truncate($html, $length, $options);
https://redd.it/1kw5s4g
@r_php
Built this a while back and we use it in some WordPress plugins at scale. It has handled all the dynamic content thrown at it in the wild world of WP, felt like it might be useful to others as well as a general PHP tool.
Feel free to trash it if its dumb, but it only has 1 dependency, and no real PHP minimum requirements like others did.
https://github.com/code-atlantic/chophper
Truncate chars, optionally respecting word boundaries
Truncate words, optionally respecting sentence boundaries
Truncate sentences, optionally respecting block boundaries
Truncate blocks (paragraphs, lists, etc.)
Preserving HTML tags
Preserving HTML entities
​
// Full is built to fully support HTML5 without breaking the HTML structure.
use Chophper\Full as Chophper;
$options
// ... see options below.
;
Chophper::truncate($html, $length, $options);
https://redd.it/1kw5s4g
@r_php
GitHub
GitHub - code-atlantic/chophper: PHP utility to handle text truncation within HTML while maintaining full tag structure. Truncate…
PHP utility to handle text truncation within HTML while maintaining full tag structure. Truncate by chars, words, sentences or paragraphs. Optionally finish on whole words/sentences. - code-atlanti...
New in Symfony 7.3: Validator Improvements
https://symfony.com/blog/new-in-symfony-7-3-validator-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kwhozj
@r_php
https://symfony.com/blog/new-in-symfony-7-3-validator-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kwhozj
@r_php
Symfony
New in Symfony 7.3: Validator Improvements (Symfony Blog)
Symfony 7.3 introduces validation improvements including better When constraint, deprecations for array-based options, and enhanced file, image, and uniqueness constraints.
PHPVerse 2025 afterparty 🎉 (Amsterdam)
Hey folks,
If you’re in or near Amsterdam, NL, mark your calendar for Tuesday, June 17!
Right after the PHPVerse 2025 conference, we’re hosting a special edition of the AmsterdamPHP meetup, featuring some of the speakers from the event, including:
Nils Adermann (Co-founder, Packagist)
Nicolas Grekas (Core Developer, Symfony) …and more to be announced.
We’ll have a short talk, a panel discussion on the past and future of PHP, and plenty of time to chat over 🍕 pizza.
📍 Location: Café Restaurant Dauphine, Amsterdam
🕒 Time: Doors open 18:30, talks start 19:30
🎟️ Free event – open to everyone
RSVP here:
👉 https://www.meetup.com/amsterdamphp/events/307306474/
If you’re around for the conference, or just in town and into PHP, come hang out. And feel free to share the link with anyone who might be interested.
We're all very much looking forward to meeting other people in the PHP community :)
Hope to see some of you there!
https://redd.it/1kwjmro
@r_php
Hey folks,
If you’re in or near Amsterdam, NL, mark your calendar for Tuesday, June 17!
Right after the PHPVerse 2025 conference, we’re hosting a special edition of the AmsterdamPHP meetup, featuring some of the speakers from the event, including:
Nils Adermann (Co-founder, Packagist)
Nicolas Grekas (Core Developer, Symfony) …and more to be announced.
We’ll have a short talk, a panel discussion on the past and future of PHP, and plenty of time to chat over 🍕 pizza.
📍 Location: Café Restaurant Dauphine, Amsterdam
🕒 Time: Doors open 18:30, talks start 19:30
🎟️ Free event – open to everyone
RSVP here:
👉 https://www.meetup.com/amsterdamphp/events/307306474/
If you’re around for the conference, or just in town and into PHP, come hang out. And feel free to share the link with anyone who might be interested.
We're all very much looking forward to meeting other people in the PHP community :)
Hope to see some of you there!
https://redd.it/1kwjmro
@r_php
Meetup
AmsterdamPHP Special PHPVerse Edition, di 17 jun 2025, 18:30 | Meetup
**🎉 Special AmsterdamPHP Meetup – June 17th, 2025**
Right after **[PHPVerse 2025](https://lp.jetbrains.com/phpverse-2025/)**, we’re keeping the momentum going with a **sp
Right after **[PHPVerse 2025](https://lp.jetbrains.com/phpverse-2025/)**, we’re keeping the momentum going with a **sp
LarAgent v0.4 is here — Gemini, Streaming, Fallbacks & More! 🚀
https://blog.laragent.ai/laragent-v0-4-is-here-gemini-streaming-fallbacks-more/
https://redd.it/1kwmhzh
@r_php
https://blog.laragent.ai/laragent-v0-4-is-here-gemini-streaming-fallbacks-more/
https://redd.it/1kwmhzh
@r_php
LarAgent
LarAgent v0.4 is here — Gemini, Streaming, Fallbacks & More! 🚀
We’re excited to announce the release of LarAgent v0.4.0, bringing major upgrades that make your Laravel-based AI agents faster, smarter, and more resilient.
Let’s break down what’s new 👇
🔹 Gemini Driver Support
Now you can use Google’s Gemini API alongside…
Let’s break down what’s new 👇
🔹 Gemini Driver Support
Now you can use Google’s Gemini API alongside…
LarAgent v0.4 is here — Gemini, Streaming, Fallbacks & More! 🚀
https://blog.laragent.ai/laragent-v0-4-is-here-gemini-streaming-fallbacks-more/
https://redd.it/1kwmq9e
@r_php
https://blog.laragent.ai/laragent-v0-4-is-here-gemini-streaming-fallbacks-more/
https://redd.it/1kwmq9e
@r_php
LarAgent
LarAgent v0.4 is here — Gemini, Streaming, Fallbacks & More! 🚀
We’re excited to announce the release of LarAgent v0.4.0, bringing major upgrades that make your Laravel-based AI agents faster, smarter, and more resilient.
Let’s break down what’s new 👇
🔹 Gemini Driver Support
Now you can use Google’s Gemini API alongside…
Let’s break down what’s new 👇
🔹 Gemini Driver Support
Now you can use Google’s Gemini API alongside…
I built Laravel AI Factory a package for generating realistic test data using AI models
Hello guys, I've had this thought that it would be quite cool to be able to create test data using AI, instead of plain Faker which Laravel provides. So I created a package for this called laravel-ai-factory, you can check it out on https://github.com/fdomgjoni99/laravel-ai-factory .
I’d love to hear your thoughts and what you think should be added next!
https://redd.it/1kwspwo
@r_php
Hello guys, I've had this thought that it would be quite cool to be able to create test data using AI, instead of plain Faker which Laravel provides. So I created a package for this called laravel-ai-factory, you can check it out on https://github.com/fdomgjoni99/laravel-ai-factory .
I’d love to hear your thoughts and what you think should be added next!
https://redd.it/1kwspwo
@r_php
GitHub
GitHub - fdomgjoni99/laravel-ai-factory: Laravel AI Factory is a developer-friendly package for generating realistic test data…
Laravel AI Factory is a developer-friendly package for generating realistic test data using AI models. It integrates seamlessly with Laravel factories and supports both AI-generated and manually de...
Introducing ‘godump’ – a Symfony/Laravel Inspired Pretty-Printer for Go Structs and Values.
https://redd.it/1kwvcgv
@r_php
https://redd.it/1kwvcgv
@r_php
Reddit
From the laravel community on Reddit: Introducing ‘godump’ – a Symfony/Laravel Inspired Pretty-Printer for Go Structs and Values.
Explore this post and more from the laravel community