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

aimeos/macro

Customize code using closures observed · 2026-08-28

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

Health v2 · maintenance only

60/100

  • Activity 62
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

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

  • gap_med: n/a
  • age_days: 1735
  • days_rel: n/a
  • days_push: 233
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2431 stars · 1 forks observed · 2026-08-28

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

A PHP library providing a Macroable trait that lets developers add closure-based extension points to their classes, allowing users to override or extend methods without subclassing. It uses pure PHP methods with no reflection and supports macro inheritance and access to class properties.

Use cases

  • let users customize framework behavior without extending classes
  • add extension points to library methods using closures
  • override method results in base classes via registered macros
  • allow macros to access private class properties
  • inherit and overwrite macros from parent classes
  • lightweight alternative to class-based dependency injection for small hooks

When to choose

  • you build an application, framework, or library meant for user customization
  • you need simple extension points where full DI with interfaces is overkill
  • you want closures that behave like inherited, overridable methods

When to avoid

  • you need strict static analysis or interface contracts on injected behavior
  • you require full class-based dependency injection with type-safe implementations

Facets

library · maturity stable

middleware plugin-system developer-tools developer-tools web-development programming-languages php macros closures dependency-injection trait extensibility method-overriding

2 sources

Member repositories

RepositoryRoleHealth v2
aimeos/macromain60

For agents

markdown · JSON · MCP: product_card(name="aimeos/macro")

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