spatie/temporary-directory
Spatie's PHP package quickly creates, uses, and deletes temporary directories in the system's temp folder. Chainable methods handle custom naming, path helpers, and automatic cleanup of every file inside when the directory is deleted.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/typed | 0.93 | Userland improved PHP type system with type inference and runtime checking: generics, union types, typed collections/lists, tuples, and structs. Proof-of-concept package from Spatie to add stronger type guarantees without language-level support. | 316 | 317 | 15 | 18 | 0 | 1.9 | 0.2 | MIT | 5 years ago | |
| spatie/url | 0.93 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 738 | 751 | 59 | 679K | 0 | 12.4 | 40.9 | MIT | 2 years ago | |
| spatie/once | 0.93 | A tiny PHP helper to run code only once per request. Cache expensive computations or object initialization in a single spot, keyed automatically by the call site. Great for computed properties, accessors, and avoiding duplicate work. | 1,443 | 1,450 | 62 | 328K | 0 | 33.8 | 38.0 | MIT | 2 weeks ago | |
| spatie/visit | 0.92 | Human-friendly curl for the terminal. Visit any URL and display its response with colorized output (HTML via bat, JSON via jq), plus status code and response time. Supports custom HTTP methods and options like following redirects. | 390 | 390 | 14 | 2 | 0 | 7.5 | 0.0 | — | 1 year ago | |
| spatie/sun | 0.92 | Compute sun position times for any coordinates: get sunrise, solar noon (zenith), and sunset as Carbon instances, optionally for a specific date. Simple PHP API from Spatie, ideal for scheduling, dashboards, and daylight-aware features. | 75 | 77 | 14 | 8K | 0 | 4.5 | 28.3 | MIT | 11 months ago | |
| spatie/test-time | 0.92 | Control time in tests with Spatie TestTime—freeze or advance Carbon-based timestamps dynamically for time-sensitive assertions. Simplify testing date-dependent logic by manually adjusting time without altering real-world clocks. Works seamlessly with Carbon’s methods like addYear(), subDay(), or cus... | 208 | 208 | 9 | 246K | 0 | 5.2 | 42.4 | MIT | 2 years ago | |
| spatie/fractalistic | 0.92 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 383 | 385 | 32 | 429K | 0 | 17.2 | 44.3 | MIT | 8 months ago | |
| spatie/image | 0.92 | spatie/image provides an expressive, chainable PHP API for common image manipulation. Resize to fit a bounding box without altering aspect ratio, apply greyscale, adjust brightness and quality, rotate, sharpen, and save or overwrite images in just a few lines. Ideal for Laravel and PHP apps. | 1,367 | 1,389 | 143 | 4M | 0 | 40.9 | 56.6 | MIT | 3 days ago | |
| spatie/async | 0.92 | Run PHP tasks in parallel with a simple Pool API built on PCNTL. Add closures, handle results via then/catch, and wait for completion. Ideal for speeding up batch jobs, CPU-heavy work, and IO-bound processing with multiple processes. | 2,808 | 2,823 | 185 | 179K | 0 | 33.5 | 26.2 | MIT | 8 months ago | |
| spatie/7to5 | 0.92 | Abandoned. Converts PHP 7.0 code to PHP 5, useful when developing on PHP 7 but deploying to PHP 5. Provides a CLI to convert entire directories and rewrites features like anonymous classes, type hints, return types, and null coalescing. | 177 | 175 | 32 | 46 | 0 | 2.6 | 1.0 | MIT | 8 years ago | |
| spatie/string | 0.89 | spatie/string is a PHP package for fluent, chainable string handling. Wrap any native string with the string() helper, then chain methods like between, toUpper, and toLower, or use array-style offsets to read and modify individual characters easily. | 559 | 570 | 26 | 20K | 0 | 19.3 | 23.3 | MIT | 6 months ago | |
| spatie/query-string | 0.89 | Manipulate URLs by building and updating query strings in PHP. Toggle parameters or values, add JSON:API-style filters and sorts, and manage pagination. Useful for generating links and keeping state in apps without manual query parsing. | 161 | 162 | 9 | 19K | 0 | 2.0 | 28.8 | MIT | 5 years ago | |
| spatie/file-system-watcher | 0.89 | 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. | 251 | 251 | 25 | 1M | 0 | 6.0 | 50.2 | MIT | 11 months ago | |
| spatie/browsershot | 0.89 | Browsershot renders web pages to images or PDFs using Puppeteer and headless Chrome. Accept HTML, local files, or URLs, run JavaScript, capture body HTML and triggered requests, and customize headless behavior from PHP. | 5,252 | 5,311 | 506 | 3M | 0 | 69.4 | 44.6 | MIT | 1 week ago | |
| spatie/backtrace | 0.86 | Spatie's PHP package offers a cleaner alternative to debug_backtrace for working with backtraces. Create a Backtrace instance, get an array of Frame objects, and easily read each frame's file, line number, class, method, arguments, and object. | 438 | 443 | 28 | 9M | 0 | 17.7 | 58.6 | MIT | 7 months ago | |
| spatie/fork | 0.85 | Run PHP code concurrently with spatie/fork, which forks the main process into child tasks. Pass multiple closures to run at the same time, then collect results in order. Requires PHP 8 and the pcntl extension, and works in CLI only, not web contexts. | 1,050 | 1,052 | 120 | 310K | 0 | 34.8 | 40.1 | MIT | 1 day ago | |
| spatie/laravel-directory-cleanup | 0.83 | Automatically delete old files from specified directories in Laravel. Configure per-path age limits (in minutes) via a published config file, then run cleanup to keep temp, cache, and upload folders tidy. Supports auto service provider registration in Laravel 5.5+. | 305 | 308 | 33 | 55K | 0 | 15.4 | 32.9 | MIT | 8 months ago | |
| spatie/laravel-export | 0.83 | Laravel Export scans your Laravel app, renders every crawled URL to HTML, and bundles the public directory into a static site saved to disk. Build blogs or sites with familiar Laravel tools, then upload the export to Netlify, GitHub Pages, or any static host—no server required. | 698 | 700 | 63 | 11K | 0 | 32.6 | 19.8 | MIT | 1 week ago | |
| spatie/laravel-backup | 0.82 | Create a zip backup of your Laravel app's files and database, store it on any configured filesystem or multiple at once, monitor backup health, get notified when problems arise, and automatically clean up old backups. Run php artisan backup:run. | 6,027 | 6,119 | 785 | 2M | 0 | 69.1 | 40.2 | MIT | 1 month ago | |
| spatie/db-dumper | 0.82 | Spatie's PHP package for dumping databases via a clean, fluent API. Supports MySQL, MariaDB, PostgreSQL, SQLite, and MongoDB, wrapping mysqldump, pg_dump, sqlite3, and mongodump behind one consistent interface. | 1,180 | 1,201 | 158 | 2M | 0 | 29.7 | 49.1 | MIT | 6 months ago |
How can I help you explore Laravel packages today?