Packages
We've created more than 500 packages for Laravel and PHP. These packages have been downloaded a whopping 1.71 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.
phpunit-snapshot-assertions
I love playing with off-beat ways to make tests more readable and joyful to write. Snapshot testing was popularized by Jest to test UI components. I thought it would be a great fit for testing large data, so I wrote a PHPUnit package to bring it to PHP.

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.

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.

All
packages
laravel-permission
Associate users with roles and permissions
laravel-medialibrary
Associate files with Eloquent models
laravel-backup
A package to backup your Laravel app
laravel-activitylog
Log activity inside your Laravel app
browsershot
Convert HTML to an image, PDF or string
laravel-query-builder
Easily build Eloquent queries from API requests
laravel-analytics
A Laravel package to retrieve pageviews and other data from Google Analytics
image-optimizer
Easily optimize images using PHP
async
Easily run code asynchronously