Jwt in php

hello everybody, I’m trying to sign a JWT token in a PHP project, I’m not getting a return as shown in the attached images, Could it be that I’m doing it wrong?, because the same process in nodejs projects I can generate and sign the token, it’s only happening in a PHP project.

IMG3

1 Like

It seems there is a problem here, it looks like I am experiencing a similar issue.