I see that a lot of you are having problems with my blog post on JSON Web Token Authentication for Lumen. I've been reading all comments and emails about it, but because this post was written more than one year ago I decided to reboot the whole post instead of trying to fix issues that have been piling on.
At the time when I wrote that post you could actually follow along and get the wanted result, but packages changed/updated, new versions of Lumen released and things broke.
So, for this tutorial, I will be using Lumen 5.3 (which is the latest Lumen version released at the time of this tutorial) with tymondesigns/jwt-auth package version
1.0.0-alpha.3 to implement JWT authentication in Lumen.
Laravel makes implementing authentication very simple. We will implement authentication in our existing application.
In this tutorial, we will cover creating, updating, deleting and viewing all multilingual articles.
Let's start with the basics. Learn how to change your application locale, write localization files and use translations in your Laravel application.
With API Blueprint you can quickly design and prototype APIs to be created or document and test already deployed mission-critical APIs.