• MODX.com

    855 downloads

ComposerConsole

ComposerConsole is an extra by woldemir, first released on 2016-01-10.

Package Description

This package can help you run composer even if you don't have SSH access to your server.

Based on https://github.com/CurosMJ/NoConsoleComposer

Usage/Installation Instructions

Example:

$modx->getService('composer');

$modx->composer->command('require vendor/package');

// adding repository and installing package:

$modx->composer->command('require vendor/package', 'https://github.com/vendor/package');

// default 'type': 'vcs'

// or

$modx->composer->command( 'require vendor/package', array( 'type' => 'vcs', 'url' => 'https://github.com/vendor/package' ));

// or

$modx->composer->addRepository(array( 'type' => 'vcs', 'url' => 'https://github.com/vendor/package'));

$modx->composer->command('require vendor/package');

Details

Developer(s)
woldemir
Released
2016-01-15
First seen
2016-01-10
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.3

ComposerConsole Releases

Vendor Signature Released on
MODX.com 0.1.3-pl 2016-01-15 (8 years ago)