dev-master
9999999-dev
MIT
The Requires
The Development Requires
by Boudy de Geer
Enable Hexagonal architecture for Laravel, (*1)
composer require mosaiqo/hexagonal 0.1.*
Add the following provider to your config/app.php
in the providers
array., (*2)
'providers' => [ ... /** * Package Service Providers... */ Mosaiqo\Hexagonal\Providers\LaravelServiceProvider::class, ... ];
In each package you should create a routes
and a lang
folder, like this:
The translation files are optional, but the routes are necessary if you are going to extend the
Mosaiqo\Hexagonal\Providers\RouteServiceProvider
., (*3)
Of course you can override the RouteServiceProvider
and therefore change the behavior., (*4)
- routes -- web.php -- api.php - lang -- en --- <your-file>.php -- es --- <your-file>.php
MIT