The Patch for Laravel Container
https://tomasvotruba.com/blog/the-patch-for-laravel-container
https://redd.it/1kgc4bp
@r_php
https://tomasvotruba.com/blog/the-patch-for-laravel-container
https://redd.it/1kgc4bp
@r_php
Tomasvotruba
The Patch for Laravel Container
[I switched this website from Symfony to Laravel](/blog/why-I-migrated-this-website-from-symfony-to-laravel) 2,5 years ago, and I [love Laravel Container](/blog/what-i-prefer-about-laravel-dependency-injection-over-symfony) ever since.
Symfony and Laravel…
Symfony and Laravel…
An RFC to add RFC3986 and WHATWG URL compliant parsers to PHP
https://wiki.php.net/rfc/url_parsing_api
https://redd.it/1kgdf8t
@r_php
https://wiki.php.net/rfc/url_parsing_api
https://redd.it/1kgdf8t
@r_php
The Patch for Laravel Container
https://tomasvotruba.com/blog/the-patch-for-laravel-container
https://redd.it/1kgc57y
@r_php
https://tomasvotruba.com/blog/the-patch-for-laravel-container
https://redd.it/1kgc57y
@r_php
Tomasvotruba
The Patch for Laravel Container
[I switched this website from Symfony to Laravel](/blog/why-I-migrated-this-website-from-symfony-to-laravel) 2,5 years ago, and I [love Laravel Container](/blog/what-i-prefer-about-laravel-dependency-injection-over-symfony) ever since.
Symfony and Laravel…
Symfony and Laravel…
Developers, Don't Despair, Big Tech and AI Hype is off the Rails Again
https://cicero.sh/forums/thread/developers-don-t-despair-big-tech-and-ai-hype-is-off-the-rails-again-000007
https://redd.it/1kgm1xm
@r_php
https://cicero.sh/forums/thread/developers-don-t-despair-big-tech-and-ai-hype-is-off-the-rails-again-000007
https://redd.it/1kgm1xm
@r_php
cicero.sh
Cicero - Developers, Don't Despair, Big Tech and AI Hype is off the Rails Again
Cicero is a private, self-hosted AI assistant that combines robust capabilities with an unwavering commitment to user privacy and security.
We just launched php-operators.com: a reference page for operators in PHP!
https://php-operators.com
https://redd.it/1kgqygx
@r_php
https://php-operators.com
https://redd.it/1kgqygx
@r_php
Php-Operators
PHP Operators
Livewire and Inertia: how we love and use both at Spatie
https://spatie.be/blog/livewire-and-inertia-how-we-love-and-use-both
https://redd.it/1kgqxxt
@r_php
https://spatie.be/blog/livewire-and-inertia-how-we-love-and-use-both
https://redd.it/1kgqxxt
@r_php
spatie.be
Livewire and Inertia: how we love and use both
We've been building Laravel applications with Livewire and Inertia for over 5 years. If you held an individual Spatie employee at gunpoint (please don't) and forced them to pick a favorite, you'll get a 50/50 split. It's like choosing between chocolate or…
New in Symfony 7.3: New and Improved Console Helpers
https://symfony.com/blog/new-in-symfony-7-3-new-and-improved-console-helpers?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kgspsg
@r_php
https://symfony.com/blog/new-in-symfony-7-3-new-and-improved-console-helpers?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kgspsg
@r_php
Symfony
New in Symfony 7.3: New and Improved Console Helpers (Symfony Blog)
In Symfony 7.3, the Console component added a new Markdown table style and a Tree helper for rendering tree-like data.
Symfony repo featured on the Temporal Code Exchange
I am pleased and honored to announce that my open source package to get started with Temporal durable workflows and Symfony is now featured on the Temporal Code Exchange.
https://temporal.io/code-exchange/temporal-samples-for-the-symfony-framework
https://redd.it/1kgrnf4
@r_php
I am pleased and honored to announce that my open source package to get started with Temporal durable workflows and Symfony is now featured on the Temporal Code Exchange.
https://temporal.io/code-exchange/temporal-samples-for-the-symfony-framework
https://redd.it/1kgrnf4
@r_php
Conditional Fluent & Improved AsCollection Mapping in Laravel 12.10
https://youtu.be/jrFYhptM_m0
https://redd.it/1kgs234
@r_php
https://youtu.be/jrFYhptM_m0
https://redd.it/1kgs234
@r_php
YouTube
Conditional Fluent Methods & Collection Object Casting in Laravel 12.10
What's new in Laravel is back! We share new features of the Laravel framework every week 🙌 (v12.10)
1️⃣ Add Conditionable Trait to Fluent
https://github.com/laravel/framework/pull/55455
2️⃣ AsCollection can map items...
https://github.com/laravel/f…
1️⃣ Add Conditionable Trait to Fluent
https://github.com/laravel/framework/pull/55455
2️⃣ AsCollection can map items...
https://github.com/laravel/f…
Is there anyone one who has ever deployed a Laravel website to Hostinger using shared hosting (not VPS)?
I have been at it now for weeks, and I have consulted multiple AI's, documentation, and I can't seem to get my site deployed to Hostinger, so I am asking here as I am very curious to know if anyone has ever done so? And if so, perhaps you could let me know or point me to a good source where I can get it done?
I know that it's not so straightforward and requires installing lots of Laravel dependencies in the server using SSH access, which I have done, and so I would just be grateful to know if anyone out there has successfully deployed a Laravel site to Hostinger on a shared hosting plan, rather than VPS.
https://redd.it/1kgs48x
@r_php
I have been at it now for weeks, and I have consulted multiple AI's, documentation, and I can't seem to get my site deployed to Hostinger, so I am asking here as I am very curious to know if anyone has ever done so? And if so, perhaps you could let me know or point me to a good source where I can get it done?
I know that it's not so straightforward and requires installing lots of Laravel dependencies in the server using SSH access, which I have done, and so I would just be grateful to know if anyone out there has successfully deployed a Laravel site to Hostinger on a shared hosting plan, rather than VPS.
https://redd.it/1kgs48x
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SymfonyOnline June 2025: Combining Turbo, LiveComponent & Stimulus... the Right Way?
https://symfony.com/blog/symfonyonline-june-2025-combining-turbo-livecomponent-and-stimulus-the-right-way?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kgwqyw
@r_php
https://symfony.com/blog/symfonyonline-june-2025-combining-turbo-livecomponent-and-stimulus-the-right-way?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kgwqyw
@r_php
Symfony
SymfonyOnline June 2025: Combining Turbo, LiveComponent & Stimulus... the Right Way? (Symfony Blog)
💡 Turbo, LiveComponent, Stimulus… How do you make them work together? At #SymfonyOnline June 2025 , Simon André breaks it down: 🎤 “Combining Turbo, LiveComponent & Stimulus... the Right W…
Job systems
Are there job systems for php, like Sidekiq and SolidQueue are in the Ruby (on Rails) world? I've looked at RabbitMq and Symfony Messenger, with the latter being more what I'm looking for but still not quite the same thing. I'm not using any framework but I am already using some packages from Symfony.
https://redd.it/1kh3ewd
@r_php
Are there job systems for php, like Sidekiq and SolidQueue are in the Ruby (on Rails) world? I've looked at RabbitMq and Symfony Messenger, with the latter being more what I'm looking for but still not quite the same thing. I'm not using any framework but I am already using some packages from Symfony.
https://redd.it/1kh3ewd
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Adding User-Selectable Audio/Video Trimming to Filament Forms
Hi folks,
Quick question for the FilamentPHP and Laravel community!
I'm using Filament forms with the Spatie Media Library plugin to handle audio and video uploads for my models. This part works great.
The challenge I'm facing is that I need to allow users to not just upload a file, but also trim it down to a maximum of 10 seconds. Crucially, I need the user to be able to choose which 10-second segment they want to keep from the uploaded file, ideally directly within the Filament form interface.
On the backend, I know FFmpeg is the go-to tool for server-side trimming based on start time and duration.
My main hurdle is the frontend user interaction part. Allowing a user to select a specific 10-second clip typically requires a media player with controls or a waveform/timeline interface in the browser. However, I'd ideally like to avoid building a complex custom frontend component from scratch myself.
Any pointers, examples, or suggestions would be hugely appreciated!
Thanks in advance!
https://redd.it/1khdw5k
@r_php
Hi folks,
Quick question for the FilamentPHP and Laravel community!
I'm using Filament forms with the Spatie Media Library plugin to handle audio and video uploads for my models. This part works great.
The challenge I'm facing is that I need to allow users to not just upload a file, but also trim it down to a maximum of 10 seconds. Crucially, I need the user to be able to choose which 10-second segment they want to keep from the uploaded file, ideally directly within the Filament form interface.
On the backend, I know FFmpeg is the go-to tool for server-side trimming based on start time and duration.
My main hurdle is the frontend user interaction part. Allowing a user to select a specific 10-second clip typically requires a media player with controls or a waveform/timeline interface in the browser. However, I'd ideally like to avoid building a complex custom frontend component from scratch myself.
Any pointers, examples, or suggestions would be hugely appreciated!
Thanks in advance!
https://redd.it/1khdw5k
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
As someone with PHP already installed locally, I can appreciate when trying out a codebase can be this simple
I have to say I'm proud of how the development environment instructions turned out for Lipupini: https://files.catbox.moe/9wsx68.png
Make sure all dependencies are installed first.
1) Clone the app and
2) Install Composer dependencies. Composer should automatically create the config file after installing.
3) Navigate to the webserver document root and start PHP's built-in webserver
4) Visit http://localhost:4000/@example
Repository: https://github.com/lipupini/lipupini/blob/demo/README.md#starting-the-php-webserver
https://redd.it/1khftt7
@r_php
I have to say I'm proud of how the development environment instructions turned out for Lipupini: https://files.catbox.moe/9wsx68.png
Make sure all dependencies are installed first.
1) Clone the app and
cd into the project rootgit clone https://github.com/lipupini/lipupini.git
cd lipupini
2) Install Composer dependencies. Composer should automatically create the config file after installing.
composer install
3) Navigate to the webserver document root and start PHP's built-in webserver
cd webroot
php -S localhost:4000 index.php
4) Visit http://localhost:4000/@example
Repository: https://github.com/lipupini/lipupini/blob/demo/README.md#starting-the-php-webserver
https://redd.it/1khftt7
@r_php
New in Symfony 7.3: JsonPath Component
https://symfony.com/blog/new-in-symfony-7-3-jsonpath-component?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1khlgk3
@r_php
https://symfony.com/blog/new-in-symfony-7-3-jsonpath-component?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1khlgk3
@r_php
Symfony
New in Symfony 7.3: JsonPath Component (Symfony Blog)
Symfony 7.3 adds the new JsonPath component, which lets you query and extract data from JSON using powerful, RFC-compliant expressions.
Improve PHP AI Agents output quality with Rerankers
https://inspector.dev/improve-php-ai-agents-output-quality-with-rerankers/
https://redd.it/1khlz4w
@r_php
https://inspector.dev/improve-php-ai-agents-output-quality-with-rerankers/
https://redd.it/1khlz4w
@r_php
Inspector
Improve PHP AI Agents output quality with Rerankers
Learn how Neuron AI PHP framework's Rerankers dramatically improve RAG system accuracy by finding relevant information beyond standard vector search.
Better queue testing with Laravel
https://www.youtube.com/watch?v=3igUjlQcnw0
https://redd.it/1khnitx
@r_php
https://www.youtube.com/watch?v=3igUjlQcnw0
https://redd.it/1khnitx
@r_php
YouTube
Better queue testing with Laravel
Using truth tests are a great way to create more durable queue tests in your Laravel applications, but debugging them when they fail can be a pain.
Tweaking your testing strategy slightly, you'll greatly improve the clarity of your errors messages, and reduce…
Tweaking your testing strategy slightly, you'll greatly improve the clarity of your errors messages, and reduce…
How do you avoid "Typed property App\Entity\Address::$street must not be accessed before initialization"?
Hi,
I'm wondering how you handle Entities that have properties that should not be nullable specifically in combination with Doctrine and the FormBuilder.
By default Maker makes the properties nullable. This prevents error like in the noscript but forces you to constantly nullcheck the entity when ever you use it. Also PHPStan seems not happy because the property is nullable but the Doctrine column is not.
Making it non nullable can lead to this not initialized error when you try to call get before you called the setter.
Setting defaults like empty strings and adding NotEmpty assert feels really dirty and will lead at some point to Domain related errors.
https://redd.it/1khonuk
@r_php
Hi,
I'm wondering how you handle Entities that have properties that should not be nullable specifically in combination with Doctrine and the FormBuilder.
By default Maker makes the properties nullable. This prevents error like in the noscript but forces you to constantly nullcheck the entity when ever you use it. Also PHPStan seems not happy because the property is nullable but the Doctrine column is not.
Making it non nullable can lead to this not initialized error when you try to call get before you called the setter.
Setting defaults like empty strings and adding NotEmpty assert feels really dirty and will lead at some point to Domain related errors.
https://redd.it/1khonuk
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
How to Upgrade Symfony Apps with Confidence
https://medium.com/ekino-france/how-to-confidently-update-legacy-code-in-symfony-031de745933a
https://redd.it/1khnh3s
@r_php
https://medium.com/ekino-france/how-to-confidently-update-legacy-code-in-symfony-031de745933a
https://redd.it/1khnh3s
@r_php
Medium
How to Confidently Update Legacy Code in Symfony
Updating a PHP project often feels like a high-risk operation, especially on big or sensitive codebases. We’ve all been there: something…