Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.95 KB

README.md

File metadata and controls

72 lines (48 loc) · 1.95 KB

Laravel Crud Generator

Packagist Licence StyleCI

This Laravel Generator package provides and generates Controller, Model (with eloquent relations), and Views in Bootstrap for your development of your applications with a single command.

  • Will create Model with Eloquent relations
  • Will create Controller with all resources
  • Will create views in Bootstrap

Requirements

Laravel >= 5.5
PHP >= 7.1

Installation

1 - Install

composer require ibex/crud-generator --dev

2- Publish the default package's config (optional)

php artisan vendor:publish --tag=crud

Usage

php artisan make:crud {table_name}

php artisan make:crud banks

Add a route in web.php

Route::resource('banks', BankController::class);

Route name in plural slug case.

Options

  • Custom Route
php artisan make:crud {table_name} --route={route_name}

Example

Model image

Controller image

Listing Listing

Form Form

Author

M Awais // Email Me

Buy me a Coffee

ko-fi