Articles

Run a scheduler command on workdays excluding holidays

2 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

5 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

How to make inputs show old value in blade

5 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

5 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

6 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