LasseHaslev / LaravelModules by LasseHaslev

This package help organizing your laravel application into modules.
21
1
2
Package Data
Maintainer Username: LasseHaslev
Maintainer Contact: lasse@haslev.no (Lasse S. Haslev)
Package Create Date: 2015-08-31
Package Last Update: 2017-08-08
Language: PHP
License: MIT
Last Refreshed: 2024-11-24 15:02:07
Package Statistics
Total Downloads: 21
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

(Deprecated) laravelmodules

This package is deprecated in favor for lassehaslev/laravel-modules

Package for ordering folders in modules

Motivation

It can be a good practice to organize you application features into different modules. This package helps you with that.

Install

Begin by installing the package through Composer in your project folder.

composer require lassehaslev/laravelmodules

Open config/app.php and add LasseHaslev\LaravelModules\Providers\ServiceProvider::class to the providers array.

Usage

In your app/ folder create a folder named Modules/. This is where you place all your modules.

Then this folder will be treated as its own app/ folder.

Example

app/Modules/MyModule/
    Http/
        Controllers/
        Requests/
        routes.php
        routes.php
    Jobs/
    views/

License

MIT, dawg