Exploring our new PHP SDK, built using Saloon
I've recently rebuilt the SDK for Oh Dear, and thanks to Saloon I had a great time downing so.
Read more [ohdear.app]
Posts tagged with php
I've recently rebuilt the SDK for Oh Dear, and thanks to Saloon I had a great time downing so.
Read more [ohdear.app]
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.
Join thousands of developers
Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.
No spam. Unsubscribe anytime. You can also follow me on X.
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]
Looking forward to using this myself too.
Some interesting thoughts on property hooks by Brent
Read more [stitcher.io]
At Laracon US Caleb Porzio announced Livewire 4, which comes with unified components, performance improvements, and many more awesome goodies
Read more [devdojo.com]
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.
– tighten.com - submitted by Kayla Helmick
Learn how to use SQL generated columns and database views in Laravel to simplify queries, boost performance, and make your data easier to filter, sort, and reuse across your application.
Read more [tighten.com]
– youtu.be - submitted by Bert De Swaef
🚴♂️ Build a Full Stack App with Laravel + React! In this tutorial, you'll create a Laravel Headless API and connect it to a React frontend to display 2025 Tour de France etappes (stages).
Read more [youtu.be]
– acairns.co.uk - submitted by Andrew Cairns
The pipe operator will improve your code readability and composition in PHP. Understand the current approach and what future will look like.
Read more [acairns.co.uk]
We've converted our PHP and Laravel coding guidelines into AI-friendly instructions so Claude Code and other AI agents can generate code that matches our established programming style.
Read more [spatie.be]
– www.eloquentarchitecture.com - submitted by John Freeman
You're three months into a new job when someone mentions "we have a dozen different branches for our customers." Learn how to escape the custom code nightmare with four proven patterns that actually scale, plus real Laravel examples.
Read more [www.eloquentarchitecture.com]
– youtu.be - submitted by Nuno Maduro
Read more [youtu.be]
– tighten.com - submitted by Kayla Helmick
This article continues the series on integrating Trix with Laravel by focusing on user mentions using the Rich Text Laravel package. It walks through adding a Tribute.js-powered mention picker in the editor, implementing back-end support via an AttachableContract and Signed Global IDs, and even scaffolds a notification system to email mentioned users.
Read more [tighten.com]
A critical security vulnerability was just disclosed for Livewire v3, as Stephen Rees-Carter wrote about on Securing Laravel. The vulnerability (CVE-2025-54068) allows unauthenticated attackers to achieve remote code execution in specific scenarios. What makes this particularly concerning is that exploitation doesn't require authentication or user interaction - just a component mounted and configured in a particular way.
This vulnerability affects all Livewire v3 versions up to 3.6.3. If you're running any version in that range, attackers could potentially run arbitrary PHP code on your server. Stephan warns us the open-source nature of the fix means attackers may already be reverse-engineering the patch to identify and abuse the exploit.
Many production apps are probably running vulnerable versions right now, with their developers completely unaware. This is where automated security monitoring becomes invaluable - using Laravel Health to check for vulnerabilities, and optionally services like Oh Dear to send you notifications when issues are detected.
The term "coroutine" often comes up when talking about asynchronous or non-blocking code, but what does it actually mean?
Read more [doeken.org]
PHP doesn’t let you serialize closures, but Laravel does, thanks to an underrated package that’s built into the framework.
We just tagged stable release for two new spatie packages: spatie/ping and spatie/simple-tcp-client. In this blogpost, I'd like to share why these were developed and how you can use them.
The #[\NoDiscard] is a safety feature for PHP developers, making it easier to catch mistakes where ignoring a function’s return value could lead to bugs.
Read more [www.amitmerchant.com]