Published Aug 2018

Testing Artisan Commands in Laravel 5.7+

Learn about the new approach for testing Artisan commands in laravel 5.7+...

Published Sep 2017

Better 404 responses using Laravel 5.5+

Laravel 5.5.10 is shipped with two useful router methods that'll help us present better 404 pages for our users....

Published Aug 2017

Learning How to fall

On how I almost broke my neck not knowing how to fall, learning how to fall is as important as trying new stuff...

Published Aug 2017

Persisting Redis data on disk

A look into the different strategies for storing Redis data on disk...

Published May 2017

Using Laravel Mailables and Notifications as Event Listeners

On how to use Laravel Mailables and Notifications as Event listeners, which eliminates the need to create an extra listener class that only sends the notification/mailable....

Published May 2017

Conditionally pushing event listeners to queue

On how to push a queued listener to queue based on a specific condition, this might be a smart way to avoid exhausting your workers on unnecessary jobs....

Published Jul 2016

Laravel/MySQL JSON documents faster lookup using generated columns

laravel is shipped with a built-in support for JSON database fields, in this post we'll discover how to achieve faster lookup...

Published Apr 2016

Conditionally adding instructions to laravel's query builder

While using the query builder, sometimes you need to add more instructions based on specific conditions, in this post I'm going to share with you how to accomplish this without breaking method chaining....

Published Apr 2016

Building and testing Artisan Commands

In this post we're going to discuss building and testing console commands that involve interaction from the user side....

Published Mar 2016

MySQL JSON data type decoded

In this post we are going to explore the new MySQL 5.7 JSON Data Type. While diving into the topic we are going to use Laravel\'s fluent query builder....