rodgan / laravel-app-module-maker
Create make command inside the app-module folder
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/rodgan/laravel-app-module-maker
Requires
- php: >=8.2
This package is auto-updated.
Last update: 2025-12-12 08:22:14 UTC
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