opis/closure
Serializable closures for PHP: safely capture and transport anonymous functions across processes or requests. Useful for caching, queues, sessions, and distributed jobs, with support for binding, scope, and restoring closures without manual refactoring.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jeremeamia/superclosure | 0.83 | Serialize and unserialize PHP Closures/anonymous functions, including use() context, via fast TokenAnalyzer or more robust AstAnalyzer. Note: project is no longer maintained; consider using opis/closure instead. | 1,708 | 1,715 | 94 | 155K | 0 | 34.5 | 31.9 | MIT | 8 years ago | |
| laravel/serializable-closure | 0.82 | Securely serialize and unserialize PHP closures with Laravel’s maintained fork of opis/closure 3.x, updated for modern PHP without requiring FFI. Wrap closures in SerializableClosure, set a secret key, and safely persist or transport executable callbacks. | 599 | 602 | 47 | 10M | 2 | 34.6 | 67.1 | MIT | 2 days ago | |
| kubawerlos/php-cs-fixer-custom-fixers | 0.65 | Adds a curated set of custom fixers for PHP-CS-Fixer to enforce consistent, opinionated code style beyond the built-in rules. Plug in the fixers, combine with your config, and keep large PHP codebases clean and uniform. | 238 | 239 | 26 | 344K | 4 | 32.0 | 52.2 | MIT | 1 month ago | |
| testo/testo | 0.65 | Testo is an extensible PHP testing framework with a lightweight core and middleware-based plugins. Configure suites and plugins in testo.php, run tests from tests/ by default, and add inline tests, assertions, and benchmarking when needed. | 156 | 135 | 5 | 99 | 14 | 31.3 | 8.7 | BSD-3-Clause | 2 days ago |
How can I help you explore Laravel packages today?