xaamin / composer-global-repositories
Composer plugin that automatically loads global package repositories into local projects
Package info
github.com/xaamin/composer-global-repositories
Type:composer-plugin
pkg:composer/xaamin/composer-global-repositories
Requires
- php: ^8.1
- composer-plugin-api: ^2.6
Requires (Dev)
- composer/composer: ^2.7
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^12.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The composer plugin to quickly add global repositories into local projects for development purposes, without the need to update your composer.json file.
How to install
composer global require xaamin/composer-global-repositories
How to use
Add a global repositories to composer and then pull them into any project that you want to.
During a composer install or composer update, the plugin will merge global repositories with the local composer 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.