Lumen

Lumen authentication API

Since last couple of years I used Laravel for web and API development, finally decided to test Lumen a micro session-less framework. For sure it’s faster than Laravel full framework, but it’s lacks many default features comes with in Laravel default.

Being a Laravel developer, when using Lumen you will defiantly annoy when missing some features, those comes with Laravel default.

For example some artisan commands like:

  • router list
  • most of the make commands
  • config folder
  • and some other

But it doesn’t mean you can’t utilize them, so don’t be worry :). That’s how micro frameworks are designed, comes with minimal features then you can add on packages according to your requirement.

Well coming back to Authentication API, it includes following routes. You are welcome to give it try.

https://github.com/danyal14/authentication-api

Routes & flow:

POST /api/auth/register
POST /api/auth/login
GET /api/auth/logout
GET /api/auth/verify
GET /api/user/profile
GET /api/users
POST /api/user/change-password
GET /key/generate

Postman Documentation
https://documenter.getpostman.com/view/66154/RzZFBbbC 

 

Author: Danyal
I'm a skilled programmer specializing in Vue.js/Nuxt.js for front-end development and PHP Laravel for back-end solutions. I have a strong focus on API design and development, complemented by experience in web server setup and maintenance. My versatile expertise ensures seamless creation and maintenance of web applications, covering everything from intuitive user interfaces to robust server-side functionality. Passionate about coding and driven by a lifelong learning mindset, I invite you to explore more at danyal.dk.