Skip to content
PHP implementation of the Mobile Authenticator
Find file
Pull request Compare This branch is 2 commits behind krtek4:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Implementation of the Mobile Authenticator in PHP.


You can either request a new serial or re-use an existing one.

New serial

You must call the script with the desired region passed in parameter :

php php-bma.php EU

Valid region are EU or US

Before starting to give you a code, the program will print the new serial and secret kez on screen. Write them down and register your Authenticator with

Existing serial

Just pass your serial and secret kez on the command line :

php php-bma.php serial secret_key

Who use it ?

I'm using this on a little project of mine, an Online Authenticator for Battle.Net. It is actually in Beta, but I'm planning on launching it soon.


  • Sanitize inputs
  • Unit tests
  • Provide the possiblity to save Serial and Secret key to file and / or database
  • Implements the new Restore feature
Something went wrong with that request. Please try again.