2017 © Pedro Peláez
 

composer-plugin composer-alias

Composer Alias Plugin

image

slince/composer-alias

Composer Alias Plugin

  • Thursday, February 8, 2018
  • by slince
  • Repository
  • 1 Watchers
  • 7 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 40 % Grown

The README.md

Composer Alias Plugin

Add alias-support feature for your composer., (*1)

Build Status Latest Stable Version Scrutinizer, (*2)

中文版, (*3)

Installation

Install via composer., (*4)

$ composer global require slince/composer-alias

Example

Add alias for composer update;, (*5)

$ composer alias up update

Now, you can execute the following command to update your dependencies., (*6)

bash $ composer up, (*7)

USAGE

Add an alias:

$ composer alias req require

Equals:, (*8)

$ composer req symfony/console

Group packages

You can use this command to group packages. like this:, (*9)

$ composer req-sf "require symfony/console symfony/event-dispatcher"

You can install "symfony/console", "symfony/event-dispatcher" with this command:, (*10)

$ composer req-sf

List all alias

$ composer alias -l

will output:, (*11)

 -------- --------------------------------------------------
  Alias    Command
 -------- --------------------------------------------------
  val      validate
  up       update
  req-sf   require symfony/event-dispatcher symfony/console
  req      require
  i        install
 -------- --------------------------------------------------

Remove an existing alias

$ composer alias [alias name] --unset

Help

Execute the following command for help., (*12)

$ composer alias --help

LICENSE

The MIT license. See MIT, (*13)

The Versions

08/02 2018

dev-master

9999999-dev

Composer Alias Plugin

  Sources   Download

MIT

The Requires

  • php >=5.6
  • composer-plugin-api ^1.0

 

The Development Requires

alias composer composer-plugin composer-alias composer-alias-plugin

16/01 2018

1.0.0

1.0.0.0

Composer Alias Plugin

  Sources   Download

MIT

The Requires

  • php >=5.6
  • composer-plugin-api ^1.0

 

The Development Requires

alias composer composer-plugin composer-alias composer-alias-plugin