PSR-11

E452843

PSR-11 is a PHP standard that defines a common interface for dependency injection containers, enabling interoperable service retrieval across frameworks and libraries.

All labels observed (3)

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf PHP standard recommendation ⓘ
PHP-FIG standard ⓘ
aimsTo enable interoperability between containers ⓘ
standardize service retrieval across frameworks and libraries ⓘ
allows using different containers behind a common interface ⓘ
appliesTo applications ⓘ
frameworks ⓘ
libraries ⓘ
belongsTo PHP-FIG ⓘ
category PHP interoperability standard ⓘ
defines common interface for dependency injection containers ⓘ
container interface ⓘ
service container interface ⓘ
definesBehaviorFor container-related exceptions ⓘ
missing service retrieval ⓘ
successful service retrieval ⓘ
definesException Psr\Container\Exception\ContainerExceptionInterface ⓘ
Psr\Container\Exception\NotFoundExceptionInterface ⓘ
documentationUrl https://www.php-fig.org/psr/psr-11/ ⓘ
enables plug-and-play container implementations ⓘ
reusable libraries independent of specific containers ⓘ
ensures consistent container access API ⓘ
consistent error handling for container access ⓘ
focusesOn dependency injection containers ⓘ
service retrieval ⓘ
governs how entries are fetched from a container ⓘ
how existence of entries is checked in a container ⓘ
hasFullName PHP-FIG PSR-11: Container Interface ⓘ
linked to: PSR-11
hasKeyInterface Psr\Container\ContainerInterface ⓘ
linked to: PSR-11

Psr\Container\Exception\ContainerExceptionInterface ⓘ
Psr\Container\Exception\NotFoundExceptionInterface ⓘ
hasLanguage PHP ⓘ
hasMethodCount 2 public methods in ContainerInterface ⓘ
hasPrimaryGoal framework-agnostic service retrieval ⓘ
interoperable container usage ⓘ
hasStatus accepted ⓘ
hasType interface specification ⓘ
maintainedBy PHP Framework Interop Group ⓘ
namespace Psr\Container ⓘ
relatedTo dependency injection ⓘ
inversion of control ⓘ
service container ⓘ
specifiesMethod Psr\Container\ContainerInterface::get(string $id) ⓘ
Psr\Container\ContainerInterface::has(string $id) ⓘ
usedFor checking service availability in a container ⓘ
retrieving services from a container ⓘ
version 1.0.0 ⓘ

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

Slim Framework → supports → PSR-11 ⓘ
PSR-11 → hasFullName → PHP-FIG PSR-11: Container Interface ⓘ
linked to: PSR-11
PSR-11 → hasKeyInterface → Psr\Container\ContainerInterface ⓘ
linked to: PSR-11