| Q | A
| ----------------- | ---
| Bug? | yes
| New Feature? | no
| Framework | Laravel
| Framework version | 5.7.28
| Package version | 1.x.y
| PHP version | 7.1.27
i followed the same docs steps but when i run
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
i don't get the config/jwt.php file also when i run
php artisan jwt:secret
i get this error
There are no commands defined in the "jwt" namespace.
i tried many solutions like clearing cash but always the same problem
finally find the solution
we should update the version manually in composer.json to for laravel >=5.5 to "tymon/jwt-auth": "^1.0" and then run composer update
finally find the solution
we should update the version manually incomposer.jsonto for laravel >=5.5 to"tymon/jwt-auth": "^1.0"and then runcomposer update
updating composer.json helps me :) thanks !!
Most helpful comment
finally find the solution
we should update the version manually in
composer.jsonto for laravel >=5.5 to"tymon/jwt-auth": "^1.0"and then runcomposer update