What’s New in PHP 8.5?
– www.phparch.com – Edit
A good overview of everything coming in PHP 8.5.
Read more [www.phparch.com]
Posts tagged with php
– www.phparch.com – Edit
A good overview of everything coming in PHP 8.5.
Read more [www.phparch.com]
– shawnhooper.ca – Edit
Shawn Hooper enjoys the new presets we recently added to our Laravel CSP package.
Read more [shawnhooper.ca]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
– amitmerchant.com – Edit
I'm really looking forward to PHP 8.5's pipe operator. Here are a few nice use cases.
Read more [amitmerchant.com]
Dynamic method calls can be useful, but they also come with some risks that you should be aware of.
Read more [ashallendesign.co.uk]
– nabilhassen.com - submitted by Nabil Hassen – Edit
Laravel 12.32 introduces Http::batch, a clean way to send concurrent HTTP requests with lifecycle hooks for progress, success, failure, and finalization.
Read more [nabilhassen.com]
– crnkovic.me – Edit
Laravel Notifications are one of my favourite parts of the framework.
Read more [crnkovic.me]
– doeken.org - submitted by Doeke Norg – Edit
Learn how a ClockInterface helps you decouple time and write stable, testable code. It's about time!
Read more [doeken.org]
– flareapp.io – Edit
You can now use our MCP server to connect your AI agent to Flare. This way your AI has all context it needs to diagnose and fix production and performance problems of your PHP, JavaScript and Laravel projects.
In this blog post I’d like to tell you how you can use it, and how it works under the hood.
Read more [flareapp.io]
– wendelladriel.com - submitted by Wendell Adriel – Edit
Explore Laravel’s Service Container from the ground up: resolution, binding, scopes, contextual dependencies, auto-wiring, and more, and demystify how your app runs.
Read more [wendelladriel.com]
– cosmastech.com – Edit
This is a great way of handling config values.
Read more [cosmastech.com]
– wendelladriel.com - submitted by Wendell Adriel – Edit
Learn what the State Machine Pattern is and how to apply it in your PHP applications with this in-depth article about it
Read more [wendelladriel.com]
– nabilhassen.com - submitted by Nabil Hassen – Edit
Utilize deferred events in Laravel to delay event dispatching, including model events, ensuring listeners run only after a specific closure has finished running.
Read more [nabilhassen.com]
– ohdear.app – Edit
I've recently rebuilt the SDK for Oh Dear, and thanks to Saloon I had a great time downing so.
Read more [ohdear.app]
by Freek Van der Herten – 5 minute read – Edit
I'm excited to share that we've released a new package called spatie/laravel-url-ai-transformer. This one can get the content of a webpage and transform it into something else using AI.
In this blog post, I'd like to share why I've created it and how you can use it.
Joel Clermont shares a nice composer knowledge nugget.
Read more [masteringlaravel.io]
One of the most sought-after features for PHP is Generics: The ability to have a type that takes another type as a parameter. It's a feature found in most compiled languages by now, but implementing generics in an interpreted language like PHP, where all the type checking would have to be done at runtime, has always proven Really Really Hard(tm), Really Really Slow(tm), or both.
Read more [thephp.foundation]
– Edit
Looking forward to using this myself too.
– stitcher.io – Edit
Some interesting thoughts on property hooks by Brent
Read more [stitcher.io]
– devdojo.com – Edit
At Laracon US Caleb Porzio announced Livewire 4, which comes with unified components, performance improvements, and many more awesome goodies
Read more [devdojo.com]
by Freek Van der Herten – 3 minute read – Edit
Every once in a while, someone opens a PR on one of our open source packages adding a down function to the migration. I usually close those PRs fast with a thank you and a message “We don’t use down migrations in our projects”.
While down migrations might seem like a safety net, they're often a false comfort that potentially creates more problems than they solve.
Instead of explaining this in every PR separately, let me share why we don't write down migrations and what we do instead.