Packages
We've created more than 400 packages for Laravel and PHP. These packages have been downloaded a whopping 1.49 billion times! All packages
laravel-backup
A package to backup your Laravel app
laravel-health
Check the health of your Laravel app
laravel-medialibrary
Associate files with Eloquent models
laravel-query-builder
Easily build Eloquent queries from API requests
simple-excel
Read and write simple Excel and CSV files
Favorite packages
from our team
We've asked some of our colleagues about their favorite packages and why they enjoy them.
laravel-blade-x
Despite being abandoned, the Blade X package now lives on in Laravel. It added custom HTML components to Laravel before Blade components were natively supported. Hacked together on a Friday afternoon when both project managers were MIA, this package started with an friendly discussion over lunch and ended with the entire Spatie team ditching 'real work' (who needs that, right?) to tinker with this gem. I love how an impulsive "there's nothing stopping us from doing this weird thing"-idea ended up with 180.000 downloads thanks to a fun afternoon with the team.

laravel-horizon-watcher
For saving me from the dozen times I wondered 'Why is my change not reflecting?' when I first started to work with queues.

typescript-transformer
At Spatie, we are a fan of Inertia. This package truly shines when we need to define types for both PHP and TypeScript, and keep them in sync. By parsing PHP files and transforming them into TypeScript type declarations, we save time and mental effort but also streamline the refactoring process.

All
packages
backtrace
A better backtrace
ignition
A beautiful error page for PHP apps
flare-client-php
Send PHP errors to Flare
laravel-ignition
A beautiful error page for Laravel apps
laravel-package-tools
Tools for creating Laravel packages
laravel-permission
Associate users with roles and permissions
temporary-directory
A simple class to work with a temporary directory
image-optimizer
Easily optimize images using PHP
macroable
A trait to dynamically add methods to a class