Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 PHP Dependency Injection Projects
-
hyperf
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
-
Symfony DI
Allows you to standardize and centralize the way objects are constructed in your application
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Nette DI
💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features. (by nette)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
di52
The dependency injection container for streamlined WordPress development. Easily manage and inject dependencies for efficient and hassle-free app creation.
-
ClanCats Container
🚀 PHP Service Container with fast and cachable dependency injection. (by ClanCats)
-
di
Lightweight and easy-to-use dependency injection library for PHP to simplify object management and promote loose coupling. (by commonphp)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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
The language is not that important, if you know Php, you learn another one in weeks (not you, Rust!) important and source of income is the knowledge of Design patterns and for what implementation to use which specific Pattern. PHP have a great ecosystem regarding design patterns. As there are the psr. Mostly, the Frameworks implement these recommendations: - dependency injection in Symfony, yii and spiral - Data Mapper implemented in doctrine or in cycle-orm.
Project mention: Another question about preferred MVC frameworks that are not Laravel or Symfony | /r/PHP | 2023-12-07
For WordPress plugins: lucatume/DI52
Project mention: The Evolution of CommonPHP Framework: Thanks to Your Input | /r/PHPhelp | 2023-06-28Leading me to - https://github.com/commonphp/di/blob/master/src/ServiceContainer.php
PHP Dependency Injection related posts
- Which DI container do you use and why?
- The Evolution of CommonPHP Framework: Thanks to Your Input
- Reusing PHP code (with GIFs)
- In your opinion, which existing PHP framework can become as popular as Symphony or Laravel?
- Qual conceito de programação você tem dificuldade de entender?
- Any good no framework PHP MYSQL web app in github, I can learn from?
- 7 WordPress Best Practices For Real Engineers
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 Apr 2024
Index
What are some of the best open-source Dependency Injection projects in PHP? This list will help you:
Project | Stars | |
---|---|---|
1 | hyperf | 5,929 |
2 | Symfony DI | 4,049 |
3 | Pimple | 2,627 |
4 | PHP-DI | 2,623 |
5 | Nette DI | 850 |
6 | Container | 827 |
7 | Opulence | 729 |
8 | Auryn | 726 |
9 | Aura PHP | 347 |
10 | Acclimate | 217 |
11 | di | 178 |
12 | Disco | 138 |
13 | aphiria | 137 |
14 | php-di-container-benchmarks | 73 |
15 | di52 | 54 |
16 | ClanCats Container | 30 |
17 | laravel-autowire-config | 12 |
18 | syringe | 11 |
19 | php-dependency-injection | 6 |
20 | di | 5 |
21 | garden-container | 2 |
22 | wire-genie | 2 |
23 | kaly | 1 |
Sponsored