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

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

sakshi-chavan/laravel-crud-generator
====================================

A reusable Laravel package to generate CRUD from a JSON template

v1.0.3(6mo ago)261↓94.1%MITBladePHP ^8.0CI failing

Since May 5Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/SakshiChavan13/Laravel-crud-generator)[ Packagist](https://packagist.org/packages/sakshi-chavan/laravel-crud-generator)[ RSS](/packages/sakshi-chavan-laravel-crud-generator/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

Laravel CRUD Generator
======================

[](#laravel-crud-generator)

A simple and customizable Laravel package to generate CRUD operations from a JSON template.

---

🛠️ Installation
---------------

[](#️-installation)

### Step 1: Require the package

[](#step-1-require-the-package)

Run:

```
composer require sakshi-chavan/laravel-crud-generator

```

### Step 2: Generate CRUD template

[](#step-2-generate-crud-template)

Run:

```
php artisan make:crud-template {jsonFileName}

```

### Step 3: Edit the generated template

[](#step-3-edit-the-generated-template)

E.g Post.json template

```
{
    "model": "Post",
    "fields": [
        {
            "name": "title",
            "type": "string",
            "nullable":false
        },
        {
            "name": "content",
            "type": "text",
            "nullable": false
        },
        {
            "name": "user_id",
            "type": "integer",
            "nullable": false
        },
        {
            "name": "owner_id",
            "type": "integer",
            "nullable": false
        },

        {
            "name": "is_restricted",
            "type": "boolean",
            "nullable": false,
            "default": 1
        }
    ]
}

```

### Step 4: Generate CRUD Command

[](#step-4-generate-crud-command)

Run:

```
php artisan generate:crud {jsonFileName}

```

🧩 What It Does
--------------

[](#-what-it-does)

This package allows you to automatically generate full CRUD functionality in Laravel using a single JSON template.

### Currently Supports:

[](#currently-supports)

- ✅ Model generation
- ✅ Migration generation
- ✅ Form Request classes
- ✅ Route entries
- ✅ Controller with CRUD logic
- ✅ Resource generation
- ✅ Factory generation
- ✅ Basic Crud Test cases generation(PEST)

⚠️ **Note**: All files and respective code are generated based on stub templates.

> Imports for related models (like relationships) may not always be accurate.
> Please review and adjust them after generation.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance65

Regular maintenance activity

Popularity13

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.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 ~72 days

Total

4

Last Release

209d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62025ad3ab948518dacf90b158b304d955f97b78d1d7eed454234915b3d36444?d=identicon)[SakshiChavan](/maintainers/SakshiChavan)

---

Top Contributors

[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (4639 commits)")[![driesvints](https://avatars.githubusercontent.com/u/594614?v=4)](https://github.com/driesvints "driesvints (429 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (120 commits)")[![daylerees](https://avatars.githubusercontent.com/u/207870?v=4)](https://github.com/daylerees "daylerees (105 commits)")[![franzliedke](https://avatars.githubusercontent.com/u/249125?v=4)](https://github.com/franzliedke "franzliedke (92 commits)")[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (60 commits)")[![jasonlewis](https://avatars.githubusercontent.com/u/829059?v=4)](https://github.com/jasonlewis "jasonlewis (48 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (37 commits)")[![sparksp](https://avatars.githubusercontent.com/u/243893?v=4)](https://github.com/sparksp "sparksp (37 commits)")[![cviebrock](https://avatars.githubusercontent.com/u/166810?v=4)](https://github.com/cviebrock "cviebrock (33 commits)")[![tobsn](https://avatars.githubusercontent.com/u/109529?v=4)](https://github.com/tobsn "tobsn (26 commits)")[![SakshiChavan13](https://avatars.githubusercontent.com/u/73889867?v=4)](https://github.com/SakshiChavan13 "SakshiChavan13 (21 commits)")[![JeffreyWay](https://avatars.githubusercontent.com/u/183223?v=4)](https://github.com/JeffreyWay "JeffreyWay (21 commits)")[![timacdonald](https://avatars.githubusercontent.com/u/24803032?v=4)](https://github.com/timacdonald "timacdonald (20 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (18 commits)")[![tillkruss](https://avatars.githubusercontent.com/u/665029?v=4)](https://github.com/tillkruss "tillkruss (17 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (16 commits)")[![JosephSilber](https://avatars.githubusercontent.com/u/1403741?v=4)](https://github.com/JosephSilber "JosephSilber (16 commits)")[![laurencei](https://avatars.githubusercontent.com/u/1210658?v=4)](https://github.com/laurencei "laurencei (14 commits)")[![bencorlett](https://avatars.githubusercontent.com/u/181919?v=4)](https://github.com/bencorlett "bencorlett (13 commits)")

### Embed Badge

![Health badge](/badges/sakshi-chavan-laravel-crud-generator/health.svg)

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

PHPackages © 2026

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