PHPackages                             teacoders/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. teacoders/module-generator

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

teacoders/module-generator
==========================

This package will generate your module quite quickly and will save your time

3.0.1(4y ago)21942MITPHP

Since Mar 7Pushed 4y ago2 watchersCompare

[ Source](https://github.com/teacoders/module-generator)[ Packagist](https://packagist.org/packages/teacoders/module-generator)[ RSS](/packages/teacoders-module-generator/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (1)Versions (14)Used By (0)

[![](https://camo.githubusercontent.com/addb734996bf99c80eba55048b79d74a1d2abd68ac461f40a20039945e716b21/68747470733a2f2f746561636f646572732e696e2f696d616765732f6c6f676f2e706e67)](https://teacoders.in)

Module Generator
================

[](#module-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7f6c7bc3c178f6a08fe0d0812aa0ef3016270678f476b228443f3e4161b750d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746561636f646572732f6d6f64756c652d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teacoders/module-generator)[![Total Downloads](https://camo.githubusercontent.com/c4ba1c37c20900654c57d7dc7e1f4469e2fee896df3d3bd124f3b705d73b9e08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746561636f646572732f6d6f64756c652d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teacoders/module-generator)

About Teacoders
---------------

[](#about-teacoders)

We craft web applications &amp; open source packages in the Laravel ecosystem.

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

[](#installation)

You can install latest version (only supports in laravel 8):

```
composer require teacoders/module-generator:dev-main
```

if you want to install it in laravel 6 or 7

```
composer require teacoders/module-generator:^2.0
```

Run the command below to publish the package config file

```
php artisan vendor:publish --provider="TeaCoders\ModuleGenerator\ModuleServiceProvider"
```

Run the command below to generate all the required files for the module(model, controller, migration, request, view, route)

```
php artisan make:all  (Product or ServiceCategory)

```

- After that it will ask "Do you want to add columns in migration ? (yes/no) \[no\]":
- If you enter yes/y then it will ask comma(,) seperated column names (ex: name,avatar)
- If you hit enter then it will ask data types for these columns, press enter after selecting data types
- After that it will ask that "Do you want to create request class?" if you enter yes/y then it will create request class and validations for your migration columns, if you enter no/n then it will add validations in controller.

Run the command below to generate view

```
php artisan make:view

```

Run the given command to generate specific view file inside the view directory

```
php artisan make:view  --file=filename

```

Run the given command to delete whole module(model, controller, migration, request, view, route)

```
php artisan delete:all  (Product)

```

Run the below command to delete specific file from module

```
php artisan delete:all  -c|--controller, -m|--model, -r|--request, -t|--table, -b|--blade

```

Run the below command to delete view

```
php artisan delete:view

```

Run the below command to delete specific view file inside the view directory

```
php artisan delete:view  --file=filename

```

Run the command below to generate trait

```
php artisan make:trait  // you can also create multiple traits

```

Run the command below to delete trait

```
php artisan delete:trait  // you can also delete multiple traits

```

If you want to generate more view files then change in `config/module-generator.php`

```
return [
    'files' => [
        'create',
        'edit',
        'index',
        'show',
        // add more file names
    ]
];

```

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Moolchand Sharma](https://github.com/TechyMS)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 75.9% 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 ~21 days

Recently: every ~2 days

Total

13

Last Release

1635d ago

Major Versions

1.0.0 → 2.0.02021-03-07

2.0.9 → 3.02021-11-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/78275062?v=4)[Teacoders](/maintainers/teacoders)[@teacoders](https://github.com/teacoders)

---

Top Contributors

[![techy-ms](https://avatars.githubusercontent.com/u/137381379?v=4)](https://github.com/techy-ms "techy-ms (22 commits)")[![TechyMS](https://avatars.githubusercontent.com/u/59773918?v=4)](https://github.com/TechyMS "TechyMS (5 commits)")[![cybertiwari](https://avatars.githubusercontent.com/u/55807457?v=4)](https://github.com/cybertiwari "cybertiwari (2 commits)")

---

Tags

laravelmodule generatorteacoderstechnicalmslaravel-module-generator

### Embed Badge

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

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

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)

PHPackages © 2026

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