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

ActiveLibrary[Admin Panels](/categories/admin)

jmsr/crud-generator-laravel
===========================

Laravel Crud Generator. This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in \*\*Bootstrap\*\* or \*\*React\*\* and by \*\*DDD\*\* architecture, if you want, for your development of your applications with single command.

127PHP

Since Jun 29Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Laravel Crud Generator](https://camo.githubusercontent.com/1a78f0c057cfdde3cccbad156578dfde59200240a1e1d42cfb75c285b4d4b6af/68747470733a2f2f6a6f73656d6973722e636f6d2f696d616765732f4c61726176656c25323043525544253230646464253230616e6425323072656163742e706e67)](https://camo.githubusercontent.com/1a78f0c057cfdde3cccbad156578dfde59200240a1e1d42cfb75c285b4d4b6af/68747470733a2f2f6a6f73656d6973722e636f6d2f696d616765732f4c61726176656c25323043525544253230646464253230616e6425323072656163742e706e67)

[![Packagist](https://camo.githubusercontent.com/c69c7902de243dbd29fc7b7c8293e079918e2b777dcd7757910ccb3353ae7f94/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b61676973742d76312e332e322d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c69c7902de243dbd29fc7b7c8293e079918e2b777dcd7757910ccb3353ae7f94/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b61676973742d76312e332e322d677265656e2e7376673f7374796c653d666c61742d737175617265)[![Licence](https://camo.githubusercontent.com/656bdf8cf26742d9e1ebfd6477eb0ca8d9f2f57fe28f585b2cf37bd98b5f9b4a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d4d49542d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/656bdf8cf26742d9e1ebfd6477eb0ca8d9f2f57fe28f585b2cf37bd98b5f9b4a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d4d49542d677265656e2e7376673f7374796c653d666c61742d737175617265)[![StyleCI](https://camo.githubusercontent.com/000890d25e13669efa11ffedd4cf7cddff09a83f24dd0b9f319409a5f40d62e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374796c6543492d706173732d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/000890d25e13669efa11ffedd4cf7cddff09a83f24dd0b9f319409a5f40d62e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374796c6543492d706173732d677265656e2e7376673f7374796c653d666c61742d737175617265)

This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in **Bootstrap** or **React** and by **DDD** architecture, if you want, for your development of your applications with single command.

- Will create **Model** with Eloquent relations
- Will create **Controller** with all resources
- Will create **DDD/Hexagonal** Architecture
- Will create **UseCases**
- Will create **Repositories** with **Interface** and custom **Exception**
- Will create **Entities**
- Will create **views** in `Bootstrap` or `React`, yo can choose it in config file
- Will create **Bindings** Routes web and api, and autowiring on `AppProvider` file

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

[](#requirements)

```
Laravel >= 8.0
PHP >= 8.1

```

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

[](#installation)

1. Install ```
    composer require jmsr/crud-generator-laravel --dev

    ```
2. Publish the default package's config ```
    php artisan vendor:publish --tag=crud

    ```

Usage
-----

[](#usage)

- Add `ITEMS_PER_PAGE = 10` to your .env file
- Use these commands

    ```
    php artisan make:crud {table_name}

    php artisan make:crud banks

    ```
- Add a route in `web.php`

    ```
    Route::resource('banks', 'BankController');

    ```

    \**Route name in plural slug case.*
- Copy `BaseEntity.stub` file from `vendor/jmsr/src/stubs` to your `src` directory and rename it to `BaseEntity.php`

Options
-------

[](#options)

- ### Bootstrap

    [](#bootstrap)

    In this case you don't need to change anything y confi file.

    - Custom Route

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

        ```
- ### React

    [](#react)

    You need to change config file `architecture_mode` to *ddd* and `front` to *react*

    - Do everything under context

        ```
        php artisan make:crud {table_name} --path={context_name}

        ```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 76.1% 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/efa05db28f4657747bfcb98f2858b74a903e1a4297a9583e54638bd89057f29d?d=identicon)[josemi777](/maintainers/josemi777)

---

Top Contributors

[![awais-vteams](https://avatars.githubusercontent.com/u/10154558?v=4)](https://github.com/awais-vteams "awais-vteams (35 commits)")[![josemi777](https://avatars.githubusercontent.com/u/17159050?v=4)](https://github.com/josemi777 "josemi777 (10 commits)")[![asargodha](https://avatars.githubusercontent.com/u/10439819?v=4)](https://github.com/asargodha "asargodha (1 commits)")

---

Tags

boostrapcruddddlaravellaravel-packagereact

### Embed Badge

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

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

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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