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 |
|---|---|
| 5.5.x | 3.5.x |
| 5.6.x | 3.6.x |
| 5.7.x | 3.7.x |
| 5.8.x | 3.8.x |
| 6.x | 4.x |
| 7.x | 5.x |
| 8.x | 6.x |
Installation
To install through composerby using the following command:
composer require "orchestra/extension"Configuration
Next add the following service provider in config/app.php.
'providers' => [ // ... Orchestra\Extension\ExtensionServiceProvider::class, Orchestra\Memory\MemoryServiceProvider::class, Orchestra\Publisher\PublisherServiceProvider::class, Orchestra\Extension\CommandServiceProvider::class, ],
Migrations
Before we can start using Extension Component, please run the following:
php artisan extension:migrate
The command utility is enabled via
Orchestra\Extension\CommandServiceProvider.