good idea, which language you choose for that ? also with frankenphp you can just write those required apis to be really fast as go extensions.
Go, naturally.
Perfect. we wrote our gateway in Go which handle authentication as well and then pass users data to other services (Go and php) and return their responses.