Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.03 KB

CONTRIBUTING.md

File metadata and controls

49 lines (27 loc) · 1.03 KB

Contributing

PHP-DI is licensed under the MIT License.

Set up

  • Check out the sources using git or download them
$ git clone https://github.com/PHP-DI/PHP-DI.git
  • Install the libraries using composer:
$ curl -s http://getcomposer.org/installer | 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?

  • Resolve issues: issue list
  • Improve the documentation

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.