Class 未找到 LumenServiceProvider

Class LumenServiceProvider Not Found

使用 Lumen 5.5Tymon JWT Auth 0.5.12 时,我无法生成密钥。

[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Tymon\JWTAuth\Providers\LumenServiceProvider' not found

我专门按照Tymon为Lumen描述的这个方法。 https://github.com/tymondesigns/jwt-auth/issues/1102

请参考这个 link - http://www.akaita.com/post/json-web-token-authentication-for-lumen-5-tymon-jwt-auth/

希望对您有所帮助。