spatie/invade
Spatie's invade function lets you read, write, and call private properties and methods of any PHP object, including static ones, through a simple proxy—handy for testing or working with legacy code.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/test-time | 0.91 | 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 | 245K | 0 | 5.2 | 42.4 | MIT | 2 years ago | |
| spatie/7to5 | 0.91 | 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 | 47 | 0 | 2.6 | 1.0 | MIT | 8 years ago | |
| spatie/temporary-directory | 0.91 | 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. | 972 | 978 | 49 | 8M | 0 | 26.4 | 60.4 | MIT | 4 months ago | |
| spatie/fractalistic | 0.91 | 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/once | 0.91 | 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 | 326K | 0 | 33.9 | 38.0 | MIT | 2 weeks ago | |
| spatie/image | 0.91 | 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 | 2 days ago | |
| spatie/menu | 0.90 | Fluent, extensible menu builder for Laravel. Compose navigation with a clean API, render as HTML, and customize output via presenters and macros. Supports active state handling, links, submenus, and easy integration with Blade and your app’s routing. | 754 | 764 | 100 | 59K | 0 | 15.8 | 26.2 | MIT | 1 year ago | |
| spatie/blink | 0.90 | spatie/blink is a tiny in-memory cache for PHP apps. Store values for the current request to avoid repeated work like duplicate queries or expensive calculations. Simple API, no persistence—perfect for per-request memoization in Laravel and beyond. | 167 | 167 | 18 | 401K | 0 | 5.0 | 46.7 | MIT | 3 years ago | |
| spatie/fork | 0.90 | 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 | 306K | 0 | 35.1 | 40.1 | MIT | 2 days ago | |
| spatie/file-system-watcher | 0.90 | 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 | 987K | 0 | 6.2 | 50.1 | MIT | 11 months ago | |
| spatie/backtrace | 0.90 | 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 | 444 | 28 | 9M | 0 | 17.8 | 58.6 | MIT | 7 months ago | |
| spatie/query-string | 0.90 | 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/ignition | 0.90 | Spatie Ignition is a beautiful, customizable error page for PHP apps, with a dark mode and simple registration. Laravel, Symfony, and Drupal integrations are available. | 521 | 531 | 63 | 7M | 0 | 21.0 | 58.8 | MIT | 7 months ago | |
| spatie/html-element | 0.90 | Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. | 192 | 195 | 23 | 1K | 0 | 3.5 | 11.7 | MIT | 4 years ago | |
| spatie/async | 0.90 | 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,825 | 185 | 184K | 0 | 33.6 | 26.4 | MIT | 8 months ago | |
| spatie/ray | 0.90 | spatie/ray sends debug output from any PHP app to Ray, Spatie's desktop debugging app. Dump arrays, HTML, queries, and Markdown, measure performance, pause execution, and inspect output with the same syntax you use across Laravel, JavaScript, and more. | 624 | 627 | 102 | 2M | 0 | 35.7 | 55.7 | MIT | 1 day ago | |
| spatie/crypto | 0.90 | Generate RSA key pairs and encrypt/decrypt (and sign/verify) data using private/public keys in PHP. Provides simple wrappers around OpenSSL for better DX, with support for loading keys from files and writing generated keys to disk. | 484 | 487 | 60 | 32K | 0 | 11.5 | 26.2 | MIT | 9 months ago | |
| spatie/url | 0.88 | 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 | 683K | 0 | 12.5 | 41.0 | MIT | 2 years ago | |
| spatie/typed | 0.88 | 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/global-ray | 0.87 | Globally install this package to send debug output from any PHP app to Ray using ray(), rd(), dump(), and dd() in any PHP file, no per-project setup required. | 217 | 217 | 12 | 17K | 0 | 25.2 | 29.8 | MIT | 2 months ago |
How can I help you explore Laravel packages today?