Package Data | |
---|---|
Maintainer Username: | davidhoeck |
Maintainer Contact: | d.hoeck@alpin11.at (David Hoeck) |
Package Create Date: | 2017-01-01 |
Package Last Update: | 2017-02-27 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:22:52 |
Package Statistics | |
---|---|
Total Downloads: | 50 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 0 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Adds the support of a modular approach to Laravel 5.
The easiest and common way is to install the package via Composer.
Add this line to your composer.json
"davidhoeck/laravel-modular": "dev-master"
or paste this line into your terminal.
composer require "davidhoeck/laravel-modular"
Add the following line to your config/app.php
under the section providers
DavidHoeck\LaravelModular\ModuleServiceProvider::class
Generate a new module with
php artisan make:module <module-name>
*** Optional Flags ***
Generate with a base Controller
php artisan make:module <module-name> --with-controller
Generate with a base Model
php artisan make:module <module-name> --with-model