composer-php

Topics related to composer-php:

Getting started with composer-php

This section provides an overview of what composer-php is, and why a developer might want to use it.

It should also mention any large subjects within composer-php, and link out to the related topics. Since the Documentation for composer-php is new, you may need to create initial versions of those related topics.

How to use private repositories with Composer

Use the type: "vcs" syntax to use private repositories.

To manage access to the private repository while developing on a local machine, use an auth.json file and don't commit it in you project repository. Instead, give access to each single developer to the private repository so, using each one his/her own NOT COMMITTED auth.json file, they can fetch the remote repository with composer install or composer update.

Tip: Put the auth.json file in the .gitignore file of your git repository.

If you are using a continuous integration system, use the COMPOSER_AUTH environment variable.

Auto loading with composer