Articles

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

Apr 02, 2022

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

Apr 01, 2022

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 webs

Read more

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

Mar 27, 2022

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 u

Read more

Create make:custom commands in Laravel

Mar 04, 2022

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

Feb 19, 2022

While I was building [laravelremote.com](https://laravelremote.com) (a Laravel remote job aggregator), I was worried that each time I wanted to push s

Read more