Giter Site home page Giter Site logo

logangray / laravel-crud-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kepex/laravel-crud-generator

0.0 2.0 0.0 997 KB

php artisan command to generate fully working crud with grid paginated server side only by having database tables

License: MIT License

PHP 81.92% HTML 18.08%

laravel-crud-generator's Introduction

laravel-crud-generator (Logan Mod)

I played with this version, and found it more than a little interesting. I liked that it only depended on already existing tables. I did not like that it used a jquery datagrid to render the table. I also think that it could be improved with maybe integrating how

relise ala "reliese/laravel": "^0.0.13"

generates models. -Logan

Latest Stable Version Total Downloads Latest Unstable Version License

php artisan command to generate fully working crud with grid paginated server side only by having database tables

Installing

php composer.phar require kepex/laravel-crud-generator

Add to config/app.php the following line to the 'providers' array:

CrudGenerator\CrudGeneratorServiceProvider::class,

Preview

Usage

Use the desired model name as the input

CRUD for students table

php artisan make:crud student

or the whole database

php artisan make:crud all

whole database with custom layout

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

Because sometimes you need boilerplate code only for view and controller, you can use an existing model with custom controller name

php artisan make:crud student --master-layout=master --custom-controller=dashboard	

For more options

php artisan help make:crud

Custom Templates

The best power of this plugin relies on you making your own templates and generating the code the way you like

Run this command:

php artisan vendor:publish

and you will have now in resources/templates/ the files you need to modify

If you want to go back to the default, just delete them

Let me know if you have any questions or if you find this library useful at twitter @kEpEx

laravel-crud-generator's People

Watchers

 avatar  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.