Closed MateusOFCZ closed 2 years ago
oh, it is autoload issue maybe? can you run composer dump-autoload -o
once in the terminal from root dir?
also could you change from include to require _once for vendor/autoload.php?
btw, did you add adhocore/jwt
in composer.json and run composer install
first?
Hello, when I call the route with
$jwt = new JWT('secret', 'HS256', 3600, 10);
on code, returns Server Error 500, I'm using Docker:api/test.php:
Error on POST:
In Try Catch return this error:
When I remove
$jwt = new JWT('secret', 'HS256', 3600, 10);
the error not occurred. Any idea how solve this?