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

Articles

How to make inputs show old value in blade after validation error

10 months ago

When a validation error occurs, by default, the form inputs will not keep the values they had before the submission. This makes for a terrible user ex...

Read more

5 ways to optimize your eloquent queries

10 months ago

Did you know that 1 in 4 visitors would abandon a website if it takes more than 4 seconds to load? While multiple factors can slow down a website, one...

Read more

Eloquent optimization: displaying only one record of a one to many relationship

10 months ago

Sometimes we need to display data for only one record in our one-to-many relationships. For example: Displaying the title of the last video each user...

Read more

Create make:custom commands in Laravel

11 months ago

Laravel comes with a feature that allows us to scaffold some commonly used classes, like models, factories, notifications, etc. If we want to create a...

Read more

Zero downtime deployment for Laravel apps

11 months ago

While I was building laravelremote.com (a Laravel remote job aggregator), I was worried that each time I wanted to push some changes to the production...

Read more