GithubHelp home page GithubHelp logo

edomaru / laravel-crud-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mehradsadeghi/laravel-crud-generator

0.0 1.0 0.0 49 KB

Generate a CRUD scaffold with validation rules like a breeze.

License: MIT License

PHP 100.00%

laravel-crud-generator's Introduction

Laravel CRUD Generator

Generate a CRUD scaffold like a breeze.

Compatible with Laravel 5.x 6.x 7.x 8.x.

Installation

$ composer require mehradsadeghi/laravel-crud-generator

Usage

It works based on your $fillable property of the target model.

If you would like to use $guarded instead of $fillable, It is supported too. In that case you'll need to have an existing Schema (table), Then the crud generator will automatically figures out your fillables.

As an example when $fillable is available:

$ php artisan make:crud UserController --model=User --validation

laravel-crud-generator

Customizing Stubs

You can modify default stubs by publishing them:

$ php artisan crud:publish

The published stubs will be located within stubs/crud directory in the root of your application. Any changes you make to these stubs will be reflected when you generate crud.


Your Stars Matter

If you find this package useful and you want to encourage me to maintain and work on it, Just press the star button to declare your willing.


Reward me with a cup of tea ๐Ÿต

Send me as much as a cup of tea worth in your country, so I'll have the energy to maintain this package.

  • Ethereum: 0x2D5BFdEc132F9F0E9498Fb0B58C800db4007D154

laravel-crud-generator's People

Contributors

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