Container
Small but powerful dependency injection container (by thephpleague)
Disco
PSR-11 compatible Dependency Injection Container for PHP. (by bitExpert)
Container | Disco | |
---|---|---|
2 | - | |
830 | 138 | |
0.7% | 0.0% | |
5.7 | 0.0 | |
20 days ago | over 2 years ago | |
PHP | PHP | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Container
Posts with mentions or reviews of Container.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
Which DI container do you use and why?
When not using a framework like Laravel, I'm using https://container.thephpleague.com/ because it has as simple API while providing: service providers, delegate containers, inflectors (think decorators) and auto-wiring
- Qual conceito de programação você tem dificuldade de entender?
Disco
Posts with mentions or reviews of Disco.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning Disco yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing Container and Disco you can also consider the following projects:
PHP-DI - The dependency injection container for humans
Pimple - A small PHP dependency injection container
Symfony DI - Allows you to standardize and centralize the way objects are constructed in your application
zend-servicemanager
Nette DI - 💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features.
Auryn - IoC Dependency Injector
ClanCats Container - 🚀 PHP Service Container with fast and cachable dependency injection.
Acclimate - Adapters for PHP framework containers to an interoperable interface