A modular approach with Laravel can often be useful, and you'd be surprised how simple it is to achieve. There's no need for large complex packages or refactoring of the core. In this tutorial, I'll take you through a few different approaches to this, dependant on what level of automation/integration you're looking for.
Using JWT based authentication is arguably one of the simplest types of API authentication, though there are a lot of overly complex implementations. In this tutorial I'll show you how to create a JWT implementation in your Laravel application, using both Laravels auth functionality and a standalone implementation that circumvents it.
Laravels routing system is nice, but the way we're supposed to define our routes seems somewhat archaic and doesn't seem to fit with the rest of the framework. In this tutorial, I'll show you how to add some order to your routes by using classes instead of flat PHP files.