Example of how to use lumen default auth functionality to secure your lumen based web application.
create .env file
run composer install
run php artisan migrate
post /register?email&password
post /login?email&password return api_token
get /user/1?api_token
The Lumen framework is open-sourced software licensed under the MIT license