Improving @PHPDI 7 based on feedback: it will support PHP 8 #[Inject] attributes at the parameter level too.
github.com/PHP-DI/PHP-DI/pul…
(v7.0 is still in beta for now)
PHP-DI is 7 years old and passed 3 million downloads 🎉 I don't talk much about it because it is now super stable! It's perfect with Slim/Expressive to build small APIs and websites. Latest release was last week with an improvement for containers/Heroku
github.com/PHP-DI/PHP-DI
Late sunday release: PHP-DI's bridge now supports @Slimphp v4!
Thanks to PSR-11, both were already compatible, but the bridge provides awesome features for dependency and parameter injection in controllers and middlewares. 💚 to contributors!
php-di.org/doc/frameworks/sl…
Really liking where this is going, no boot strapping what so ever in the skeleton app and loading everything (even the App) through @PHPDI. (The container factory takes care of gathering all the definitions and configuration (also passed into the container).) #php
PHP-DI 6.0 is released! 🚀
This version brings major performance improvements (the container can now be compiled!) and aims for an even simpler and clearer configuration!
php-di.org/news/22-php-di-6-…
PHP-DI 6 will be a compiled container!
This allows huge performance gains, for example externals.io's homepage got 32% faster by simply switching to the latest v6 beta.
👉 php-di.org/news/21-php-di-6-…
PHP-DI 6.0.0-beta2 has been published, it addresses a performance regression and also brings unrelated performance improvements: github.com/PHP-DI/PHP-DI/rel… Test and report, the next one should be the stable release! 🤞
Status update for v6: a performance regression was reported with the beta for one use case, there is a fix underway (which actually improves performances overall). Check out #564 and #566 if interested and report results. Next beta soon and it should be the last!