Download the PHP package ollieread/composer-local-repositories without Composer
On this page you can find all versions of the php package ollieread/composer-local-repositories. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ollieread/composer-local-repositories
More information about ollieread/composer-local-repositories
Files in ollieread/composer-local-repositories
Package composer-local-repositories
Short Description Composer plugin that automatically loads local package repositories
License MIT
Informations about the package composer-local-repositories
Composer Local Repositories
The composer plugin to quickly add local repositories for development purposes, without the need to update
your composer.json
file.
How to install
How to use
Add a repositories.json
file to any project that you want to add a custom repository to. The file needs to contain a
valid composer repositories
key. For example:
repositories.json
During a composer install
or composer update
, the plugin will locate the repositories.json
file; and prepend all
the configured repositories. If composer finds any of the require
packages inside these repositories, it will install
the package from that repository instead.
Configuration
To configure the plugin, you can provide extra configuration keys under a local-repositories
key in the extra
section.
trigger-commands
An array of composer commands that loads the localrepositories.json
file (default:install
andupdate
)ignore-flags
An array of flags on which to ignore the localrepositories.json
file (default:--no-dev
and--prefer-source
)force-dev
Whether to update the constraint of any found packages from local repositories with@dev
( default:true
)
Full configuration example with default values:
global composer.json
All versions of composer-local-repositories with dependencies
composer-plugin-api Version ^2.6