PHPackages                             morganrowse/laravelcrud - 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. morganrowse/laravelcrud

ActiveLibrary[Admin Panels](/categories/admin)

morganrowse/laravelcrud
=======================

Artisan command to generate routing, views and controllers from a database table

0.0.15(7y ago)289[1 issues](https://github.com/morganrowse/laravelcrud/issues)MITPHP

Since Jul 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/morganrowse/laravelcrud)[ Packagist](https://packagist.org/packages/morganrowse/laravelcrud)[ Docs](https://github.com/morganrowse/laravelcrud)[ RSS](/packages/morganrowse-laravelcrud/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (2)Versions (17)Used By (0)

Laravel CRUD
============

[](#laravel-crud)

[![Downloads](https://camo.githubusercontent.com/d8a260c2b6f88761317e122ef2e9f23f0b8e639840f3f176d11c02cba43ad6bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f7267616e726f7773652f6c61726176656c637275642e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/morganrowse/laravelcrud)[![Version](https://camo.githubusercontent.com/d776784f4d668a9cf73ebf04c6ef7d6ea9b62458c6d16c71cb381ec5626eff90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f7267616e726f7773652f6c61726176656c637275642e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/morganrowse/laravelcrud)[![Travis](https://camo.githubusercontent.com/3c4d644283c0c285bd03803897162fcd4d03e0807812bc89ea0f6be75f5559fd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d6f7267616e726f7773652f6c61726176656c637275642e7376673f7374796c653d666f722d7468652d6261646765)](https://travis-ci.org/morganrowse/laravelcrud)[![Codacy grade](https://camo.githubusercontent.com/93cc9e0bd4bc2d533bd367e9179cdd742fefe79689a2b39d4d77ce316a305fa9/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f62393936333432613861333634373261616564373233313337636266663261352e7376673f7374796c653d666f722d7468652d6261646765)](https://www.codacy.com/app/morgan.rowse/laravelcrud)

This composer package adds artisan commands which create Models, Views, Controllers and Request Validation for crud operation based off of a database table schema.

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

[](#installation)

[![Subheader Image](https://user-images.githubusercontent.com/17880010/32118361-aab588f8-bb51-11e7-95ef-6462dd720179.png)](https://user-images.githubusercontent.com/17880010/32118361-aab588f8-bb51-11e7-95ef-6462dd720179.png)

First add the package via composer

```
$ composer require morganrowse/laravelcrud dev-master
```

*Use dev-master as I currently don't push tags*

Usage
-----

[](#usage)

[![Subheader Image](https://user-images.githubusercontent.com/17880010/32118361-aab588f8-bb51-11e7-95ef-6462dd720179.png)](https://user-images.githubusercontent.com/17880010/32118361-aab588f8-bb51-11e7-95ef-6462dd720179.png)

First have your database setup as desired following laravel naming convention (such as a table called posts).

Next run the command via artisan

```
$ php artisan make:crud posts
```

This will create:

```
app
│   Post.php
└───Http
│   └───Controllers
│   │   │   PostController.php
│   |   └───View
│   │   │   |   PostController.php
│   └───Requests
│   │   └───Post
│   │   │   │   DestroyPost.php
│   │   │   │   StorePost.php
│   │   │   │   UpdatePost.php
│   └───Resources
│   │   │   PostResource.php
resources
└───views
│   └───posts
│   │   │   create.blade.php
│   │   │   edit.blade.php
│   │   │   index.blade.php
│   │   │   show.blade.php

```

Now add the view routes to your **web.php**

```
...
Route::resource('posts','View\\PostController');
...
```

Finally add the api routes to your **api.php**

```
...
Route::apiResource('posts','PostController');
...
```

[![Subheader Image](https://user-images.githubusercontent.com/17880010/32118361-aab588f8-bb51-11e7-95ef-6462dd720179.png)](https://user-images.githubusercontent.com/17880010/32118361-aab588f8-bb51-11e7-95ef-6462dd720179.png)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~27 days

Recently: every ~94 days

Total

15

Last Release

2848d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fb968eda3ce9bfaa9dc2e9b77eba725a2bab1902ac41d717a3c91826640a347?d=identicon)[morganrowse](/maintainers/morganrowse)

---

Top Contributors

[![morganrowse](https://avatars.githubusercontent.com/u/17880010?v=4)](https://github.com/morganrowse "morganrowse (107 commits)")

---

Tags

artisancrud-generatorlaravellaravelartisancrud

### Embed Badge

![Health badge](/badges/morganrowse-laravelcrud/health.svg)

```
[![Health](https://phpackages.com/badges/morganrowse-laravelcrud/health.svg)](https://phpackages.com/packages/morganrowse-laravelcrud)
```

PHPackages © 2026

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