Hello,
To register a facade with an alias, go to bootstrap/app.php and uncomment:
$app->withFacades();
... it instructs the framework to start with facades. To add your facades, just put them in an array and pass the array as a second argument, while setting the first argument to true, as follows:
$app->withFacades(true, ['Tymon\JWTAuth\Facades\JWTAuth' => 'JWTAuth']);
To register a service provider, in the same file, scroll down to a relevant comment section and add the following line:
$app->register(Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class);
Thank you!!