Top 6 PHP di-container Projects
-
Nette DI
💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 8 features. (by nette)
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
-
definitions
The package provides definition syntax. Definition is describing a way to create and configure a service or an object.
-
di
Lightweight and easy-to-use dependency injection library for PHP to simplify object management and promote loose coupling. (by commonphp)
-
cloud-casstle-di-container
⚡ High-performance PSR-11 DI container for PHP 8.1+ | 500k op/s | 3-4x faster than Symfony DI | Autowiring, Attributes, Compiled Container
Project mention: Building the Fastest DI Container for PHP: CloudCastle DI v2.0 | dev.to | 2025-10-16GitHub: https://github.com/zorinalexey/cloud-casstle-di-container Documentation: See repo for 4-language docs Test Reports: Detailed comparisons included 🤝 Contributing
PHP di-container discussion
PHP di-container related posts
Index
What are some of the best open-source di-container projects in PHP? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | Nette DI | 914 |
| 2 | Aura PHP | 353 |
| 3 | di | 230 |
| 4 | definitions | 15 |
| 5 | di | 6 |
| 6 | cloud-casstle-di-container | 5 |