Answer the question
In order to leave comments, you need to log in
What is the best way to get data from database in Laravel?
Need to get data from database in Laravel. You can prescribe a method for obtaining data from the database in each model, or you can create a repository and once register a method for obtaining data from the database in it. How to do it right?
Answer the question
In order to leave comments, you need to log in
Or you can read the documentation and understand how Laravel works. The most correct way. Especially to understand how models work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question