Jwt-auth: Class 'Tymon\JWTAuth\Providers\LaravelServiceProvider' not found

Created on 9 Jun 2018  路  4Comments  路  Source: tymondesigns/jwt-auth

Not found

It does not work


php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"

It work

php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\JWTAuthServiceProvider"

Most helpful comment

why is this package poor documented? what about branch 2.0?

All 4 comments

php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider" is for version 1.0

Seems like you're using version 0.5 with 1.0 docs

This could be important when 1.0 comes out and people need to migrate. Then this should be included in a documentation file, e.g. docs/migration-1.0.md or so.

Edit: Hey, I made like no. 6300! 馃榾

The documentation for this project has always been lacking when it comes to keeping up with Laravel, I followed the docs with Laravel 5.4 as recommended by the docs and still got this error, @irvatoDev answer was what solved my problem, plus the artisan command on the docs for generating a secrete is php artisan jwt:secret but what really works is php artisan jwt:generate and also, I had to change the command method from fire to handle in the same Laravel 5.4 project that was recommended by in the docs... This can be improved, if theres a way I can help, just let me know. Always here for the dev community.

why is this package poor documented? what about branch 2.0?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aofdev picture aofdev  路  3Comments

hfalucas picture hfalucas  路  3Comments

functionpointdaniel picture functionpointdaniel  路  3Comments

agneshoving picture agneshoving  路  3Comments

johncloud200 picture johncloud200  路  3Comments