PHPackages                             mahabub/laravel-crud-and-repository-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. [Framework](/categories/framework)
4. /
5. mahabub/laravel-crud-and-repository-generator

ActiveLibrary[Framework](/categories/framework)

mahabub/laravel-crud-and-repository-generator
=============================================

laravel crud generator with repository pattern

v3.1.0(3y ago)112.3k↑111.5%[1 issues](https://github.com/mahabubul1/laravel-crud-and-repository-generator/issues)MITPHPPHP ^7.0 || ^7.1 || ^7.2 || ^7.3 || ^7.4|^8.0|^8.1|^8.2

Since Sep 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mahabubul1/laravel-crud-and-repository-generator)[ Packagist](https://packagist.org/packages/mahabub/laravel-crud-and-repository-generator)[ Docs](https://github.com/mahabubul1/laravel-crud-and-repository-generator)[ RSS](/packages/mahabub-laravel-crud-and-repository-generator/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (8)Used By (0)

Laravel CRUD Generator with Repository Repository Pattern.
----------------------------------------------------------

[](#laravel-crud-generator-with-repository-repository-pattern)

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

[](#installation)

```
composer require mahabub/laravel-crud-and-repository-generator

```

Features
--------

[](#features)

- Controller
- Model
- Migration
- Requests
- Routes
- Repository pattern
- views

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

[](#configuration)

###### Publish The Resources File

[](#publish-the-resources-file)

```
php artisan vendor:publish --tag=resources

```

###### Publish The Config File

[](#publish-the-config-file)

```
php artisan vendor:publish --tag=crud-generator

```

#### Then go to config/crud-generator.php and configur laravel version

[](#then-go-to-configcrud-generatorphp-and-configur-laravel-version)

Usage
-----

[](#usage)

### If what want to generate without folder. Just run the below command.

[](#if-what-want-to-generate-without-folder-just-run-the-below-command)

```
php artisan crud:make ModelName

```

### If what want to generate with Repository Patter without folder. Just run the below command.

[](#if-what-want-to-generate-with-repository-patter-without-folder-just-run-the-below-command)

```
php artisan crud:make ModelName --rep

```

### If what want to generate in folder. Just run the below command.

[](#if-what-want-to-generate-in-folder-just-run-the-below-command)

```
php artisan crud:make FolderName/ModelName;

```

### If what want to generate in folder with Repository Pattern. Just run the below command.

[](#if-what-want-to-generate-in-folder-with-repository-pattern-just-run-the-below-command)

```
php artisan crud:make FolderName/ModelName --rep;

```

### If what want to generate in folder without Repository Pattern. Just run the below command.

[](#if-what-want-to-generate-in-folder-without-repository-pattern-just-run-the-below-command)

```
php artisan crud:make FolderName/ModelName ;

```

Usage Route In Web.php below Laravel 8
--------------------------------------

[](#usage-route-in-webphp-below-laravel-8)

```
Route::resource('photos', 'PhotoController');

```

Or Route In Web.php for Laravel 8
---------------------------------

[](#or-route-in-webphp-for-laravel-8)

###### Just Import The Class

[](#just-import-the-class)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~105 days

Recently: every ~157 days

Total

7

Last Release

1123d ago

Major Versions

v2.2.3 → v3.0.02021-09-20

PHP version history (2 changes)v2.1.0PHP ^7.0 || ^7.1 || ^7.2 || ^7.3 || ^7.4|^8.0

v3.1.0PHP ^7.0 || ^7.1 || ^7.2 || ^7.3 || ^7.4|^8.0|^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/42dbe246fc921d7c756acdfdabb179c94c48e96bf848fa9fb545324517ebb253?d=identicon)[mahabubul1](/maintainers/mahabubul1)

---

Top Contributors

[![mahabubul1](https://avatars.githubusercontent.com/u/19894989?v=4)](https://github.com/mahabubul1 "mahabubul1 (33 commits)")

---

Tags

laravellaravel 6laravel 7laravel 8repository patternrepositorylaravel crud generatorrepository crudlaravel-5.8

### Embed Badge

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

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

###  Alternatives

[ip2location/ip2proxy-laravel

Allows user to query an IP address if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.

1070.7k](/packages/ip2location-ip2proxy-laravel)[itsmurumba/laravel-mpesa

Laravel Package for Mpesa Daraja API

208.2k](/packages/itsmurumba-laravel-mpesa)[efficiently/jquery-laravel

This package provides jQuery and the jQuery-ujs driver for your Laravel &gt;= 6 application.

1411.3k1](/packages/efficiently-jquery-laravel)

PHPackages © 2026

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