Idlle's avatar
Level 1

JWT integration error

Hello guys, i am new at Lumen and Laravel, and maybe i jump in the deep with this JWT My issue is i follow this guide to install JWT

https://github.com/tymondesigns/jwt-auth/issues/1102

After all steps i got error

Class 'Tymon\JWTAuth\Providers\LumenServiceProvider' not found

I check the namespace for this class and change it to

Class 'Tymon\JWTAuth\Providers\JWTAuthServiceProvider' not found

and than i get the next error

Call to undefined function Tymon\JWTAuth\Providers\config_path()

Lumen is the last one (5.4)

Tymon/JWT is ("tymon/jwt-auth": "^0.5.12")

0 likes
0 replies

Please or to participate in this conversation.