serializable closures (anonymous functions) for PHP


PHP library that can be used to serialize closures (anonymous functions) and arbitrary objects. It aims to overcome PHP's limitations regarding closure serialization by providing a wrapper that will make all closures serializable.

Key features:
 * Serializes any closure and arbitrary objects
 * Doesn't use eval for closure serialization or unserialization
 * Handles all variables referenced in use(), recursive closures, static
   closures and magic constants
 * Automatically resolves all class names, function names and constant names
   used inside the closure
 * Track closure's residing source by using the #trackme directive
 * Simple and very fast parser
 * Proper exception handling for unserialized closures
 * Supports cryptographically signed closures
 * Provides a reflector for serialized closures
 * Automatically detects when the scope and/or bound object of a closure needs
   to be serialized in order for the closure to work after deserialization

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install php-opis-closure