Martin Riedweg wrote a nice tutorial on how to develop a full API authentication system which can be used by any application which is able to perform requests.

laravel api development