PHPackages                             tomosia-module/laravel-module-generate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tomosia-module/laravel-module-generate

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tomosia-module/laravel-module-generate
======================================

Helps quickly generate common Laravel classes (like Controller, Request, etc.) via Artisan commands

v2.1.2(9mo ago)331MITPHPPHP ^8.1|^8.2

Since May 20Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/tms-quivo/laravel-module-generate)[ Packagist](https://packagist.org/packages/tomosia-module/laravel-module-generate)[ RSS](/packages/tomosia-module-laravel-module-generate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (10)Used By (0)

Laravel Module Generator
========================

[](#laravel-module-generator)

Laravel Module Generator is a powerful package that helps you quickly generate files within Laravel modules using Artisan commands. This package streamlines your development process and ensures consistent code structure across your modules.

Installation
------------

[](#installation)

Install the package via composer:

```
composer require tomosia-module/laravel-module-generate
```

Configuration
-------------

[](#configuration)

Publish the package configuration file by running:

```
php artisan vendor:publish --tag=module-generator
```

Usage
-----

[](#usage)

This package provides Artisan commands to quickly generate files within your Laravel modules. Here are some examples:

### Create a new module

[](#create-a-new-module)

```
php artisan module:create User
```

This command will create a new module at `Modules/User`

### Create a new container

[](#create-a-new-container)

```
php artisan container:create User
```

This command will create a new container at `App/Containers/User`

### Generate Controller

[](#generate-controller)

```
php artisan module:make-controller AuthController --module=User
```

This command will create a new controller file at `Modules/User/Http/Controllers/AuthController.php`

### Generate Request

[](#generate-request)

```
php artisan module:make-request LoginRequest --module=User
```

This command will create a new request file at `Modules/User/Http/Requests/LoginRequest.php`

### Generate Action

[](#generate-action)

```
php artisan module:make-action StoreAction --container=User
```

This command will create a new action file at `App/Containers/User/Actions/StoreAction.php`

Available Commands
------------------

[](#available-commands)

- `module:make-controller` - Generate a new controller in the module
- `module:make-request` - Generate a new request in the module
- `module:make-resource` - Generate a new resource in the module
- `module:make-provider` - Generate a new provider in the module
- `module:make-action` - Generate a new action in the container
- `module:make-model` - Generate a new model in the container
- `module:make-scope` - Generate a new scope in the container
- `module:make-repository` - Generate a new repository in the container
- `module:make-event` - Generate a new event in the container
- `module:make-listener` - Generate a new listener in the container
- `module:make-notification` - Generate a new notification in the container
- `module:make-policy` - Generate a new policy in the container
- `module:make-channel` - Generate a new channel in the container
- `module:make-job` - Generate a new job in the container
- `module:make-mail` - Generate a new mail in the container
- `module:make-observer` - Generate a new observer in the container

### Supports

[](#supports)

- `module:make-livewire` - Generate a new livewire in the module
- `module:make-data` - Generate a new data in the container

Features
--------

[](#features)

- Quick generation of common Laravel module files
- Ensures consistent code structure
- Follows Laravel best practices
- Customizable templates
- Easy to extend with new commands

Directory Structure
-------------------

[](#directory-structure)

When using this package, files will be generated following the standard Laravel module structure:

```
Modules/
└── User/
    ├── Http/
    │   ├── Controllers/
    │   │   └── AuthController.php
    │   └── Requests/
    │       └── LoginRequest.php
    ├── Providers/
    │   └── UserServiceProvider.php
    ├── resources/
    │   ├── assets/
    │   ├── lang/
    │   ├── views/
    │   └── ...
    ├── routes/
    │   └── web.php
    └── ...

```

```
App/Containers
└── User/
    ├── Actions/
    │   └── ...
    ├── Events/
    │   └── ...
    ├── Listeners/
    │   └── ...
    ├── Models/
    │   └── ...
    ├── Notifications/
    │   └── ...
    ├── Policies/
    │   └── ...
    ├── Repositories/
    │   └── ...
    ├── Scopes/
    │   └── ...
    └── ...

```

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a pull request.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance58

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

7

Last Release

278d ago

Major Versions

v1.2.2 → v2.1.02025-06-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fedcf9ebdcee565f7cc0060d3d92365976bbf18c32a3727b8628aa09f4dac1a?d=identicon)[qdev](/maintainers/qdev)

---

Top Contributors

[![tms-quivo](https://avatars.githubusercontent.com/u/114971654?v=4)](https://github.com/tms-quivo "tms-quivo (35 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tomosia-module-laravel-module-generate/health.svg)

```
[![Health](https://phpackages.com/badges/tomosia-module-laravel-module-generate/health.svg)](https://phpackages.com/packages/tomosia-module-laravel-module-generate)
```

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2912.8k](/packages/aerni-livewire-forms)[team-nifty-gmbh/tall-datatables

A package to create datatables using alpinejs, tailwind, livewire and laravel

1217.2k1](/packages/team-nifty-gmbh-tall-datatables)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
