October\Rain\Process\Composer

Extends:

Composer handles the composer process and its associated functions

Protected properties

There are no protected properties in the class.

Show inherited protected properties

Inherited protected properties

Public methods

public void addRepository($name, $type, $address)

addRepository will add a repository to the composer config

Parameters
  • $name
  • $type
  • $address

public void install()

install runs the "composer install" command

public void isInstalled()

isInstalled returns true if composer is installed

public void listPackages()

listPackages returns a list of installed packages

public void remove($packages=NULL)

remove runs the "composer remove" command

Parameters
  • $packages

public void removeRepository($name)

removeRepository will remove a repository to the composer config

Parameters
  • $name

public void require($packages=NULL)

require runs the "composer require" command

Parameters
  • $packages

public void update()

update runs the "composer update" command

Show inherited public methods

Inherited public methods

Protected methods

protected void prepareComposerArguments($parts)

prepareComposerArguments is a helper for preparing arguments

Parameters
  • $parts

protected void runComposerCommand($parts=NULL)

runComposerCommand is a helper for running a git command

Parameters
  • $parts