A simple tool to pull packages from composer and work on them locally.
composer require afterflow/workbench
Find a composer package, fetch it's source from GitHub,
put it under workbench/vendor/package
, register a path type repository in composer.json and
tell Composer to symlink the local version.
php artisan workbench:pull vendor/package --ssh
Remove workbench/vendor/package
, remove the repository from composer.json and switch it to packagist.
When called with --remove
flag, it will also remove it from "require".
php artisan workbench:unlink --remove vendor/package
Generate a new composer package interactively, then add it to your workbench.
php artisan workbench:new vendor/package
MIT