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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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(). | 603 | 605 | 47 | 11M | 1 | 33.2 | 65.5 | MIT | 1 month ago | |
| 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 | 182K | 0 | 14.5 | 28.1 | MIT | 8 years ago |
How can I help you explore Laravel packages today?