# jeremeamia/super_closure

Serialize closures. Not maintained. Consider using opis/closure.

Repository: https://github.com/jeremeamia/super_closure
Canonical: https://ross.abutalabs.com/products/super_closure
Language: PHP
License: MIT
License Family: permissive
Last push: 2023-07-21T07:03:17+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6069, "days_push": 1139, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1707, forks 94 (observed 2026-08-28T04:05:24.980363+00:00)

## What it is
A PHP library that enables serializing and unserializing closures and anonymous functions, which PHP does not allow natively. It offers two analyzers (token-based and AST-based) with different feature and performance tradeoffs.

## Use cases
- serialize a PHP closure to store it in a cache or database
- pass an anonymous function between processes or over a queue
- persist a callback with its bound context for later execution
- unserialize a closure definition back into a callable

## When to choose
- you are stuck on a legacy PHP codebase that already depends on it
- you need closure serialization and cannot migrate to a maintained alternative

## When to avoid
- you are starting a new project - use opis/closure instead
- you need security fixes or support for modern PHP versions
- your closures rely on features only newer PHP runtimes provide

## Facets
- artifact type: library
- maturity: abandoned
- function: serialization
- domain: developer-tools, programming-languages
- platform: php
- tags: closures, php, serialization, abandoned

## Member repositories
- jeremeamia/super_closure (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.980363+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:27.032208+00:00, confidence not recorded.
  - readme: https://github.com/jeremeamia/super_closure (fetched 2026-08-28T04:05:24.980363+00:00, sha 4a85ff434ea8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
