minionfactory/module-factory
最新稳定版本:v1.3.6
Composer 安装命令:
composer require minionfactory/module-factory
包简介
My implementation of modules within Laravel.
README 文档
README
Introduction
Module Factory is a simple package to organize Laravel into modules. It's fine for small projects but large projects can get unwieldy with the number of files. This package allows you to structure the files into modules with a similar folder layout as Laravel itself.
app
-Http
-Modules
-FullComponent
-Config
setup.php
-Controllers
PageController.php
AdminController.php
-Events
-Listeners
PageSave.php
-Policies
PagePolicy.php
-Routes
web.php
api.php
-Shortcodes (optional)
page-list.php
-Views
page.blade.php
index.blade.php
-PartialComponent
-Controllers
ShortcodeController.php
-Shortcodes (optional)
just-shortcode.php
-Views
list.blade.php
In the above example, ShortcodeController should have the following namespace:
namespace App\Modules\PartialComponent\Controllers;
统计信息
- 总下载量: 19.6k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-23