PHPackages                             nguyenhoang/nhgenerator - 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. [Framework](/categories/framework)
4. /
5. nguyenhoang/nhgenerator

ActiveLibrary[Framework](/categories/framework)

nguyenhoang/nhgenerator
=======================

Simple Generator of CRUD include Controller, Model, View and Route features.

08PHP

Since Jul 11Pushed 7y agoCompare

[ Source](https://github.com/nguyen47/nhgenerator)[ Packagist](https://packagist.org/packages/nguyenhoang/nhgenerator)[ RSS](/packages/nguyenhoang-nhgenerator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

NhGenerator
===========

[](#nhgenerator)

An simple packages which help the developers create the super boring C-R-U-D features in a second with CLI.

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisites

[](#prerequisites)

You need to install the Laravel Collective packages before using this packages.

```
composer require "laravelcollective/html":"^5.4.0"

```

Next, add your new provider to the providers array of config/app.php:

```
  'providers' => [
    // ...
    Collective\Html\HtmlServiceProvider::class,
    // ...
  ],

```

Finally, add two class aliases to the aliases array of config/app.php:

```
  'aliases' => [
    // ...
      'Form' => Collective\Html\FormFacade::class,
      'Html' => Collective\Html\HtmlFacade::class,
    // ...
  ],

```

The Second things to need to do is clone the Admin SB2 to create the templates. I don't want to include all these css, js because it's not necessary. Please following the step.

```
git clone https://github.com/nguyen47/assets.git

```

Then copy the assets folder from github into the folder public folder of Laravel.

*Please copy exactly the folder*

### Installing

[](#installing)

Runining the following CLI code to install this packages

```
composer require "nguyenhoang/nhgenerator @dev"

```

Next, add your new provider to the providers array of config/app.php:

```
'providers' => [
    // ...
    NguyenHoang\NhGenerator\NhGeneratorServiceProvider::class,
    // ...
  ],

```

Usage
-----

[](#usage)

After you install this package, you open the ternimal and you will see an new cli called "make:crud".

The artisan commands is

```
php artisan make:crud your-model-name

```

**The model name should be in Upper Case first letter and no Plural Form.**

Example:
--------

[](#example)

Firstly, you need to create a migration and model.

```
php artisan make:model User -m

```

Then, you can use the artisan commds below to create the full C-R-U-D features with Mode, Controller and View.

```
php artisan make:crud User

```

Authors
-------

[](#authors)

- **Nguyen Hoang** - *Initial work* -
- **kEpEx** - Special thanks to kEpEx to help me create this package base on yours [laravel-crud-generator ](https://github.com/kEpEx/laravel-crud-generator)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c9175ab01b3af380da36340c5d139670e8f446bf1da51e12174b79082bc52dd?d=identicon)[nguyen747](/maintainers/nguyen747)

---

Top Contributors

[![nguyen47](https://avatars.githubusercontent.com/u/21694019?v=4)](https://github.com/nguyen47 "nguyen47 (8 commits)")

### Embed Badge

![Health badge](/badges/nguyenhoang-nhgenerator/health.svg)

```
[![Health](https://phpackages.com/badges/nguyenhoang-nhgenerator/health.svg)](https://phpackages.com/packages/nguyenhoang-nhgenerator)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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