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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow PHP-DI

PHP-DI Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP-DI!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PHP

Related Categories

PHP Container Management Software

Registered

2025-05-15