Currently I want to implement firebase/php-jwt into laravel 5
I've run the command composer require firebase/php-jwt
under my laravel 5 project, and I get
"require": {
...
"firebase/php-jwt": "^3.0"
},
in package.json
from config/app.php, I need inject this library, but don't know how to do.
Solution:
use tymondesigns/jwt-auth instead,
and follow JSON Web Token Tutorial: An Example in Laravel and AngularJS
Eventhough your front-end not using angular, it doesn't matter