[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#951665: ITP: php-opis-closure -- serializable closures (anonymous functions) for PHP



Package: wnpp
Severity: wishlist
Owner: Robin Gustafsson <robin@rgson.se>
Control: block 951159 by -1

* Package name    : php-opis-closure
  Version         : 3.5.1
  Upstream Author : Marius Sarca <marius.sarca@gmail.com>
* URL             : https://github.com/opis/closure
* License         : MIT
  Programming Lang: PHP
  Description     : 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 the bound object of a closure
  needs to be serialized in order for the closure to work after deserialization


This package is a dependency of php-laravel-framework (ITP #951159).

I plan to maintain this package within the Debian PHP PEAR Maintainers team.


Reply to: