Laravel 7 Crud is a basic crud app built with laravel 8. In this app a basic product crud created. Features include:
- Laravel ui package (
composer require laravel/ui:^2.4
) - Laravel default auth (
php artisan ui vue --auth
) - Create product.
- List products.
- Update product.
- Delete product
- Migration file.
- Request file used to validate request data
- NHRROB Crud Generator package to generate crud using command
(https://github.com/nhrrob/crudgenerator -composer require nhrrob/crudgenerator
) - Pagination support
This app created to help developers to get started with their crud based apps.
Install commands:
- git clone https://github.com/nhrrob/laravel-7-crud.git
- composer update
- add .env and update database settings
- php artisan migrate:fresh --seed
- php artisan serve
- This app uses resource route.
- To see product crud: browse - yoursiteurl/products
(Ex. http://127.0.0.1:8000/products) - Demo User (database/seeders/DatabaseSeeder.php):
admin@admin.com/password
The Laravel 7 Crud is open-sourced software licensed under the MIT license.
Feel free to contact:
nazmulrobin.com | Twitter | Linkedin | Email