I would use Query Builder instead of Eloquent, because unlike eloquent which makes a Model instance and then inserts, query builder writes directly to the db table
Here is a video link that explains how you can cut down your query time.
It's a very short video and it will definitely help you :)
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us