safventure/laravel-s-r-c

CRUD Service-Repository-Controller

1.0.0 2020-08-07 00:12 UTC

This package is auto-updated.

Last update: 2024-04-06 09:15:19 UTC


README

Buy Me A Coffee

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