DEV Community

Discussion on: Repository Pattern in Laravel

Collapse
 
davidrjenni profile image
David

I appreciate your feedback very much!

Thank you for this well presented article :)
I'm not a fan of repository pattern, but I recently do a kind of it by splitting Eloquent and Collection from the model.

I don't know if you are aware of it so I'm sharing it to you:

No, I wasn't aware about this, thanks for sharing the link. It looks neat and I hope to try it out soon.

I certainly see why it might be more popular in the Laravel community. In the end, the design decisions depend a lot on personal taste, the specific project and other factors. But whatever helps you structure your project is great!