Skip to content
Branch: master
Clone or download
Latest commit 64cf9dc May 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Added route opiton May 6, 2019
.gitignore added softdeletes and view changes Dec 18, 2018
LICENSE Model namespace bug fix Dec 21, 2018
README.md Update README.md May 20, 2019
_config.yml Set theme jekyll-theme-cayman May 15, 2019
composer.json

README.md

Laravel CRUD Generator

Packagist Licence StyleCI

This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in Bootstrap for your development of your applications with 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

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');

Route name in plural slug case.

Options

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

Example

Model Model

Controller Controller

Listing Listing

Form Form

Author

M Awais // Email Me

Buy me a Coffee

ko-fi

You can’t perform that action at this time.