Concord Applications
A Concord application is nothing but any Laravel application that uses the concord service provider and loads at least one Concord module (or box).
This app may or may not comply with all the concord rules.
Setup
Setting up a Laravel app for Concord is simple:
-
Install the package via composer
composer require konekt/concord
-
Register The Provider:
config/app.php
add:'providers' => [ // Other Service Providers Konekt\Concord\ConcordServiceProvider::class, ];
-
Publish The Config File:
php artisan vendor:publish --provider="Konekt\Concord\ConcordServiceProvider" --tag=config
It's done, you can start adding modules/boxes to your app in config/concord.php
file:
'modules' => [
App\Modules\ShinyModule\Providers\ModuleServiceProvider::class,
];
Next: Modules Explained »