Ross ROSS = Recommend OSS · open-source software intelligence for agents

opis/closure

Some data may be outdated — see provenance labels.

Serialize closures, anonymous classes, and arbitrary data observed · 2026-09-24

github.com/opis/closure · homepage · PHP · MIT (permissive) observed · 2026-09-24

Health v2 · maintenance only

71/100

  • Activity 62
  • Release rhythm 66
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.

  • gap_med: 2
  • age_days: 4636
  • days_rel: 230
  • days_push: 230
  • n_releases_24m: 10

Full methodology

Adoption not part of the score

2571 stars · 94 forks observed · 2026-09-24

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Opis Closure is a PHP library that serializes closures, anonymous classes, and arbitrary data, overcoming PHP's native serialization limitations. It supports PHP 8.x syntax, circular references, custom serializers, and cryptographically signed data.

Use cases

  • serialize closures in php
  • serialize anonymous classes
  • queue closures for later execution
  • cache serializable closures
  • sign serialized data cryptographically
  • serialize arbitrary php objects with circular references

When to choose

  • you need to serialize closures or anonymous classes in PHP 8+
  • you need serialization without PHP extensions like FFI
  • you need cryptographically signed serialized data
  • you need debugger-friendly reconstructed closure code

When to avoid

  • your project runs on PHP 7.x (use version 3.x instead)
  • you only serialize plain data PHP handles natively
  • you need cross-language serialization formats like JSON or protobuf

Facets

library · maturity stable

serialization developer-tools programming-languages php closures anonymous-classes php-library data-signing

3 sources

Member repositories

RepositoryRoleHealth v2
opis/closuremain71

For agents

markdown · JSON · MCP: product_card(name="opis/closure")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem