Download the PHP package themehybrid/hybrid-serializable-closure without Composer
On this page you can find all versions of the php package themehybrid/hybrid-serializable-closure. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download themehybrid/hybrid-serializable-closure
More information about themehybrid/hybrid-serializable-closure
Files in themehybrid/hybrid-serializable-closure
Package hybrid-serializable-closure
Short Description Hybrid Core Serializable Closure provides an easy and secure way to serialize closures in PHP.
License GPL-2.0-or-later
Homepage https://github.com/themehybrid/hybrid-serializable-closure
Informations about the package hybrid-serializable-closure
Hybrid Serializable Closure
Hybrid Serializable Closure provides an easy and secure way to serialize closures in PHP.
Requirements
- PHP 8.2+.
- Composer for managing PHP dependencies.
Installation
First, install Hybrid Core Serializable Closure via the Composer package manager:
Usage
You may serialize a closure this way:
Caveats
- Multiple closures defined on the same source line with identical signatures may not be distinguishable after serialization. Place each closure on its own line to avoid this.
Copyright and License
This project is licensed under the GNU GPL, version 2 or later.
2008 – 2026 © Theme Hybrid.
Third-Party Licenses
Hybrid Serializable Closure utilizes code from Laravel.
Repository: https://github.com/laravel/serializable-closure
License: MIT License, included in full in LICENSE-laravel.md.
Copyright (c) Taylor Otwell
The test suite in qa/ is ported from the same repository, under the same
license.