ribafs / crud-generator
Laravel CRUD Generator
1.9
2024-08-12 23:35 UTC
Requires
- php: ^8.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^3.3|^4.0|^5.0
- phpunit/phpunit: ^5.7|^8.0|^9.0
README
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
If you're still looking for easier one then try this Admin Panel
Author
License
This project is licensed under the MIT License - see the License File for details