aytacmalkoc / laravel-crud-generator
Basic CRUD generator for Laravel 8.x applications.
1.0.0
2022-06-13 20:59 UTC
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
This package provides a single command to create all CRUD operations in Laravel applications.
Installation
You can install the package via composer:
composer require aytacmalkoc/laravel-crud-generator
Usage
php artisan make:crud Product
Options
The --auth option can be used to add auth middleware to requests and routes.
php artisan make:crud Product --auth
Generated files
Controllers | Requests | Models | Observers | Factories | Migrations | Seeders | Views | Routes |
---|---|---|---|---|---|---|---|---|
ProductController | ProductRequests | Product | ProductObserver | ProductFactory | create_products_table | ProductSeeder | index, show, edit, create files | web.php |
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email desgaytacmalkoc@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.