afterflow/workbench

Manage composer packages

0.5.3 2020-03-02 13:17 UTC

This package is auto-updated.

Last update: 2024-04-29 04:39:57 UTC


README

A simple tool to pull packages from composer and work on them locally.

Installation

composer require afterflow/workbench

Usage

Pull an existing package

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 package

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

Craft new package

Generate a new composer package interactively, then add it to your workbench.

php artisan workbench:new vendor/package

License

MIT