PHPackages                             cyrrill/closure - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. cyrrill/closure

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

cyrrill/closure
===============

A library for PHP 5.3+ that can be used to serialize closures (anonymous functions).

1.3.0(11y ago)0221MITPHPPHP &gt;=5.3.0

Since Feb 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/cyrrill/closure)[ Packagist](https://packagist.org/packages/cyrrill/closure)[ Docs](http://www.opis.io/closure)[ RSS](/packages/cyrrill-closure/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

Closure
=======

[](#closure)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 77.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~41 days

Recently: every ~61 days

Total

7

Last Release

4231d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4865d908ef827f833422cf6a003f97d7bd15f87ca648304f5929cca14d6629b7?d=identicon)[cyrrill](/maintainers/cyrrill)

---

Top Contributors

[![msarca](https://avatars.githubusercontent.com/u/5808737?v=4)](https://github.com/msarca "msarca (52 commits)")[![sorinsarca](https://avatars.githubusercontent.com/u/3427195?v=4)](https://github.com/sorinsarca "sorinsarca (11 commits)")[![cyrgit](https://avatars.githubusercontent.com/u/116279446?v=4)](https://github.com/cyrgit "cyrgit (3 commits)")[![cyrrill](https://avatars.githubusercontent.com/u/2376084?v=4)](https://github.com/cyrrill "cyrrill (1 commits)")

---

Tags

serializeserializationserializableclosurefunctionanonymous functions

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cyrrill-closure/health.svg)

```
[![Health](https://phpackages.com/badges/cyrrill-closure/health.svg)](https://phpackages.com/packages/cyrrill-closure)
```

###  Alternatives

[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11120.2M21](/packages/anourvalar-eloquent-serialize)[jeremeamia/functionparser

Function parser for PHP functions, methods, and closures

48169.7k6](/packages/jeremeamia-functionparser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
