Latest news

PHP-DI 5.4 released

I am happy to announce that PHP-DI version 5.4 has been released. Here is the list of changes in this new version.

Read More >

PHP-DI 5.3 released

I am happy to announce that PHP-DI version 5.3 has been released. The changes in this new version are:

Read More >

Introducing the PHP-DI bridge for Slim

Slim 3 was released 3 months ago and it was significant. It is one of the first frameworks to integrate the latest standards and concepts in its core:

Read More >

PHP-DI 5.2 released

I am happy to announce that PHP-DI version 5.2 has been released. This new version comes with:

Read More >

PHP-DI 5.1 released

I am happy to announce that PHP-DI version 5.1 has been released. This new version comes with:

Read More >

PHP-DI 5.0 released

I am very excited to announce that, after 8 months of work, PHP-DI 5.0 is released.

Note: If you have never heard of PHP-DI before, I recommend you to visit the home page to get an overview of what PHP-DI can do for you.

Read More >

Syntactic sugar in PHP-DI 5

It's been quite some time since there was a bit of news here. The reason is that a lot of work has been done for PHP-DI 5! It is not yet ready, but it is coming along great!

I am not going to list everything that will be included in this next major version today. For now I'll simply give you a glimpse of the syntactic sugar that it will bring.

Read More >

PHP-DI 4.4 released

I am happy to announce that PHP-DI version 4.4 has been released. This version contains mainly improvements to the Container::call() feature, and contains no BC-break.

Read More >

PHP 5.6 is out and PHP-DI just got better

PHP 5.6 has been released a month ago and PHP-DI just got better because of it!

As explained 9 months ago when I introduced the new definition format for PHP-DI 4, that format has been thought for the future.

Read More >

PHP-DI 4.3 released

I am happy to announce that PHP-DI version 4.3 has been released. This version contains features that have all been implemented by contributors other than me, this is very encouraging :) This is also the quickest release, since 4.2 was released only 14 days ago.

It comes without any BC break, and with a new main feature: DI\env() to import environment variables.

Read More >

PHP-DI 4.2 released

I am happy to announce that PHP-DI version 4.2 has been released.

Read More >

PHP-DI 4.1 released

I am happy to announce that PHP-DI version 4.1 has been released. This version was focused on stability and documentation improvements, with full backward compatibility.

Read More >

10.000 installs!

PHP-DI just reached 200 stars on GitHub and 10 000 installs through Packagist!

Read More >

PHP-DI 4.0 released

I am extremely happy to announce that, after 4 months of work and more than 150 commits, PHP-DI version 4.0 has been released! This is a new major release, and it delivers. As indicated by "major release", it comes with BC breaks, but this is for the better.

Read More >

What will change in PHP-DI 4: the new definition format

In PHP-DI 4, the definition format will change. Autowiring and Annotations are still there, but the YAML and PHP array definitions have disappeared. Let's see why.

Read More >