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

1.2.0 2025-10-12 07:48 UTC

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