PHPackages                             hcomg/laravel-easy-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. hcomg/laravel-easy-generator

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

hcomg/laravel-easy-generator
============================

php artisan command to generate fully working crud with api resource by having database tables

v1.0.0(8y ago)324MITPHPPHP &gt;=5.5.9

Since May 20Pushed 8y ago2 watchersCompare

[ Source](https://github.com/hcomg/laravel-easy-generator)[ Packagist](https://packagist.org/packages/hcomg/laravel-easy-generator)[ RSS](/packages/hcomg-laravel-easy-generator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Laravel Easy Generator
======================

[](#laravel-easy-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/99f8ef4183d6283333194e50c74f2352468d3c155355c7d8979dc579ef7e2121/68747470733a2f2f706f7365722e707567782e6f72672f68636f6d672f6c61726176656c2d656173792d67656e657261746f722f762f737461626c65)](https://packagist.org/packages/hcomg/laravel-easy-generator) [![Total Downloads](https://camo.githubusercontent.com/bfbeac402667a1f4e874c8534af047d2647eb6c3c757d4b92c0fa26cca7be6a7/68747470733a2f2f706f7365722e707567782e6f72672f68636f6d672f6c61726176656c2d656173792d67656e657261746f722f646f776e6c6f616473)](https://packagist.org/packages/hcomg/laravel-easy-generator) [![Latest Unstable Version](https://camo.githubusercontent.com/01db5c2bd309ea291faa9ef09d6194c06035a787d47043f0527debb5ec80f527/68747470733a2f2f706f7365722e707567782e6f72672f68636f6d672f6c61726176656c2d656173792d67656e657261746f722f762f756e737461626c65)](https://packagist.org/packages/hcomg/laravel-easy-generator) [![License](https://camo.githubusercontent.com/207d9713c5d9039a09166f48c9c3179c18a1ff4ef19cf5bd23cc3449184629fc/68747470733a2f2f706f7365722e707567782e6f72672f68636f6d672f6c61726176656c2d656173792d67656e657261746f722f6c6963656e7365)](https://packagist.org/packages/hcomg/laravel-easy-generator)

php artisan command to generate fully working crud with api resource by having database tables

Features
--------

[](#features)

```
1. Add api to routes.
2. Create resource controller with Dingo API.
3. Create model with Validator rules from Database.
4. ...

```

### Requirements

[](#requirements)

```
Laravel >=5.1
PHP >= 5.5.9
dingo/api: 1.0.x@dev

```

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

[](#installation)

Open your terminal(CLI), go to the root directory of your Laravel project, then follow the following procedure.

1. Install Through Composer

    ```
    composer require hcomg/laravel-easy-generator --dev
    ```
2. Add the Service Provider

    Open `/app/Providers/AppServiceProvider.php` and, to your `register` function, add:

    ```
    public function register()
    {
        if ($this->app->environment() !== 'production') {
            $this->app->register(\EasyGenerator\EasyGeneratorServiceProvider::class);
        }
    }
    ```
3. Run `php artisan help hcomg:gen` to see all parameters

\##Examples

```
php artisan hcomg:gen --model=User --table=users --controller=User

Creating catalogue for table: users
Model Name: User
Created Controller: ./app/Models/User.php
Created Controller: ./app/Http/Controllers/UserController.php
Created Controller: ./app/Transformers/UserTransformer.php
Adding Route:     $api->resource('users', '\App\Http\Controllers\UserController');
```

Then run `php artisan api:routes` to see the api list.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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

Unknown

Total

1

Last Release

3278d ago

### Community

Maintainers

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

---

Top Contributors

[![quochoangvp](https://avatars.githubusercontent.com/u/6795329?v=4)](https://github.com/quochoangvp "quochoangvp (28 commits)")[![hcomg](https://avatars.githubusercontent.com/u/27259465?v=4)](https://github.com/hcomg "hcomg (8 commits)")

### Embed Badge

![Health badge](/badges/hcomg-laravel-easy-generator/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[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)

PHPackages © 2026

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