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,707 | 1,715 | 94 | 151K | 0 | 14.5 | 26.9 | MIT | 8 years ago | |
| laravel/serializable-closure | 0.83 | Securely serialize and unserialize PHP closures with Laravel’s fork of opis/closure 3.x, updated for modern PHP without requiring FFI. Wrap closures in SerializableClosure, set a secret key for signing, serialize safely, then restore with getClosure(). | 608 | 609 | 49 | 14M | 0 | 35.2 | 64.9 | MIT | 4 weeks ago |
How can I help you explore Laravel packages today?