Blog


Records missing from algolia index after runnning laravel scout import

You run php artisan scout:import and it says [OK] All x-y-z records have been imported. You then go to your algolia index and see that some of the records are missing. This...

Read →

Setting up Auth between your Laravel API & the frontend JS client using Passport

Laravel Passport is an official Laravel package to implement API authentication in your Laravel apps. It provides a full OAuth2 server implementation for your Laravel applications. An API built...

Read →

Validate only and atleast one field is required out of two fields in Laravel

Let's consider the following example: Our form has 2 fields video (a file input) & videourl (a text field). Our users can either upload a video directly or submit an URL...

Read →

What to do if the composer require command takes too long to execute

We all have been in the situation when the 'composer require' command takes too long to install a package. I found out a common problem I was facing and thought to share the solution for it. I...

Read →