PHPackages                             mostafizurmaruf/bingo-crud - 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. [Admin Panels](/categories/admin)
4. /
5. mostafizurmaruf/bingo-crud

ActiveLibrary[Admin Panels](/categories/admin)

mostafizurmaruf/bingo-crud
==========================

Scaffold a complete Laravel CRUD stack (model, migration, form request, resource controller, Blade views and route) from a single schema string via `php artisan make:crud`.

v1.0.0(1mo ago)00MITPHPPHP ^8.2

Since Jun 23Pushed 1mo agoCompare

[ Source](https://github.com/mostafizurmaruf/bingo-crud)[ Packagist](https://packagist.org/packages/mostafizurmaruf/bingo-crud)[ RSS](/packages/mostafizurmaruf-bingo-crud/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Laravel CRUD Generator (`make:crud`)
====================================

[](#laravel-crud-generator-makecrud)

A self-contained Artisan command that scaffolds a complete CRUD stack from a single schema string — **model, migration, form request, resource controller, Blade views (index / create / edit / show + shared form partial + layout) and the resource route** — with no third-party packages.

- Laravel 12 · PHP 8.3+ · PSR-12 · clean architecture · Laravel stub templates

---

1. Installation
---------------

[](#1-installation)

Install via Composer — no copy/paste required:

```
composer require mostafizurmaruf/bingo-crud
```

3. Usage
--------

[](#3-usage)

```
php artisan make:crud {Model} --schema="field:type:modifier, ..." [--force]
```

Argument / optionDescription`Model`Singular model name, e.g. `Product`.`--schema=`Comma-separated field definitions (see below).`--force`Overwrite files that already exist.### Example

[](#example)

```
php artisan make:crud Product --schema="name:string, sku:string(64):unique, price:decimal(8,2), description:text:nullable, stock:integer:default(0), status:enum(draft,published):default(draft), is_active:boolean:default(1), published_at:datetime:nullable, meta:json:nullable"
```

Then:

```
php artisan migrate
# visit /products
```

4. Schema syntax
----------------

[](#4-schema-syntax)

```
schema   := field ("," field)*
field    := name ":" type (":" modifier)*
type     := word ( "(" args ")" )?       # e.g. decimal(8,2), string(64), enum(a,b)
modifier := nullable | unique | index | default(value)

```

### Supported types

[](#supported-types)

`string`, `char`, `email`, `password`, `text`, `longText`, `integer`, `bigInteger`, `unsignedInteger`, `unsignedBigInteger`, `boolean`, `decimal`, `float`, `double`, `date`, `datetime`, `timestamp`, `time`, `year`, `json`, `enum`, `uuid`.

Each type automatically maps to:

TypeMigration columnValidationForm inputCaststring`string``string, max:255``text`—email`string``email, max:255``email`—text`text``string``textarea`—integer`integer``integer``number``integer`boolean`boolean``boolean``checkbox``boolean`decimal`decimal(p,s)``numeric``number``decimal:s`date`date``date``date``date`datetime`dateTime``date``datetime-local``datetime`enum`enum([...])``in:...``select`—json`json``json``textarea``array`### Modifiers

[](#modifiers)

- `nullable` — column is nullable; validation becomes `nullable` instead of `required`.
- `unique` — adds a unique index **and** a `Rule::unique(...)->ignore($id)` rule (correct for both store and update).
- `index` — adds a plain index.
- `default(value)` — column default (`true`/`false` for booleans, numbers as-is, everything else quoted).

5. What gets generated
----------------------

[](#5-what-gets-generated)

FileNotes`database/migrations/_create__table.php`Columns, modifiers, `id()` + `timestamps()`. Skipped if a `create__table` migration already exists.`app/Models/.php``$fillable` + typed `casts()` method.`app/Http/Requests/Request.php``rules()` derived from the schema; `Rule` import only when needed.`app/Http/Controllers/Controller.php`Full resource controller using the form request + route-model binding.`resources/views//{index,create,edit,show,_form}.blade.php`Bootstrap 5 views; create/edit share `_form`.`resources/views/layouts/app.blade.php`Generated **only if missing** — flash + validation summary.`routes/web.php``Route::resource(...)` appended with its controller `use` import, idempotently.6. Safety &amp; idempotency
---------------------------

[](#6-safety--idempotency)

- Existing files are **never overwritten** without `--force`.
- The route line and controller import are added only once.
- An existing migration for the same table is left untouched.
- The application layout is only created when one does not already exist.

7. Notes
--------

[](#7-notes)

- Views use the Bootstrap 5 CDN (front-end only — no Composer dependency).
- Booleans render as a checkbox with a hidden `0` companion so the value is always submitted.
- `json` fields are serialised with `JSON_PRETTY_PRINT` for display/editing.
- To customise the generated output, edit the templates in `stubs/crud/` — the command reads them at runtime.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0667103bcdad51e633e8120f50e8fa7f4bf4b8c96cb813ca0b8f267fe67716f6?d=identicon)[mostafizurmaruf](/maintainers/mostafizurmaruf)

---

Top Contributors

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

---

Tags

laravelgeneratorscaffoldartisancrudmake

### Embed Badge

![Health badge](/badges/mostafizurmaruf-bingo-crud/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M282](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

20433.0M1.8k](/packages/illuminate-queue)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

5031.3k](/packages/erag-laravel-lang-sync-inertia)[moonshine/moonshine

Laravel administration panel

1.3k268.2k87](/packages/moonshine-moonshine)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)

PHPackages © 2026

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