# container-interop/container-interop

Containers interoperability

Repository: https://github.com/container-interop/container-interop
Canonical: https://ross.abutalabs.com/products/container-interop
Language: PHP
License: MIT
License Family: permissive
Last push: 2021-10-28T13:37:23+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4656, "days_push": 1770, "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 1245, forks 44 (observed 2026-08-28T04:04:06.973700+00:00)

## What it is
A PHP library defining common interfaces for dependency injection containers and service locators to achieve interoperability. It served as the test bed for PSR-11 and is now deprecated in favor of PSR-11, which its interfaces directly extend.

## Use cases
- standardize dependency injection container interfaces in PHP
- make a PHP container compatible with PSR-11
- write container-agnostic PHP libraries
- implement delegate lookup pattern between containers
- consume any DI container through a common interface

## When to choose
- maintaining legacy PHP code that already depends on container-interop interfaces
- studying the history of PSR-11 or the delegate lookup design pattern

## When to avoid
- starting a new PHP project - use PSR-11 (psr/container) instead
- you need the delegate lookup feature as a maintained package
- you want actively maintained container interfaces

## Facets
- artifact type: library
- maturity: abandoned
- function: middleware, developer-tools
- domain: backend, web-development, developer-tools
- platform: php
- tags: psr-11, dependency-injection, service-container, interoperability, deprecated

## Member repositories
- container-interop/container-interop (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.973700+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-30T05:08:08.529499+00:00, confidence not recorded.
  - readme: https://github.com/container-interop/container-interop (fetched 2026-08-28T04:04:06.973700+00:00, sha 1c57c5a58c24)
- Data as of 2026-08-30T08:39:29.467469+00:00.
