PHPackages                             bgaze/laravel-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. bgaze/laravel-crud

ActiveLibrary[Admin Panels](/categories/admin)

bgaze/laravel-crud
==================

A CRUD generator for Laravel 5.5+

1.0.1(7y ago)13311MITPHP

Since Jun 15Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (5)Used By (1)

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

[](#laravel-crud-generator)

 [![](doc/assets/intro.png)](doc/assets/intro.png)

Table of content
----------------

[](#table-of-content)

> The Conventions section explain very important concepts.
> Please read it carrefully before using this package.

- [Overview](#overview)
- [Installation](#installation)
- [Why this package?](#why-this-package)
- [Conventions](#conventions)

Documentation:

- [Usage](doc/usage.md)
- [CRUD command options](doc/crud-options.md)
- [Custom CRUD theme](doc/custom-theme.md)

Overview
--------

[](#overview)

This package allows to generate CRUDs in a breath for your **Laravel 5.5+** applications.
Please have a look to [this short video on Vimeo](https://vimeo.com/330304646) to see it in action.

Using the **SignedInput syntax**, it offers a concise and handy way to define the model fields.

It is designed to create easily custom CRUDs, aka **themes**.

Two simple themes are provided :

- **crud:classic** generates a fully fonctionnal "classic" CRUD.
    *It creates for you : migration, model, factory, seeder, request, resource, controller, blade views and routes.*
- **crud:api** generates a fully fonctionnal REST API CRUD.
    *It creates for you : migration, model, factory, seeder, request, resource, controller and routes.*

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

[](#installation)

Simply import the package as a dev dependency into your Laravel application:

```
composer require --dev bgaze/laravel-crud

```

You can publish the package configuration to `/config/crud.php`:

```
php artisan vendor:publish --provider=Bgaze\Crud\ServiceProvider

```

And classic themes views to `/resources/views/vendor/crud-classic`:

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

```

Why this package?
-----------------

[](#why-this-package)

Laravel is my favorite PHP framework.
But using it daily, at work and for my private projects, I realized that each time I create a model, I was wasting a lot of time doing repetitive tasks instead of really working on the application itself:

1. Generate classes: model, migration, controller, request, factory, seeder, ...
2. Define the table fields into migration.
3. Create the rules into the request class.
4. Create the model faker into factory.
5. Define CRUD actions into controller.
6. Register controller routes.
7. Create CRUD views and model forms.

I believe that this process can be automated a lot to produce a generic functionnal CRUD that we just need to customize, keeping the focus on the application logic.

The key for that is to define the Model table fields from whom, sticking to the framework conventions, a lot of things can be deducted.
For instance request rules or form fields: a non-nullable field is required, an enum field is often a select.

But even if CRUD generation logic will be almost the same, the files to generate can vary a lot depending on the tools used.
For instance, using classic HTML or Vue.js, a CRUD files will be very different.

So this package goals are to provide:

- A handy way to define required informations for a CRUD generation.
- An extensible base to create easily custom CRUD generators (named **themes**).
- Two simple themes to use as base for custom CRUDs:
    - A REST API CRUD.
    - A standart CRUD using Blade templates.

Conventions
-----------

[](#conventions)

CRUD generator need to manipulate Model name in order to generate required ressources.
As a convention, we designate by:

- **FullName:** the model's name including namespace without the `App` part.
- **Plural:** the FullName with last segment pluralized.
- **Plurals:** the FullName with each segments pluralized.

**Examples:**

```
Models:
    \App\MyGrandParent
    \App\MyGrandParent\MyParent
    \App\MyGrandParent\MyParent\MyChild

FullName:
    MyGrandParent
    MyGrandParent\MyParent
    MyGrandParent\MyParent\MyChild

Plural:
    MyGrandParents
    MyGrandParent\MyParents
    MyGrandParent\MyParent\MyChildren

Plurals:
    MyGrandParents
    MyGrandParents\MyParents
    MyGrandParents\MyParents\MyChildren

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~315 days

Total

3

Last Release

2257d ago

Major Versions

1.0.1 → v2.x-dev2020-03-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f4a5f965ee3485d7f2c78450a371d363027a7f10935d6559869874a584d5402?d=identicon)[bgaze](/maintainers/bgaze)

---

Top Contributors

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

---

Tags

crudgeneratorlaravelthemes

### Embed Badge

![Health badge](/badges/bgaze-laravel-crud/health.svg)

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

###  Alternatives

[laravelrus/sleepingowl

Administrative interface builder for Laravel.

810219.6k3](/packages/laravelrus-sleepingowl)[wutongwan/lego

Yet another CRUD widgets for Laravel

1107.7k](/packages/wutongwan-lego)[alexstack/laravel-cms

Simple Bootstrap Laravel CMS. Can integrate to any existing Laravel project. Only add few database tables with prefix, not effect your existing database tables. Support Laravel 8.x &amp; 7.x &amp; Laravel 6.x &amp; Laravel 5.x - Amila Laravel CMS

1084.3k5](/packages/alexstack-laravel-cms)[eveseat/web

SeAT Web Interface

2723.2k135](/packages/eveseat-web)[provision/administration

Laravel administration

113.7k2](/packages/provision-administration)

PHPackages © 2026

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