crud/generator-builder

Demo-package to show time

v1.0 2021-01-02 16:03 UTC

This package is auto-updated.

Last update: 2024-04-13 19:50:51 UTC


README

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads License

This Generator package provides various generators like CRUD, API, Controller, Model, Migration, View for your painless development of your applications.

Requirements

Laravel >= ^8.0
PHP >= ^7.3

Installation

Install laravel 8

    composer create-project --prefer-dist laravel/laravel blog

Install Jetstream with the Livewire stack...

    composer require laravel/jetstream

    php artisan jetstream:install livewire

Install crud/generator-builder

    composer require crud/generator-builder
    
    Add Below Line To app.php
    Crud\GeneratorBuilder\GeneratorBuilderServiceProvider::class,

Publish Layout

    php artisan crud:publish
  
    php artisan crud.publish:layout
    php artisan crud.publish:layout --localized (For Localized Views, run it with the option --localized)

Install npm

    npm install
    npm run dev

Generator Commands

Generator provides various commands to generate scaffold & apis.
    php artisan crud:api $MODEL_NAME  
    
    php artisan crud:scaffold $MODEL_NAME
    
    php artisan crud:scaffold $MODEL_NAME --datatables=true (Single Page crud with datatables)
    
    php artisan crud:api_scaffold $MODEL_NAME

Example

    php artisan crud:scaffold Post --datatables=true 

Screenshot

This project is licensed under the MIT License - see the License File for details

Author

Ravi Navadiya 📧 Email Me

License