Link dependencies to a local clone
Link dependencies to a local clone. Heavily inspired by Symfony's
Install this as any other (dev) Composer package:
$ composer require --dev ro0nl/link
You can also install it once for all your local projects:
$ composer global require ro0nl/link
$ composer link /path/to/project
This will find all of your Composer packages in the current directory and links dependencies in your project to it.
git clone email@example.com:symfony/symfony.git symfony git clone firstname.lastname@example.org:company/symfony-project.git project cd symfony composer link ../project
Original idea by Kévin Dunglas.