FrankenPHP and Laravel Octane with Docker
– 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]
Posts tagged with php
– 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.
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.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
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.
– muhammedsari.me - submitted by Muhammed Sari
Mastering elation with the decorator foundation! Let's take a look at how we can leverage this simple, yet powerful design pattern in the context of a Laravel package.
Read more [muhammedsari.me]
– pestphp.com - submitted by Nuno Maduro
The PEST team just announced the release of a brand new plugin for Pest PHP: Stressless.
Read more [pestphp.com]
– myray.app - submitted by Spatie
Learn how to detect and resolve N+1 issues in your Laravel project by using Ray.
Read more [myray.app]
– blog.oussama-mater.tech - submitted by Oussama Mater
Let's create toggleable Laravel routes for specific environments using PHP attributes.
Read more [blog.oussama-mater.tech]
– www.otsch.codes - submitted by Christian Olear
Abstract classes cannot be instantiated directly, posing a challenge when testing functionality implemented within the abstract class itself. In this article, I share my approach to addressing this issue.
Read more [www.otsch.codes]
– rias.be
Stale While Revalidate (SWR) is a strategy to first return the data from the cache, then send the fetch request, and finally come up with the up-to-date data.
Read more [rias.be]
– seankegel.com - submitted by Sean Kegel
This article provides a guide on simplifying API integration in Laravel using the Http Facade, with a focus on building a reusable API request and client class.
Read more [seankegel.com]
– muhammedsari.me - submitted by Muhammed Sari
Muhammed's been working with Eloquent for over half a decade now, and it's time to share his next bag of tricks. You are guaranteed to learn something new!
Read more [muhammedsari.me]