Hey, my book is finally available. Find it here.  Eloquent Beyond The Basics!

Articles

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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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