Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

When to step out of Eloquent's comfort zone

And how to do it effectively

Joel Clermont
Joel Clermont
2025-01-13

From our daily Laravel tips email. Get the next one in your inbox.

Eloquent is great. It's one of my favorite things about Laravel. But sometimes you need to step outside the comfort zone of Eloquent for a specific requirement, including performance optimization.

In the latest episode of the No Compromises podcast, we explore the nuances of when to venture beyond Eloquent and discuss specific scenarios where using lower-level database tools might be necessary, while emphasizing the importance of not abandoning Eloquent entirely.

Listen Now (12 min)

And after listening, don't forget to subscribe to the podcast, so you don't miss future episodes.

Here to help,

Joel

P.S. Thinking of bypassing Eloquent for performance reasons? It's not always necessary. Get an expert Laravel code review to get a second opinion.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.