PHPackages                             acfatah/serializable-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. acfatah/serializable-closure

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

acfatah/serializable-closure
============================

A class that enables serialization of closure.

054[1 PRs](https://github.com/acfatah/serializable-closure/pulls)PHP

Since Sep 2Pushed 9y agoCompare

[ Source](https://github.com/acfatah/serializable-closure)[ Packagist](https://packagist.org/packages/acfatah/serializable-closure)[ RSS](/packages/acfatah-serializable-closure/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Serializable Closure
====================

[](#serializable-closure)

[![Build Status](https://camo.githubusercontent.com/f3b0d7a2ab4ecdba5af55c7bbc2352af2848f0d6220bd21a986feb3f62893050/68747470733a2f2f7472617669732d63692e6f72672f616366617461682f73657269616c697a61626c652d636c6f737572652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/acfatah/serializable-closure)[![Coverage Status](https://camo.githubusercontent.com/de6a90c94d997e9ae9db7f7738104e5cf343bdadb6eb465bc54127659fb94cc2/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f616366617461682f73657269616c697a61626c652d636c6f737572652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/acfatah/serializable-closure?branch=master)

A class that enables serialization of closure.

```
$serializable = new Acfatah\SerializableClosure\SerializableClosure(
    function () {
        // this closure does something...
    }
);

```

Or,

```
$serialized = Acfatah\SerializableClosure\Serializer::serialize(
    function () {
        // this closure does something...
    }
);

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb6e5fb842cef25ea0266379b7918ea8e6d0cac4f4971bcc9ebdc6a3e91ab99a?d=identicon)[acfatah](/maintainers/acfatah)

---

Top Contributors

[![acfatah](https://avatars.githubusercontent.com/u/961643?v=4)](https://github.com/acfatah "acfatah (16 commits)")

### Embed Badge

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

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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