PHP-DI is a Dependency Injection (DI) container for PHP applications that promotes flexibility and modularity. It automates the process of injecting dependencies, reducing boilerplate code and making applications more maintainable. PHP-DI supports autowiring and integrates seamlessly with popular frameworks like Symfony and Laravel, offering a powerful solution for managing complex dependency graphs.
Features
- Automatic dependency injection using autowiring
- Supports constructor and method injection
- Compatible with PSR-11 for container interoperability
- Configuration through annotations or PHP files
- Lazy loading of services to optimize performance
- Integration with popular frameworks for seamless use
Categories
Container ManagementLicense
MIT LicenseFollow PHP-DI
Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database
Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHP-DI!