Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Closure Laravel Package

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.

View on GitHub
Deep Wiki
Context7
4.5.0
  • Fixed nested re-serialization #163
4.4.0
  • PHP 8.5 support (#162)
3.7.0
  • Fixed PHP 8.4 deprecations
4.3.1
  • Fixed reference bug #154
4.3.0
  • Proper serialization of private properties
  • Improved serialization/deserialization of properties having hooks (PHP 8.4)
  • Skip virtual properties (PHP 8.4)
  • Added Opis\Closure\clear_cache()
  • Added Opis\Closure\get_raw_properties()
4.2.1
  • Improved generic object serialization
4.2.0
  • Added support for anonymous classes (also supports closures bound to anonymous classes)
  • Fixed closure scope for some edge cases
  • Improved parsers
4.1.0
  • Improved closure parser
  • Improved array & object serialization/unserialization
  • Added ClosureInfo::getClosure()
  • Fixed ClosureInfo::getFactory() bindings and marked the method as internal
4.0.1

Fixes

  • unserialization cache error #149
4.0.0
  • complete rewrite of the library
  • no dependencies
  • arbitrary data serialization
  • full PHP 8.x support
3.6.3
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport