DEV Community

loading...

Discussion on: Implement CRUD with Laravel Service-Repository Pattern

Collapse
safventure profile image
Saf Venture Author • Edited

Hi,

Thanks for dropping by.

Based on my experience, Laravel service-repository pattern is conducive if you're working in a big team or big projects. It is also sustainable and easy to understand to separate the logic and the wrapper of the model. The concept of repositories and services ensures that you write reusable code and helps to keep your controller as simple as possible making them more readable.