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

ActiveLibrary

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 today

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

15

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity21

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)
```

PHPackages © 2026

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