Lumen Login tutorial for web app no API?

702 Views Asked by At

I'm using lumen to make a website. I choose it because it has been told that lumen is a stunningly fast php micro framework. I need login guide. I have created login form and received data, and validated them. Now I need to check user credinals and login user. Auth::attempt($usercredinals) is not working. Fatal error with method not found is thrown. Is there any idea to use middleware and create routes that automatically login user and make available through Auth::user() method.

Thanks in Advance.

I have not found full tutorial or documentation for authentication.

0

There are 0 best solutions below