A
A
Alex Teterin2017-04-28 18:09:51
Laravel
Alex Teterin, 2017-04-28 18:09:51

How to use repository pattern in Laravel?

I really love Doctrine 2 ORM. But here I am working on Laravel 5.4.
Does anyone have experience with Laravel 5 using the Repository pattern?
If yes, please provide a link to an example code.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
index0h, 2017-04-29
@index0h

This is the path of pain. The best solution would be a complete rejection of Lark's orms.

I
Ilya, 2018-08-15
@baltun7

here is a person who described his vision: https://habr.com/post/350778/
it seems to me quite convenient
it does not use Doctrine

V
Vasyl Fomin, 2018-08-15
@fomvasss

Refused to use this patera together with Elequent, respectively, in Laravel
Here is one of the articles on this topic ... and a comment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question