Hey Robert Kabat for sure!

I’ve been using repositories at my job for about eight months. When I first started and wrote this article I was totally confused but now I really like using them. It’s a great place to write reusable methods. We have services as well that are for methods that use multiple repositories. As for the dependency injection in the controller, you could inject and interface and then bind the repo to the interface in Laravel settings. Not sure best approach here

Engineer, writer and community organizer. I built Employbl to help candidates get jobs in the Bay Area: https://employbl.com/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store