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

ActiveLibrary[Admin Panels](/categories/admin)

usermp/laravel-generator
========================

asdasdasdasd qwedsadf

31771PHP

Since May 31Pushed 11mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-crud-generator)

A Laravel package to generate CRUD operations quickly and easily using a YAML configuration file.

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

[](#installation)

You can install the package via Composer:

```
composer require usermp/laravel-generator:dev-master
```

Configuration
-------------

[](#configuration)

Add the `LaravelGeneratorServiceProvider` class to the providers array in your `config/app.php` file:

```
'providers' => [
	Usermp\LaravelGenerator\LaravelGeneratorServiceProvider::class,
],
```

Usage
-----

[](#usage)

To generate a CRUD operation for a specific service, create a YAML configuration file and use the `generate:crud` Artisan command.

### Example YAML Configuration

[](#example-yaml-configuration)

Below is an example YAML configuration file for generating a CRUD for an `Post` service:

```
service:
    name: Post
    fields:
        title: ["string", "required", "max:255"]
        slug: ["string", "required", "max:255"]
        description: ["text", "nullable"]
        author_id: ["integer", "User#id"]
    traits: [
      Illuminate\Notifications\Notifiable,
      Illuminate\Database\Eloquent\SoftDeletes
    ]
```

### Generating CRUD

[](#generating-crud)

Once you have your YAML configuration file ready, run the following command to generate the CRUD operations:

```
php artisan generate:crud path/to/your-config-file.yaml
```

Replace `path/to/your-config-file.yaml` with the actual path to your YAML configuration file.

Features
--------

[](#features)

- Generates migration files based on the YAML configuration.
- Creates Eloquent models with specified traits and fields.
- Generates controllers with standard CRUD methods.
- Creates form requests for validation rules.

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

Contact
-------

[](#contact)

For any inquiries or support, please reach out to .

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.9% 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/48add354597189247b456142f8384caf8b7dde8d30e48eab47b6a1484ebceecc?d=identicon)[usermp](/maintainers/usermp)

---

Top Contributors

[![usermp](https://avatars.githubusercontent.com/u/39251365?v=4)](https://github.com/usermp "usermp (46 commits)")[![Amiraliansaripour](https://avatars.githubusercontent.com/u/114485114?v=4)](https://github.com/Amiraliansaripour "Amiraliansaripour (1 commits)")

### Embed Badge

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

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

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