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

ActiveLibrary

markgersaliaph/laravel-crud-generate
====================================

My First Ever Package Project

v1.0.11(2y ago)127MITPHP

Since Jan 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/MarkGersaliaPH/LaravelCrudGenerate)[ Packagist](https://packagist.org/packages/markgersaliaph/laravel-crud-generate)[ RSS](/packages/markgersaliaph-laravel-crud-generate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (14)Used By (0)

Laravel Breeze React CRUD Generator Package
===========================================

[](#laravel-breeze-react-crud-generator-package)

 [ ![Total Downloads](https://camo.githubusercontent.com/5428c270f15d30284afd457e50a364d3ad5fdfbd0bbff076608e7ff9ab9bd136/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61726b67657273616c696170682f6c61726176656c2d637275642d67656e6572617465) ](https://packagist.org/packages/markgersaliaph/laravel-crud-generate) [ ![Latest Stable Version](https://camo.githubusercontent.com/c2c25dac49b213c08b9621e011bb53625271192d0d17a501f24a75e04160305a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61726b67657273616c696170682f6c61726176656c2d637275642d67656e6572617465) ](https://packagist.org/packages/markgersaliaph/laravel-crud-generate) [ ![License](https://camo.githubusercontent.com/e23cd4692e05f700f4aa8f002bd3376e8cb0adb31ce1af8a1a3270497b351ae1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d61726b67657273616c696170682f6c61726176656c2d637275642d67656e6572617465) ](https://packagist.org/packages/markgersaliaph/laravel-crud-generate)

Introduction
------------

[](#introduction)

This Laravel package simplifies the process of creating CRUD (Create, Read, Update, Delete) operations specifically for the Laravel Breeze React starter.

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

[](#requirements)

Before installing, make sure to install Laravel Breeze with React:

```
composer require laravel/breeze --dev

```

Follow the instructions to set up Laravel Breeze with React.

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

[](#installation)

To install this package, use Composer:

```
composer require markgersaliaph/laravel-crud-generate

```

Getting Started
---------------

[](#getting-started)

### Publish Configuration and React Components

[](#publish-configuration-and-react-components)

To use the Laravel CRUD Generate package in your Laravel project, you'll need to publish the configuration file and React components. Follow these steps:

1. **Publish Configuration File:**

    Run the following Artisan command to publish the configuration file:

    ```
    php artisan vendor:publish --tag=public --provider="Markgersaliaph\LaravelCrudGenerate\LaravelCrudGenerateServiceProvider"
    ```

Configure Package
-----------------

[](#configure-package)

After publishing the configuration file, you can customize the behavior of Laravel CRUD Generate by modifying

`config/laravel-crud-generate.php`

in your Laravel project. Adjust the values according to your requirements.

Usage
-----

[](#usage)

After installation, use the provided Artisan command to generate CRUD files for a specific model:

```
php artisan crud:generate YourModel

```

Replace YourModel with the name of your Eloquent model. This command will generate the necessary files, including the model,migrations, controller, react components, and routes.

### Example:

[](#example)

To generate CRUD files for a "Product" model:

```
php artisan crud:generate Product

```

This will create the following files:

```
app/Models/Product.php
app/Http/Controllers/ProductController.php
database/migrations/create_products_table.php
resources/js/Pages/Form.jsx
resources/js/Pages/List.jsx

```

It will also generate a route in web.php:

```
Route::resource('products', App\Http\Controllers\ProductsController::class);

```

Generating Components with Built-In Components
----------------------------------------------

[](#generating-components-with-built-in-components)

If you prefer to use built-in components, follow these steps:

1. Open the configuration file located at `config/laravel-crud-generate.php`.
2. Set the `'plain_components'` option to `false`:

    ```
    // config/laravel-crud-generate.php

    return [
        'plain_components' => false,
        // Additional configuration options...
    ];
    ```

    This configuration change will enable the use of built-in components such as `Table.jsx` and `Pagination.jsx` in your Laravel project.

Now, when generating components with Laravel CRUD Generate, the components will be included based on the updated configuration.

Authors
-------

[](#authors)

- [Mark Anthony Gersalia](mailto:markgersalia.codev@gmail.com) - Creator and Lead Developer
- [Mardy Dela Cruz](mailto:mardy.delacruz@cs-its.com.ph) - Contributor
- [Jp Alcantara](mailto:jp.alcantara@cs-its.com.ph) - Contributor
- [Nelson Estuesta](mailto:nelson.estuesta@cs-its.com.ph) - Contributor

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88% 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 ~2 days

Total

12

Last Release

826d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dff8d78e0c9411c56015e92329bf8bb091cbc5f974ad10112ad823cfdd894c3a?d=identicon)[MarkGersaliaPH](/maintainers/MarkGersaliaPH)

---

Top Contributors

[![markgersalia](https://avatars.githubusercontent.com/u/189687982?v=4)](https://github.com/markgersalia "markgersalia (22 commits)")[![MarkGersaliaPH](https://avatars.githubusercontent.com/u/29791538?v=4)](https://github.com/MarkGersaliaPH "MarkGersaliaPH (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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