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

league/container

PSR-11–compliant dependency injection container from The PHP League. Register services, factories and shared instances, then resolve dependencies with autowiring support. Modern PHP (8.3+) with full docs, tests, and MIT license.

View on GitHub
Deep Wiki
Context7

Container (Dependency Injection)

Author Latest Version Software License GitHub Actions Workflow Status Total Downloads

This package is compliant with PER-CS, PSR-4 and PSR-11. If you notice compliance oversights, please send a patch via pull request.

Install

Via Composer

composer require league/container

Requirements

This version supports the following versions of PHP.

  • PHP 8.3
  • PHP 8.4
  • PHP 8.5

Documentation

Container has full documentation, powered by Jekyll.

Contribute to this documentation in the docs/ subdirectory.

Testing

Testing includes Pest and PHPStan (Level 8).

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email philipobenito@gmail.com instead of using the issue tracker.

Credits

License

The MIT Licence (MIT). Please see Licence File for more information.

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