Is it possible to implement same JWT authentication mechanism for two different projects?

I have a Node.js project that uses JWT for matching user’s token as authentication model. There are some APIs inside that project.

Now, I’m adding a new project with PHP that’s going to have some other APIs inside. I need to have the same JWT matching mechanism for this project too.

I mean, I want a token be valid both for the Node and PHP projects. Is it possible? If yes, is there any doc to help me how to do that?