The second way. Active Record (Eloquent) deals with many concerns. By using a repository we are looking to move the concern of fetching models from the db to a different class.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community