Answer the question
In order to leave comments, you need to log in
How to put a listener on all eloquent requests?
Hello. I ran into a problem when implementing eloquent into someone else's self-writing. It is necessary to subscribe to the event of any query executed through eloquent
On the Internet, I found a solution to listen through eloquent/events illuminate.query
But this option only works for: "illuminate/database": "4.2.6", but for "illuminate/database": "5.3 "doesn't work.
Is there a generic illuminate.query event for version 5.3?
Answer the question
In order to leave comments, you need to log in
Maybe it's
sanasol.ws/2016/04/26/eloquent-query-logging-outsi...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question