chregu/GoogleAuthenticator.php — pull request #12 by jodrell (2014-07-23 09:05:56+00:00)
Title: Update to getUrl() method

Google seems to have changed the URI used for QR codes in the time since this class was written. I've fixed that. I also changed the function to use http_build_query as it handles any URI escaping that may be required.

I also added an optional $size argument in case the user wants a smaller or large QR code.