Lumen configuration of JWT authentication

Following up our previous post Getting started with Lumen 7.0.x and JWT authentication, we will present how to properly configure the authentication package we installed. Most of this tutorial also applies in Laravel framework as long as Lumen is a minimal implementation of it. For this tutorial we will recap some parts. First of all we need the following two packages to be installed via...

Getting started with Lumen 7.0.x and JWT authentication

Lumen is the perfect solution for building micro-services based on PHP. In this tutorial, we will build a simple and secure REST API. At the end of this tutorial, you should be able to build production-ready JWT (authentication) template for lumen which will help you build your own APIs. So, let’s get started! In this tutorial we will use WAMP to host our micro-service. We assume that you...