osbre / composer-local-packages
Composer plugin to easy add packages for local development
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.1
This package is auto-updated.
Last update: 2024-11-12 02:18:10 UTC
README
composer global require osbre/composer-local-packages:dev-master
Usage
Inside your project, run this command
composer local ../path-to-local-package
The composer.json file will now look like this:
{ "require": { ... "local-package/for-development": "dev-master" }, "repositories": [ { "type": "path", "version": "dev-master", "url": "/Users/you/local-package-for-development" } ], ... }
TODO
- Write tests
- Add two commands
composer local require {path}
, andcomposer local remove {path}
- Add third parameter - custom package version
Contributing
Pull-requests are welcome :D