DEV Community

Discussion on: Implement CRUD with Laravel Service-Repository Pattern

Collapse
 
safventure11000 profile image
Josafe Balili

Yes. As of now, there is no artisan command for repository or service. But there are composer packages that you can install that will generate these.

Collapse
 
bluewater0506 profile image
ilya

Thank you.
then, Could you please send me composer install command for repository?
good regards

Thread Thread
 
safventure11000 profile image
Josafe Balili • Edited

Not sure if these will work because it always depends on your laravel version. That's why I prefer to just create it manually.

github.com/OzanKurt/Repoist - composer require ozankurt/repoist
github.com/jason-guru/laravel-make... - composer require jason-guru/laravel-make-repository --dev

Some comments have been hidden by the post's author - find out more