How To Add Custom API Authentication To Laravel 5.2

Sometimes the default authentication system is not enough. When that happened to us with Laravel, here’s how we added a custom API authentication.