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

symfony/deprecation-contracts

A generic function and convention to trigger deprecation notices observed · 2026-08-28

github.com/symfony/deprecation-contracts · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

87/100

  • Activity 89
  • Release rhythm 78
  • 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: 52
  • age_days: 2398
  • days_rel: 67
  • days_push: 67
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

2099 stars · 10 forks observed · 2026-08-28

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

A minimal PHP package providing a single global `trigger_deprecation()` function and convention for emitting deprecation notices from libraries. The notices can be captured and logged via a custom error handler such as Symfony's ErrorHandler component.

Use cases

  • trigger deprecation notices in a php library
  • warn users about deprecated api usage
  • log silenced deprecations in dev and prod
  • manage backward compatibility warnings across package versions
  • standardize deprecation messages in composer packages

When to choose

  • you maintain a PHP library or Symfony component and need a standard way to mark APIs as deprecated
  • you want deprecations to be catchable and loggable by error handlers
  • you need a tiny dependency with no runtime overhead

When to avoid

  • you need a full deprecation detection or static analysis tool rather than a trigger convention
  • your project is not PHP-based
  • you want automatic code migration suggestions

Facets

library · maturity stable

logging error-handling developer-tools developer-tools apis php cli deprecation-notices symfony-contracts php-library backward-compatibility php

6 sources

Member repositories

RepositoryRoleHealth v2
symfony/deprecation-contractsmain87

For agents

markdown · JSON · MCP: product_card(name="symfony/deprecation-contracts")

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