Package Data | |
---|---|
Maintainer Username: | quintavalentina |
Maintainer Contact: | shea.lewis89@gmail.com (Shea Lewis) |
Package Create Date: | 2016-10-06 |
Package Last Update: | 2017-06-22 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:00:28 |
Package Statistics | |
---|---|
Total Downloads: | 15 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Quinta Valentina Modules is a simple package to allow the means to separate your Laravel 5 application out into modules. Each module is completely self-contained allowing the ability to simply drop a module in for use.
The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code. At the moment the package is not unit tested, but is planned to be covered later down the road.
You will find user friendly and updated documentation in the wiki here: Quinta Valentina Modules Wiki
Begin by installing the package through Composer.
composer require quintavalentina/modules
Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php
file:
Quintavalentina\Modules\ModulesServiceProvider::class,
'Module' => Quintavalentina\Modules\Facades\Module::class,
With the release of v1.0, register the package within your applications compile.php
config file:
'providers' => [
Quintavalentina\Modules\ModulesServiceProvider::class
],
You may then specify a compiles()
public static method within each of your modules' service provider to compile additional files provided by your modules generated by the artisan optimize
command. These should include classes that are included on basically every request into your application.
And that's it! With your coffee in reach, start building out some awesome modules!