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

ActiveLibrary[Admin Panels](/categories/admin)

muhammadsami/laravel-crud-generator
===================================

Laravel CRUD Generator using Repository Pattern by Muhammad Sami

015PHP

Since Sep 23Pushed 7mo agoCompare

[ Source](https://github.com/sami-1999/laravel-crud-generator)[ Packagist](https://packagist.org/packages/muhammadsami/laravel-crud-generator)[ RSS](/packages/muhammadsami-laravel-crud-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-crud-generator)

[![Packagist Version](https://camo.githubusercontent.com/78580572713351a2c181438325a7f727368eef331795a48f237f0daaf6e4eb8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7568616d6d616473616d692f6c61726176656c2d637275642d67656e657261746f72)](https://camo.githubusercontent.com/78580572713351a2c181438325a7f727368eef331795a48f237f0daaf6e4eb8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7568616d6d616473616d692f6c61726176656c2d637275642d67656e657261746f72)[![License](https://camo.githubusercontent.com/c3c8324d1dbbf13874042eb1a10f5aabc5c67e46c9d3f4bc00a565c49b604f3c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d7568616d6d616473616d692d6465762f6c61726176656c2d637275642d67656e657261746f72)](https://camo.githubusercontent.com/c3c8324d1dbbf13874042eb1a10f5aabc5c67e46c9d3f4bc00a565c49b604f3c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d7568616d6d616473616d692d6465762f6c61726176656c2d637275642d67656e657261746f72)[![Stars](https://camo.githubusercontent.com/57a9d026eae1320b87e2e55691f385a66c5424a4a522cdd4986e4c8573457b91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d7568616d6d616473616d692d6465762f6c61726176656c2d637275642d67656e657261746f723f7374796c653d736f6369616c)](https://camo.githubusercontent.com/57a9d026eae1320b87e2e55691f385a66c5424a4a522cdd4986e4c8573457b91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d7568616d6d616473616d692d6465762f6c61726176656c2d637275642d67656e657261746f723f7374796c653d736f6369616c)

**Generate Laravel CRUD boilerplate using the Repository Pattern — in seconds.**
Built with by [Muhammad Sami](https://www.linkedin.com/in/muhammad-sami-600700182/)

![Uploading image.png…]()

---

✨ Features
----------

[](#-features)

- 🔧 Generates: Model, Migration, Form Request, Controller
- 💡 Repository &amp; Interface Pattern
- ⚙️ Artisan Command Based
- 🧱 PSR-4 Autoloaded Structure
- ✏️ Stubs Fully Customizable
- 🧼 Clean, Scalable &amp; Maintainable Code

---

📦 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require muhammadsami/laravel-crud-generator

2. Publish stub files:

php artisan vendor:publish --tag=crud-stubs

⚡ Usage
Run the command to scaffold a full CRUD:

php artisan make:crud Product

This will generate:

app/Models/Product.php

app/Http/Requests/ProductRequest.php

app/Interfaces/ProductInterface.php

app/Repositories/ProductRepository.php

app/Http/Controllers/Api/ProductController.php

database/migrations/xxxx_xx_xx_xxxxxx_create_products_table.php

🛠 Configuration Steps

1. Bind Interface to Repository
Update AppServiceProvider:

public function register()
{
    $this->app->bind(
        \App\Interfaces\ProductInterface::class,
        \App\Repositories\ProductRepository::class
    );
}
3. Define Routes
In routes/api.php:

//Example
use App\Http\Controllers\Api\ProductController;

Route::apiResource('products', ProductController::class);

4. Customize Migration
You can modify the generated migration file before running:

php artisan migrate
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance44

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.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/16b30b43019088f591ebcabfb445a9e13df3f08fb43969388a4656967b6126ed?d=identicon)[sami-1999](/maintainers/sami-1999)

---

Top Contributors

[![sami-1999](https://avatars.githubusercontent.com/u/83196763?v=4)](https://github.com/sami-1999 "sami-1999 (13 commits)")[![muhammadsamiadalat](https://avatars.githubusercontent.com/u/190615554?v=4)](https://github.com/muhammadsamiadalat "muhammadsamiadalat (1 commits)")

---

Tags

artisancrudcrud-generatorlaravellaravel-packageopen-sourcephprepository-pattern

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/muhammadsami-laravel-crud-generator/health.svg)](https://phpackages.com/packages/muhammadsami-laravel-crud-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)
