aytacmalkoc / laravel-crud-generator
Basic CRUD generator for Laravel 8.x applications.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/aytacmalkoc/laravel-crud-generator
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.