Skip to content

Gerador de CRUDs para laravel usando bootstrap nas views

License

Notifications You must be signed in to change notification settings

ribafs2/gerador-cruds

Repository files navigation

Gerador de CRUDs

Build Status Total Downloads Latest Stable Version License

Isto é um fork do

https://github.com/sohelamin/crud-generator

Mas usando o release 3.3.1, que usa Bootstrap

Customização do resources após o CRUD criado

  • Removi o menu lateral
  • Enxugiei ao meu modo

https://github.com/ribafs2/gerador-cruds/raw/main/resources-custom.zip

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

Requirements

Laravel >= 5.3
PHP >= 5.6.4

Installation

composer create-project --prefer-dist laravel/laravel crud
cd crud

composer require ribafs/crud-generator --dev

php artisan vendor:publish --provider="Ribafs\CrudGenerator\CrudGeneratorServiceProvider"

php artisan crud:generate Cadastros --fields='title#string; body#text;' --controller-namespace=App\\Http\\Controllers --form-helper=html

Add ao routes/web.php
Route::resource('/cadastros', 'App\Http\Controllers\CadastrosController');

Executar
php artisan route:clear

php artisan migrate

php artisan serve

http://127.0.0.1:8000/cadastros

Com combo na view
php artisan crud:generate Posts --fields='title#string; content#text; category#select#options={"technology": "Technology", "tips": "Tips", "health": "Health"}' --view-path=admin --controller-namespace=App\\Http\\Controllers\\Admin --route-group=admin --form-helper=html

Documentation

Go through to the detailed documentation

Screencast

Screencast

If you're still looking for easier one then try this Admin Panel

Author

Sohel Amin 📧 Email Me

License

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

About

Gerador de CRUDs para laravel usando bootstrap nas views

Resources

License

Stars

Watchers

Forks

Packages

No packages published