Package Data | |
---|---|
Maintainer Username: | konekt |
Package Create Date: | 2016-08-14 |
Package Last Update: | 2024-05-16 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-22 15:00:37 |
Package Statistics | |
---|---|
Total Downloads: | 825,255 |
Monthly Downloads: | 19,352 |
Daily Downloads: | 243 |
Total Stars: | 213 |
Total Watchers: | 17 |
Total Forks: | 13 |
Total Open Issues: | 3 |
Concord is a Laravel Extension that helps building Modules for Laravel Applications on top of Laravel's built in Service Providers.
Concord at first is a Laravel 5.4+ package. It also offers some conventions that help you to better structure complex systems.
Laravel 5.6 is supported from v1.1.0 upwards
Modular Architecture is exactly what you think it is - a way to manage the complexity of a problem by breaking them down to smaller manageable modules. -- Param Rengaiah
Concord itself (this library) manages the modules.
Concord modules are isolated fractions of the business logic, built around a single topic.
There are two kinds of modules from the usage perspective:
Concord is not aware of this difference at all, but they represent two different approaches of modularization.
app/Modules/<ModuleName>
;vendor/
folder;Either module types are always coupled to Laravel and Concord;
Refer to the Installation Section of the Documentation.
php artisan make:module ShinyModule
This will create a very basic in-app module in the app/Modules/ShinyModule
folder.
In order to activate the module add it to the config/concord.php
file:
return [
'modules' => [
App\Modules\ShinyModule\Providers\ModuleServiceProvider::class
]
];
See the Concord Documentation for all the nasty details ;)
concord:modules
-> module:list
)config/concord.php
file will be eliminated, or split: