2.2 documentation

Extension Component allows components or packages to be added dynamically to Orchestra Platform without the hassle of modifying the configuration.

Table of Content

Version Compatibility

Laravel Extension
4.0.x 2.0.x
4.1.x 2.1.x
4.2.x 2.2.x


To install through composer, simply put the following in your composer.json file:

    "require": {
        "orchestra/extension": "2.2.*"

And then run composer install from the terminal.

Quick Installation

Above installation can also be simplify by using the following command:

composer require "orchestra/extension=2.2.*"


Next add the service provider in app/config/app.php.

'providers' => array(

    // ...




You might want to add Orchestra\Support\Facades\Extension to class aliases in app/config/app.php:

'aliases' => array(

    // ...

    'Orchestra\Extension' => 'Orchestra\Support\Facades\Extension',


Before we can start using Orchestra\Extension, please run the following:

php artisan extension:migrate

The command utility is enabled via Orchestra\Extension\CommandServiceProvider.