APIを使って、実際に登録する前に新しいユーザー名の有効性を確認する方法はありますか?

Or alternatively is there a PHP implementation of the username rule set that anyone here knows of?

You might be interested in reading this

FTR, you want the /u/check_username endpoint :wink:

That’s great! Thanks very much once again!