Name: terminus-composer-plugin
Owner: Pantheon
Description: A Terminus plugin for running Composer commands on a Pantheon site
Created: 2016-12-16 23:07:08.0
Updated: 2018-03-01 15:19:26.0
Pushed: 2017-08-07 01:12:06.0
Homepage: null
Size: 26
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Terminus Plugin to run Composer commands on a Pantheon sites.
Adds a command 'composer' to Terminus 1.x which you can use just like 'drush' or 'wp'. For a version that works with Terminus 0.x, see the 0.x branch.
This project is a simplified version of the original Terminus Composer Plugin by Brian Thompson, updated for Terminus 1.x.
If using Composer to manage your site on Pantheon, it is best to start with the appropriate relocated document root Composer example project:
Using Composer to manage standard sites on Pantheon not started with these upstreams (or a similar variant thereof) is not recommended. Ensure that your site's pantheon.yml contains web_docroot: true
. See Serving Sites from the Web Subdirectory for more information.
terminus composer my-site.dev -- composer config repositories.drupal composer https://packages.drupal.org/8
terminus composer my-site.dev -- require drupal/media
terminus composer my-site.dev -- update
For help installing, see Manage Plugins
r -p ~/.terminus/plugins
oser create-project --no-dev -d ~/.terminus/plugins pantheon-systems/terminus-composer-plugin:~1
Run terminus help composer
for help.