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

AbandonedLibrary

salmanzafar/laravel-crud-generator
==================================

A simple Laravel library that allows you to create crud operations with a single command

v1.0.5(5y ago)235.1k↓100%9MITPHPPHP ^7.0 || ^7.1 || ^7.2 || ^7.3 || ^7.4CI failing

Since Jun 19Pushed 3y agoCompare

[ Source](https://github.com/salmanzafar949/Laravel-Crud-Generator)[ Packagist](https://packagist.org/packages/salmanzafar/laravel-crud-generator)[ Fund](https://www.buymeacoffee.com/salmanzafar949)[ Patreon](https://www.patreon.com/salmanzafar949)[ RSS](/packages/salmanzafar-laravel-crud-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (7)Used By (0)

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

[](#laravel-crud-generator)

A simple Laravel 5 library that allows you to create crud operations with a single command

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

[](#installation)

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

```

Features
--------

[](#features)

- Controller (with all the code already written)
- Model
- Migration
- Requests
- Routes

Enable the package (Optional)
-----------------------------

[](#enable-the-package-optional)

This package implements Laravel auto-discovery feature. After you install it the package provider and facade are added automatically for laravel &gt;= 5.5.

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

[](#configuration)

Publish the configuration file

This step is required

```
php artisan vendor:publish --provider="Salman\CrudGenerator\CrudGeneratorServiceProvider"

```

Usage
-----

[](#usage)

After publishing the configuration file just run the below command

```
php artisan crud:generate ModelName

```

Just it, Now all of your `Model Controller, Migration, routes` and `Request` will be created automatically with all the code required for basic crud operations

Example
-------

[](#example)

```
php artisan crud:generate Car

```

#### CarController.php

[](#carcontrollerphp)

```
