composer require firebase/php-jwt:^2.2
安装没问题
所以
use \Firebase\JWT\JWT;
$key = "example_key";
$payload = array(
"iss" => "http://example.org",
"aud" => "http://example.com",
"iat" => 1356999524,
"nbf" => 1357000000
);
$jwt = JWT::encode($payload, $key);
错误
找不到类“Firebase\Jwt\Jwt”
帮我!!!
详细错误
谢谢你