DEV Community

loading...
Cover image for how to install passport in laravel 8

how to install passport in laravel 8

larainfo
Full Stack Developer | Laravel | Livewire | Vue Js Nodejs, tailwind css
Originally published at larainfo.com Updated on ・1 min read

In this section, I will implements how we can create REST API using laravel passport package by developing four API signup, login, logout, and getuser.

composer require laravel/passport
Enter fullscreen mode Exit fullscreen mode

Laravel makes API authentication using Laravel Passport, which provides a full OAuth2 server implementation for your Laravel application in a matter of minutes.
Read More...

Discussion (0)