Refreshing your Livewire components using event listeners
– wire-elements.dev - submitted by Philo
Let's take a look at how we can refresh our component when events occur using the new #[On] attribute.
Read more [wire-elements.dev]
Posts tagged with php
– wire-elements.dev - submitted by Philo
Let's take a look at how we can refresh our component when events occur using the new #[On] attribute.
Read more [wire-elements.dev]
– myray.app - submitted by Spatie
Discover how Pest offers a Ray integration out of the box!
Read more [myray.app]
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.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
– www.youtube.com - submitted by Harish Kumar
Spatie/BrowserShot is a versatile Laravel package that facilitates the generation of PDFs or screenshots by leveraging headless browsers. This package seamlessly integrates with Laravel applications, allowing developers to capture the rendered HTML of web pages or views and convert them into PDFs or images.
Read more [www.youtube.com]
– svenluijten.com - submitted by Sven
How to effectively use interfaces to make your PHP package easier to work with and more customizable than ever before.
Read more [svenluijten.com]
– www.youtube.com - submitted by Andrew Cairns
Take a quick look at what is a Command Bus and develop a mental model on how to think about it and it's purpose.
Read more [www.youtube.com]
Recently, people started talking about a malware called “Androxgh0st” specifically targeting Laravel apps. In a recent edition of Securing Laravel, Stephen Rees-Carter wrote a good explanation of how it works. The malware targets apps with APP_DEBUG set to true. When enabled, Laravel will give…
Read more [ohdear.app]
– www.youtube.com - submitted by Chris Fidao
We see how to configure Nginx to run Laravel in a subdirectory. The configuration is tricky, here's an explanation of it!
Read more [www.youtube.com]
– chriswhite.is - submitted by Chris White
I'll show you how to run Laravel Octane with the new FrankenPHP support inside a Docker container to serve your Laravel application.
Read more [chriswhite.is]
We released a mini package called spatie/holidays that can calculate the public holidays of a country.
Last week, we released a new package called Laravel PDF that allows you to transform Blade views into PDFs. Under the hood, Chromium is used to perform the transformation. Because Chromium is an up-to-date browser, you can use any modern CSS you like.
Some people have asked if they can use Tailwind to style their documents. And I’m happy to report you can. Let’s take a look at a minimal example to showcase this.
– dev.to - submitted by Grant
A lot is changing in Laravel 11, including setting up middleware. This post explores how to do it and a lingering question I have after learning about it.
Read more [dev.to]
– blog.oussama-mater.tech - submitted by Oussama Mater
LLaravel offers an elegant method-calling feature called Facades. At first glance, they resemble static methods, but well, they are not! What kind of magic is Laravel doing?
Read more [blog.oussama-mater.tech]
– seankegel.com - submitted by Sean Kegel
A comprehensive guide for creating custom Data Transfer Objects (DTOs) to enhance readability, efficiency, and testability in Laravel API integrations.
Read more [seankegel.com]
– davorminchorov.com - submitted by Davor Minchorov
Everyone talks about over-engineering but people rarely talk about under-engineering. Learn about the differences and how they depend on the context you are in.
Read more [davorminchorov.com]
My colleague Seb made a cool package to write complex expectations in a readable way.
Read more [sebastiandedeyne.com]
Today, we released the ohdearapp/ohdear-pulse package, which contains Laravel Pulse cards to show you the status of your scheduled jobs, any broken links you have in your Laravel app, and uptime / HTTP performance stats.
Here’s what the scheduled jobs card looks like.

In this blog post, I'd like to tell you more about these cards.
We’ve released a new package called spatie/laravel-pdf, a batteries-included package to generate PDFs in Laravel apps. Under the hood, it uses Chromium to generate PDFs from Blade views. You can use modern CSS features like grid, flexbox, and even frameworks like Tailwind to create beautiful PDFs.
In this post, I’d like to introduce and demonstrate the package.
– www.youtube.com - submitted by Chris Fidao
FrankenPHP not only adds the great feature set of Caddy to Laravel, but can also compile everything down to a single executable that you can run anywhere!
Read more [www.youtube.com]
We’ve released a new major version of spatie/image, v3. This package makes it very easy to manipulate images using PHP.
At the same time, we’ve also released a new major version of spatie/laravel-medialibrary. This is a powerhouse package that can associate all kinds of files with Eloquent models. The latest version of this package now uses spatie/image v3 under the hood for manipulating images.
In this blog post, I’ll explain why we made new major versions and how they can be used.