crud / generator-builder
Demo-package to show time
v1.0
2021-01-02 16:03 UTC
Requires
- php: ^7.3
- illuminate/support: ^8.0
- laracasts/flash: ^3.2
Requires (Dev)
- mockery/mockery: ^1.3.1
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-03-13 21:58:56 UTC
README
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