spatie/temporary-directory
Create, use, and automatically clean up temporary directories in PHP. Spatie TemporaryDirectory makes it easy to generate a temp folder (in your system temp path), build file paths inside it, and delete everything when you’re done.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| php-ffmpeg/php-ffmpeg | php-ffmpeg/php-ffmpeg is a PHP wrapper for FFmpeg/FFprobe that makes encoding, converting, trimming, and analyzing audio/video simple. Provides a fluent API for common tasks like thumbnails, metadata, filters, and HLS/DASH workflows. | 5,007 | — | 898 | — | 284 | 80.0 | 32.6 | MIT | 2 months ago | |
| spatie/browsershot | Render web pages (URLs or HTML) to images or PDFs from PHP/Laravel using headless Chrome via Puppeteer. Save screenshots/PDFs, render local HTML files, extract post-JS body HTML, and inspect requests triggered by a page. | 5,196 | 5,253 | 508 | 1M | 0 | 69.3 | 39.2 | MIT | 1 month ago | |
| spatie/file-system-watcher | React to file system changes from PHP using Spatie’s watcher powered by Node’s chokidar. Watch one or more paths and run callbacks on create, update, delete, or any change events. Useful for build tools, dev workflows, and background monitoring. | 250 | 250 | 25 | 139K | 0 | 25.0 | 44.6 | MIT | 4 months ago | |
| spatie/image | Expressive PHP image manipulation by Spatie. Load an image, chain operations like resize/crop, rotate, greyscale, brightness, sharpen, and quality, then save. Supports common formats and integrates cleanly in Laravel or any PHP app. | 1,356 | 1,377 | 138 | 2M | 0 | 39.9 | 51.0 | MIT | 3 weeks ago | |
| spatie/laravel-backup | Create ZIP backups of your Laravel app: selected files plus database dumps. Store backups on any Laravel filesystem (including multiple destinations), monitor backup health, send notifications on failures, and automatically clean up old backups to save space. | 5,966 | 6,054 | 797 | 698K | 0 | 70.5 | 33.7 | MIT | 1 week ago | |
| spatie/laravel-db-snapshots | Artisan commands to quickly create, load, list, and clean up database snapshots in Laravel. Dump your DB, restore any snapshot (or the latest), and keep only recent dumps. Supports MySQL, PostgreSQL, and SQLite. | 1,196 | 1,201 | 101 | 84K | 0 | 38.9 | 30.3 | MIT | 1 week ago | |
| spatie/laravel-eventsauce | Integrate EventSauce event sourcing into Laravel with migrations, models, and queued jobs. Generate aggregate roots, repositories, events and commands via Artisan. Store domain messages per aggregate and dispatch consumers synchronously or through queues. | 121 | 121 | 15 | 675 | 0 | 23.5 | 13.3 | MIT | 5 years ago | |
| spatie/laravel-health | Monitor your Laravel app’s health by registering checks (disk space, etc.) with warning/fail thresholds. Get notified via mail or Slack when checks degrade, and extend with custom checks for proactive alerting. | 859 | 868 | 174 | 593K | 0 | 39.4 | 46.1 | MIT | 3 weeks ago | |
| spatie/laravel-medialibrary | Attach files to Eloquent models with an easy API. Upload from disk or request, store media across multiple filesystems (local/S3), and generate image/PDF conversions and manipulations using Laravel’s Filesystem. | 6,107 | 6,172 | 1,097 | 2M | 2 | 69.6 | 40.0 | MIT | 1 month ago | |
| spatie/laravel-mobile-pass | Laravel package to generate Apple Wallet mobile passes (boarding passes, tickets, coupons, cards) with support for pushing updates to issued passes so they stay current on users’ devices. In development—don’t use in production yet. | 81 | 79 | 8 | 664 | 0 | 21.0 | 15.6 | MIT | 1 year ago | |
| spatie/laravel-morph-map-generator | Automatically generates and keeps Laravel Eloquent morph maps up to date. Models register themselves by implementing getMorphClass(), so you don’t forget to add entries. Optional auto-generation on app boot, configurable for custom model locations. | 74 | 73 | 11 | 7K | 0 | 25.5 | 32.3 | MIT | 1 month ago | |
| spatie/laravel-pdf | Generate PDFs in Laravel from Blade views with a fluent API. Choose drivers like Chromium (Browsershot), Gotenberg, Cloudflare, WeasyPrint, or DOMPDF. Save to disk or return as a response, with support for modern CSS and paged media. | 997 | 998 | 90 | 346K | 0 | 36.7 | 41.3 | MIT | 6 days ago | |
| spatie/laravel-personal-data-export | Generate GDPR-style personal data exports as ZIP files in Laravel. Define what to include via a model method, add JSON and files (local or S3), store zips privately, email users a download link, and clean up old exports with an artisan command. | 547 | 550 | 28 | 13K | 0 | 32.6 | 22.7 | MIT | 1 month ago | |
| spatie/laravel-screenshot | Driver-based Laravel package for taking web page screenshots with great defaults. Use Browsershot (Chromium) or Cloudflare Browser Rendering, customize viewport/format/quality, save to files, and easily fake/assert screenshots in tests. | 78 | 76 | 3 | 16K | 0 | 21.8 | 37.5 | MIT | 1 month ago | |
| spatie/laravel-settings | Store strongly typed app settings in Laravel using dedicated Settings classes backed by databases, Redis, and more. Inject settings via the container, read and update properties, then save—keeping configuration structured, testable, and easy to manage. | 1,478 | 1,484 | 135 | 383K | 1 | 41.2 | 39.3 | MIT | 3 weeks ago | |
| spatie/laravel-short-schedule | Schedule Laravel Artisan commands at sub-minute intervals (every second or even fractions) via ShortSchedule in routes/console.php or the console kernel. Note: Laravel 11+ now supports sub-minute scheduled tasks, so this package is largely obsolete. | 649 | 652 | 54 | 18K | 0 | 32.1 | 23.5 | MIT | 1 week ago | |
| spatie/laravel-sitemap | Generate XML sitemaps for Laravel automatically by crawling your site or building them manually. Add URLs, models, lastmod/changefreq/priority, images and alternates, then write to file or disk. Supports sitemap index and large sites. | 2,588 | 2,615 | 296 | 570K | 0 | 51.7 | 38.1 | MIT | 3 weeks ago | |
| spatie/lighthouse-php | Run Google Lighthouse audits from PHP. Test any URL and retrieve category scores (performance, accessibility, SEO, etc.) and individual audit details. Configure headers, user agent, categories, CPU throttling, and max load wait, then run and parse results. | 266 | 266 | 32 | 4K | 0 | 29.6 | 19.4 | MIT | 4 months ago | |
| spatie/one-package-to-rule-them-all | Pulls in all Spatie packages at once so you don’t have to require them individually. Install via Composer, optionally publish the config, and get the full Spatie “magic” in one go for your Laravel app. | 60 | 60 | 6 | 0 | 0 | 20.8 | — | MIT | 5 years ago | |
| spatie/simple-excel | Lightweight reader/writer for simple CSV and XLSX files in PHP/Laravel. Uses generators and LazyCollection for low memory usage on large files. Quickly stream rows for processing or export data without loading entire spreadsheets into memory. | 1,349 | 1,349 | 138 | 447K | 0 | 39.9 | 41.0 | MIT | 1 month ago | |
| spatie/typescript-transformer | Convert your PHP and Laravel types into TypeScript automatically. spatie/typescript-transformer scans classes, enums, and DTOs, then generates matching TS definitions to keep front-end types in sync with your backend and reduce duplication. | 372 | — | 54 | — | 3 | 24.5 | 1.8 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?