It does not work
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
It work
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\JWTAuthServiceProvider"
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?
Most helpful comment
why is this package poor documented? what about branch 2.0?