Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple helper to display QR Codes using the google chart api
PHP
branch: master

Merge pull request #3 from dedio/patch-1

Update QrCodeHelper.php
latest commit ea0c320e34
@muxe authored
Failed to load latest commit information.
app/View/Helper Update QrCodeHelper.php
.gitignore modified readme
README added deprecation notice in readme

README

!!!
IMPORTANT: The Infographics portion of Google Chart Tools has been officially deprecated as of April 20, 2012. It will continue to work as per googles deprecation policy.
http://googledevelopers.blogspot.de/2012/04/changes-to-deprecation-policies-and-api.html
https://developers.google.com/chart/terms
!!!

Simple displaying of QR codes.
See https://google-developers.appspot.com/chart/infographics/docs/qr_codes for more infos.

Tested with cakePHP 2.x

Includes functions to create QR codes for:
* free text
* contacts
* email sending
* calendar events
* Geolocations
* Android Market Searches
* MMS sending
* SMS sending
* Telephone calls
* URLs

Usage:
* Copy the "QrCodeHelper.php" to your "app/View/Helper" folder.
* In the Controller add 'QrCode' to you helpers array.
* In the view for example do "<? echo $this->QrCode->text('Hello World'); ?>"

Second parameter always is an optional option array. For explanation of these options and the required parameter for each function read the well documented Code. :)
Something went wrong with that request. Please try again.