Skip to content
An extensions to install Composer on your Chassis box
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Composer extension for Chassis

The Composer extension automatically sets up your Chassis instance to be able to use composer on your Chassis box.


  1. Add this extension to your extensions directory git clone extensions/composer
  2. Run vagrant provision.

Alternative Installation

  1. Add - chassis/composer to your extensions in one of you yaml files. e.g.
    - chassis/composer
  2. Run vagrant provision.

Installing Composer dependencies

You can have Chassis automatically run composer install in a number of directories in your project by adding a list of directories in one of your yaml files. e.g.

        # Use absolute paths on the VM. For a default Chassis installation this should be:
        - /vagrant/content/plugins/yourplugin
        - /vagrant/content/themes/atheme
        # If you're using paths ( in Chassis this should be:
        - /chassis/content/plugins/yourplugin
        - /chassis/content/themes/atheme

You can also specify options to pass to composer install e.g.

        - /vagrant/content/plugins/yourplugin
        - /vagrant/content/themes/atheme
    options: --prefer-source --verbose

You'll need to run vagrant provision for those to be installed if you'd added them after your first initial Chassis vagrant up.

You can’t perform that action at this time.