-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Future plans #1
Comments
Or, probably better than a bash script, a custom PHP command -- https://getcomposer.org/doc/articles/plugins.md#command-provider |
|
Hmmm, not there yet, the custom command isn't a sane idea after all. What I need to achieve is that the user simply |
So. The custom command is a sane idea after all.
Now to write unit tests |
Use this in YOURLS core along with
wikimedia/composer-merge-plugin
YOURLS' composer.json would be added this:
Adding a plugin would be done either with:
user/composer.json
, orcomposer require -d user ozh/example-plugin --no-update
composer update --lock
Then the idea would be to have a shortcut for this with a custom command
Something like:
With
add-plugin
being a script likeThe text was updated successfully, but these errors were encountered: