Hey, I'm writing a book.  Eloquent Beyond The Basics

Articles

Eloquent under the hood: where is the where method?

5 months ago

When you look through the source code for the Model class, you might be surprised to find that the where method (along with other methods used to crea...

Read more

What's the N+1 problem and how do you avoid it?

5 months ago

Picture this, your page is taking too long to load, you use Laravel debugbar, Telescope, or another debugging tool to figure out what's happening. The...

Read more

5 Eloquent features you might have missed

5 months ago

Eloquent is one of the most powerful features of the Laravel framework. You can use Eloquent daily for years without knowing all the features it has t...

Read more

Run a scheduler command on workdays excluding holidays

7 months ago

Laravel has some very helpful methods that allow us to customize when our commands are executed. Unfortunately, sometimes we need a little more contro...

Read more

Signed URLs with Laravel

10 months ago

In a project, you might need to generate unique URLs that perform some code where you need to make sure that the user didn't change the URL in any way...

Read more