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

opis/closure

Serialize closures, anonymous classes, and arbitrary data observed · 2026-08-28

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

Health v2 · maintenance only

77/100

  • Activity 70
  • Release rhythm 73
  • Longevity 100
How is this computed?

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

  • gap_med: 2
  • age_days: 4587
  • days_rel: 181
  • days_push: 181
  • n_releases_24m: 10

Full methodology

Adoption not part of the score

2571 stars · 94 forks observed · 2026-08-28

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/closuremain77

For agents

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

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem