2017 © Pedro Peláez
 

streams-addon addon_composer-extension

An extension for the addons module to add composer commands that can be run on all addons.

image

fryiee/addon_composer-extension

An extension for the addons module to add composer commands that can be run on all addons.

  • Monday, August 28, 2017
  • by fryiee
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Addon Composer Extension

A PyroCMS 3 extension for the Addons Module which provides composer commands across all non-core addons (Note: This means it will currently only run on addons in the addons/ folder, not those installed via Composer.), (*1)

Installation

composer require fryiee/addon_composer-extension, (*2)

If you are installing this on an existing project, then you will also want to run:, (*3)

php artisan addon:install fryiee.extension.addon_composer, (*4)

Usage

php artisan addon:composer <command> --args=<arg1> --flags=<flag1> --excludes=<namespace.type.slug>, (*5)

You can add multiple args, flags or excludes by comma separating them, e.g. --args=no-dev,prefer-dist, (*6)

The extension will confirm the parsed command and any exclusions before running, e.g., (*7)

Run composer install --no-dev on each addon (excluding rt.module.profiles)? (yes/no) [no]:, (*8)

Examples

Run composer install no-dev on all addons

php artisan addon:composer install --flags=no-dev, (*9)

The Versions

28/08 2017

dev-master

9999999-dev http://github.com/fryiee/addon_composer-extension

An extension for the addons module to add composer commands that can be run on all addons.

  Sources   Download

MIT

extension streams addon streams extension

28/08 2017

dev-dev

dev-dev http://github.com/fryiee/addon_composer-extension

An extension for the addons module to add composer commands that can be run on all addons.

  Sources   Download

MIT

extension streams addon streams extension

28/08 2017

1.0.0

1.0.0.0 http://github.com/fryiee/addon_composer-extension

An extension for the addons module to add composer commands that can be run on all addons.

  Sources   Download

MIT

extension streams addon streams extension