DEV Community


Discussion on: Implement CRUD with Laravel Service-Repository Pattern

safventure profile image
Saf Venture Author • Edited

I agree with you. I think laravel repository pattern implementation is easier because you only need to add the repository. But if you're thinking on the readability and flexibility of your system, I highly recommend the service-repository pattern. Separating the logic (service) and the wrapper of the model (repository) is not hard at all.

mahdipishguy profile image
Mahdi Pishguy

I will definitely test it