SamyOteroGlez / larawesomecrud by SamyOteroGlez

CRUD generator for Laravel. Generates models, controller and views based on the database tables. This project is based on kEpEx/laravel-crud-generator from Alfredo Aguirre (alfrednx@gmail.com).
158
5
2
Package Data
Maintainer Username: SamyOteroGlez
Maintainer Contact: otero.glez.samy@gmail.com (Samy Otero Glez)
Package Create Date: 2017-01-19
Package Last Update: 2017-03-31
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 15:18:42
Package Statistics
Total Downloads: 158
Monthly Downloads: 19
Daily Downloads: 0
Total Stars: 5
Total Watchers: 2
Total Forks: 3
Total Open Issues: 9

larawesomecrud

Everything is awesome! o(Oo,)o

###A CRUD generator for Laravel. Generates models, controller and views based on the database tables.

laravel

#Requirements

    Laravel 5.1
    Laravel collective
    
    twitter-bootstrap
    datatables

#Install

###Step 1

    composer require samyoteroglez/larawesomecrud

###Step 2

Add your new provider to the providers array of config/app.php:

    CrudGenerator\CrudGeneratorServiceProvider::class,

###Step 3

Boom! Enjoy it.

#Usage

Use a table name, a list of table names as the input or just generate all the database.

###CRUD for all database

php artisan make:crud all
php artisan make:crud --all
php artisan make:crud -a
php artisan make:crud

###CRUD for one table

php artisan make:crud table_1

###CRUD for a list of tables

php artisan make:crud table_1,table_2,table_3 --only
php artisan make:crud table_1,table_2,table_3 -o

###CRUD for all except for the tables in a given list

php artisan make:crud table_1,table_2,table_3 --all-but
php artisan make:crud table_1,table_2,table_3 -b

###Generate Form Requests

php artisan make:crud table_1 --formrequest
php artisan make:crud table_1 -r

###Add links to the dashboard menu

php artisan make:crud table_1 --dashboard-menu
php artisan make:crud table_1 -m

###To check all the options

php artisan help make:crud

###Custom Templates

###Use a custom layout

php artisan make:crud all --master-layout=layouts.master 

###Customize your own templates

php artisan vendor:publish

#Contact GitHub: SamyOteroGlez Twitter: @SamyOteroGlez

###This project is based on [kEpEx/laravel-crud-generator] (https://github.com/kEpEx/laravel-crud-generator) from Alfredo Aguirre (alfrednx@gmail.com).

#License MIT License SamyOteroGlez & contributors