safventure / laravel-s-r-c
CRUD Service-Repository-Controller
Requires
- php: >=7.2
- illuminate/support: ^6.0|^7.0
Requires (Dev)
- orchestra/testbench: ^4.0|^5.0
- phpunit/phpunit: ^8.4|^9.0
This package is auto-updated.
Last update: 2024-04-06 09:15:19 UTC
README
Composer package that creates CRUD service-repository-controller format. https://packagist.org/packages/safventure/laravel-s-r-c
As of this writing, this only supports up to laravel 6. Still in progresss to work this on laravel later version.
Installation
composer require safventure/laravel-s-r-c
Usage
Make CRUD service-repository-controller
php artisan make:src {Name}
ex. php artisan make:src Post
Make CRUD service
php artisan make:service {Name}
ex. php artisan make:service Post
Make CRUD repository
php artisan make:repository {Name}
ex. php artisan make:repository Post
Make CRUD controller
php artisan make:rscontroller {Name}
ex. php artisan make:rscontroller Post