rodgan/laravel-app-module-maker
最新稳定版本:1.2.0
Composer 安装命令:
composer require rodgan/laravel-app-module-maker
包简介
Create make command inside the app-module folder
README 文档
README
Laravel App Module Maker is a Laravel package that enhances the default make:* Artisan commands by generating files directly inside your custom app/Modules/ structure — perfect for developers who prefer a modular architecture in Laravel.
🚀 Features
- 🏗️ Automatically generates Laravel files like controllers, models, requests, migrations, seeders, factories, and more.
- 📁 Moves generated files into
app/Modules/{Module}/structure. - 🧠 Updates namespaces to reflect the module directory.
- 🔁 Works seamlessly with existing
make:*commands. - 🧼 Cleans up empty directories after moving files.
📦 Installation
You can install it via Composer using composer require rodgan/laravel-app-module-maker --dev
🧪 Usage Use the following Artisan command to create Laravel classes inside your module:
php artisan make:module {type} {name} {module}
php artisan make:module controller UserController Blog
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-11