Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Container Laravel Package

psr/container

The PSR-11 Container Interface defines core abstractions for dependency injection in PHP. It’s a standard abstraction, not an implementation—used by DI containers like Laravel’s Illuminate\Container. Essential for dependency management, ensuring interoperability across container implementations.

View on GitHub
Deep Wiki
Context7
1.1.2

Added

  • This release reverts the removal of the previous patch, re-adding the extension of Throwable by Psr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required
2.0.2

Added

  • This release reverts the removal of the previous patch, re-adding the extension of Throwable by Psr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required
2.0.1

Removed

  • This release removes the extension of Throwable by Psr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement the Throwable interface in addition to ContainerInterface under PHP versions prior to 7.4.
1.1.1

Removed

  • This release removes the extension of Throwable by Psr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement the Throwable interface in addition to ContainerInterface under PHP versions prior to 7.4.
2.0.0

Changed

  • This release adds the bool return typehint to Psr\Container\ContainerInterface::has(), in accordance with the PSR-11 type additions errata.
1.1.0

Changed

  • This release modifies Psr\Container\ContainerExceptionInterface to extend the Throwable interface, ensuring that any implementation can actually be thrown as an exception type (the original intention of the specification).

  • This release adds the string typehint to the $id argument of each of the Psr\Container\ContainerInterface::get() and Psr\Container\ContainerInterface::has() methods. These were previously documented in the annotations and specification, and are added to the interfaces as part of the PSR-11 type additions errata.

Removed

  • This release removes support for PHP versions prior to 7.2.0.
1.0.0

Initial stable release, following acceptance of PSR-11.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport