Original

All articles that are written by me.

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 →