Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.02 KB

CONTRIBUTING.md

File metadata and controls

24 lines (18 loc) · 1.02 KB

Contributing

If you would like to help, please take a look at the list of issues.

Pull requests

  • Fork and clone.
  • Run the command php composer.phar install to install dependencies.
  • Use the command phpunit to run the tests.
  • Create a branch, commit, push and send us a pull request.

To ensure a consistent code base, you should make sure the code follows the coding standards PSR-1 and PSR-2.

Creating a new Installer

  • Create a class with your Installer that extends Composer\Installers\BaseInstaller.
  • Add your Installer to Composer\Installers\Installer::$supportedTypes.
  • Create unit tests as a separate class or as part of Composer\Installers\Test\InstallerTest.
  • Add information about your Installer to README.md in section "Current Supported Package Types".
  • Run the tests.