Looking to hire Laravel developers? Try LaraJobs

laravel-app-module-maker maintained by rodgan

Description
Create make command inside the app-module folder
Last update
2025/10/12 09:48 (dev-master)
License
Links
Downloads
6

Comments
comments powered by Disqus

📦 Laravel App Module Maker

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