PHP-DI is licensed under the MIT License.

Set up

$ git clone
$ curl -s | php
$ php composer.phar install

If you are running Windows or are having trouble, read the official documentation.

Run the tests

The tests are run with PHPUnit:

$ phpunit

Learning the internals

Read the How it works documentation.

What to do?

Coding style

The code follows PSR0, PSR1 and PSR2.

Also, do not hesitate to add your name to the author list of a class in the docblock if you improve it.