Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to getUrl() method #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update to getUrl() method #12

wants to merge 2 commits into from

Conversation

gbxyz
Copy link

@gbxyz gbxyz commented Jul 23, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant