PHPackages                             lanciweb/laravel-make-crud - 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. lanciweb/laravel-make-crud

ActiveLaravel-package[Framework](/categories/framework)

lanciweb/laravel-make-crud
==========================

A Laravel Package that allows creation of Model, Migration, Seeder, Views, Routes and resource controller for CRUD operations.

v1.0.4(3y ago)332.4k↓100%MITPHP

Since Mar 9Pushed 1y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Laravel MakeCrud
================

[](#laravel-makecrud)

Laravel MakeCrud is a Laravel Package that helps you create all the files you need for CRUD operations on your models.

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

[](#installation)

Use composer to install Laravel MakeCrud

```
composer require lanciweb/laravel-make-crud
```

Usage
-----

[](#usage)

### Default command

[](#default-command)

This command has no options and represent the default behaviour:

```
php artisan make:crud Post

 # - Generates the model (Post.php)
 # - Generates a resource controller (PostController.php)
 # - Automatically imports the Post model in the controller
 # - Generates a seeder (PostSeeder.php)
 # - Generates a create table migration (create_posts_table***.php)
 # - Registers all the Resource routes in web.php for the posts
 # - Creates a view folder  (resources/views/posts)
 # - The following blade files will be created in the folder
 # ----- index.blade.php
 # ----- show.blade.php
 # ----- create.blade.php
 # ----- edit.blade.php
```

### Prefix

[](#prefix)

Adding a prefix to the model (i.e: `Admin/Post`) name will result in the following differences:

```
php artisan make:crud Admin\Post

# - The controller will be placed in the 'Admin' folder
# - Routes URIs will be prefixed with 'admin/'
# - Routes names will be prefixed with 'admin.'
# - Views will be placed in 'resources/views/admin/posts'
```

### Api option

[](#api-option)

Adding the `--api` option will result in the following differences:

```
php artisan make:crud Post --api

# - The controller will be placed in the 'Api' folder
# - The controller will not have the 'create' and 'edit' methods
# - Routes will be registered in the 'api.php' file
# - Views will not be generated
```

### Picking options

[](#picking-options)

Adding any of the following options (except for `--api`) prevents the default behaviour and let you pick manually what you want to generate.

optionaliasresult`--controller``-c`Generates the Resource Controller`--migration``-m`Generates the create table Migration`--seeder``-s`Generates the Seeder`--factory``-f`Generates the Factory`--policy``-p`Generates the Policy`--requests``-R`Generates the Form Request`--views``-b`Generates the Blade views`--api`See the Api option section`--all``-a`Adds all options available (except for the `--api`)> Please note that **a model will always be generated**

> Please not that the `--all` option can be used together with the `--api` option.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](./LICENSE.md)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

5

Last Release

1154d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7dee87aa63628fd6e564664515bd8969cedbee5bca068cbb1815e3300de7e9ee?d=identicon)[lanciweb](/maintainers/lanciweb)

---

Top Contributors

[![LanciWeb](https://avatars.githubusercontent.com/u/15893446?v=4)](https://github.com/LanciWeb "LanciWeb (6 commits)")

### Embed Badge

![Health badge](/badges/lanciweb-laravel-make-crud/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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