Setup Passport functionality in Laravel

 LaraERP

Create Users & Login with Passport 

Create Users & Login with Passport



First of all install laravel new project by composer

composer create-project laravel/laravel laraERP


Important: please add namespace inside RouteServiceProvider
protected $namespace = 'App\Http\Controllers';

Now, install passport functionality inside our laravel project

composer require laravel/passport      


cofnfig your env file with your database information and run migrate command

php artisan migrate  



Its time to install the passport dependency from laravel
php artisan passport:install              

Video Tutorail