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

ActiveLibrary[Framework](/categories/framework)

ahnaf/crud-generator
====================

Laravel Crud Generator

04PHP

Since May 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/AhnafMuttaki/crud-generator)[ Packagist](https://packagist.org/packages/ahnaf/crud-generator)[ RSS](/packages/ahnaf-crud-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in **Bootstrap** for your development of your applications with single command.

- Will create **Model** with Eloquent relations
- Will create **Controller** with all resources
- Will create **views** in Bootstrap
- It will also handle foreign key constraints and show select input in crud forms for foriegn key fields

Requirements
------------

[](#requirements)

```
Laravel >= 5.5
PHP >= 7.1
Mysql

```

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

[](#installation)

1 - Install

```
composer require ahnaf/crud-generator --dev

```

2- Publish the default package's config

```
php artisan vendor:publish --tag=crud

```

Usage
-----

[](#usage)

```
php artisan make:crud {table_name}

php artisan make:crud employees

```

Add a route in `web.php`

```
Route::resource('employees', 'EmployeeController');

```

Route name in plural slug case.

#### Options

[](#options)

- Custom Route

```
php artisan make:crud {table_name} --route={route_name}

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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/2b17918605a09e85ca7aee33dc913247b6361d58513a59ad363db7d7edaa3cba?d=identicon)[AhnafMuttaki](/maintainers/AhnafMuttaki)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ahnaf-crud-generator/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/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.7M256](/packages/laravel-dusk)[laravel/prompts

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

708181.8M591](/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)
