Skip to content

jsafe00/laravel-s-r-c

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 

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

About

A simple package that creates CRUD service-repository pattern

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages