This is a extended package for Laravel-Module Package. built for rapid development purpose.
// Install required package
composer require nwidart/laravel-modules
composer require spatie/laravel-permission
// then install this packe, NOTE: only support composer v2
composer require wailan/crud
php artisan wailan:crud YourModelClassName YourModuleName
// Create Module
php artisan module:make Product
// Create Crud for Product
php artisan wailan:crud Product Product
// you can also specify path for your model class
php artisan wailan:crud Api/V1/Product Product
- Migration
- Module Entity (Model)
- Module Controller (With CRUD Basic)
- Module Repository (for CRUD Logic)
- Module Request (Store and Update request)
- Module View (Index, Create, Edit, Show)