Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlhck/laravel-modular
Adds the support of a modular approach to Laravel 5.
https://github.com/dlhck/laravel-modular
laravel laravel-5-package modular php
Last synced: about 2 months ago
JSON representation
Adds the support of a modular approach to Laravel 5.
- Host: GitHub
- URL: https://github.com/dlhck/laravel-modular
- Owner: dlhck
- Created: 2017-01-01T22:46:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T22:53:20.000Z (almost 8 years ago)
- Last Synced: 2024-09-13T15:19:35.246Z (4 months ago)
- Topics: laravel, laravel-5-package, modular, php
- Language: PHP
- Size: 17.6 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Modular
[![Latest Stable Version](https://poser.pugx.org/davidhoeck/laravel-modular/v/stable)](https://packagist.org/packages/davidhoeck/laravel-modular)
[![Latest Unstable Version](https://poser.pugx.org/davidhoeck/laravel-modular/v/unstable)](https://packagist.org/packages/davidhoeck/laravel-modular)
[![License](https://poser.pugx.org/davidhoeck/laravel-modular/license)](https://packagist.org/packages/davidhoeck/laravel-modular)Adds the support of a modular approach to Laravel 5.
## Agenda
* Installation
* Get started
* Using Laravel ModularThe 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
```
### Get StartedGenerate a new module with
```
php artisan make:module
```
*** Optional Flags ****Generate with a base Controller*
```
php artisan make:module --with-controller
```*Generate with a base Model*
```
php artisan make:module --with-model
```