minionfactory/module-factory 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

minionfactory/module-factory

最新稳定版本:v1.3.6

Composer 安装命令:

composer require minionfactory/module-factory

包简介

My implementation of modules within Laravel.

README 文档

README

Software License

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-23