Out of curiosity, I just wrote a PHP ulid() function. [1]
It took me a little more than 5 minutes, so it wasn't that hard after all. It appears to run at only about 35% the speed of the Go version, but hopefully there's still room for some little improvement.