Giter VIP home page Giter VIP logo

larawesomecrud's Introduction

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 ([email protected]).

License

MIT License SamyOteroGlez & contributors

larawesomecrud's People

Contributors

samyoteroglez avatar wasimkabir avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.