PHPackages                             techindeck/laravel-module-generator - 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. techindeck/laravel-module-generator

ActiveLibrary

techindeck/laravel-module-generator
===================================

Create application modules followed by CLEAN pattern

v1.1.6(3y ago)22204↓100%1MITPHP

Since Oct 25Pushed 3y agoCompare

[ Source](https://github.com/techindeck/laravel-module-generator)[ Packagist](https://packagist.org/packages/techindeck/laravel-module-generator)[ RSS](/packages/techindeck-laravel-module-generator/feed)WikiDiscussions 1.x Synced today

READMEChangelog (2)DependenciesVersions (10)Used By (0)

laravel-module-generator
========================

[](#laravel-module-generator)

Create laravel application modules inspired by CLEAN design pattern

[Latest Version on Packagist](https://packagist.org/packages/techindeck/laravel-module-generator)

[Total Downloads](https://packagist.org/packages/techindeck/laravel-module-generator)

This package allows you to easily generate a application module followed by [SOLID](https://en.wikipedia.org/wiki/SOLID) Principle and CLEAN Architecture

[![](https://camo.githubusercontent.com/f8a16bcb9e36b420c7e2ef7bb6a0071435068c4fc925e8da13db8d25a23c1e6b/68747470733a2f2f63646e2d696d616765732d312e6d656469756d2e636f6d2f6d61782f313230302f312a42374c6b51447944714c4e33725253724e596b4554412e6a706567)](CLEAN)

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

[](#installation)

You can install the package via composer:

```
composer require techindeck/laravel-module-generator
```

Usage
-----

[](#usage)

You can generate a module using the `make:module ` on the `Artisan CLI`, will generate a module under `App\Modules` directory in the Laravel application

```
With all option         :    php artisan make:module 'module' -a
With specific options   :    php artisan make:module 'module' -CUGMRF -curdf
```

Available options:

```
Shorthand   Options             Description
  -a        --all               create module with all options
  -C        --controller        crate cases controller
  -U        --case              create usecases
  -G        --gateway           crate module gateway
  -R        --repo              create module repository
  -M        --model             create module model
  -F        --request           create gateway form request validation policy

  -c        --add               create usecase add
  -u        --update            create usecase update
  -r        --read              create usecase read
  -d        --delete            create usecase delete
  -f        --find              create usecase find
```

When using a module command to generating a module, you will need that options create entities followed by CLEAN pattern.

Direct Usage
------------

[](#direct-usage)

This package aims to be very lightweight and easy to use. If you need to create individually of any options `case, controller, gateway, repo, model`, consider using of one these alternatives:

```
Usecases Example
- php artisan module:case-create 'name'
- php artisan module:case-update 'name'
- php artisan module:case-read 'name'
- php artisan module:case-delete 'name'
- php artisan module:case-find 'name'
```

```
Usecases Controller Example
- php artisan module:controller-create 'name'
- php artisan module:controller-update 'name'
- php artisan module:controller-read 'name'
- php artisan module:controller-delete 'name'
- php artisan module:controller-find 'name'
```

```
Usecases Gateway Example
- php artisan module:gateway 'name'
```

```
Usecases Model Example
- php artisan module:model 'name'
```

```
Usecases Repository Example
- php artisan module:repository 'name'
```

Credits
-------

[](#credits)

- [Techindeck](https://github.com/techindeck)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~17 days

Recently: every ~6 days

Total

9

Last Release

1104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e44b914a3abbfdc6e51e7b6ce606992228695fb1936846a230ac47d1f12a34e?d=identicon)[techindeck](/maintainers/techindeck)

---

Top Contributors

[![spdocumentad](https://avatars.githubusercontent.com/u/70915539?v=4)](https://github.com/spdocumentad "spdocumentad (10 commits)")

---

Tags

clean-architecturelaravellaravel-apisolid-principles

### Embed Badge

![Health badge](/badges/techindeck-laravel-module-generator/health.svg)

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

PHPackages © 2026

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