2017 © Pedro Peláez
 

library phpqrcode

PHPQRCode porting and changed for PHP 5.3 compatibility

image

alveos/phpqrcode

PHPQRCode porting and changed for PHP 5.3 compatibility

  • Thursday, September 26, 2013
  • by yannickmahe
  • Repository
  • 3 Watchers
  • 0 Stars
  • 130 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 69 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHP QRCode Library

To install this library please follow the next steps:, (*1)

Install the library using composer:

Add the required module to your composer.json file:, (*2)

{
    "require": {
        ...
        "Alveos/phpqrcode": "master"
        ...
    }

    ...

    "repositories": [
        ...
        {
            "type":"package",
            "package": {
              "name": "Alveos/phpqrcode",
              "version":"master",
              "source": {
                  "url": "git@github.com:Alveos/PHPQRCode.git",
                  "type": "git",
                  "reference":"master"
                }
            }
        }
        ...
    ]
}

Then run the command composer update., (*3)

Usage

Sample code:, (*4)

\PHPQRCode\QRcode::png("Test", "/tmp/qrcode.png", 'L', 4, 2, false, true);//Output png

\PHPQRCode\QRcode::jpg("Test", "/tmp/qrcode.jpeg", 'L', 4, 2, true, false);//Save jpeg

This code will generate a PNG file on '/tmp/qrcode.png' with a QRCode that contains the word 'Test'., (*5)

Acknowledgements

This library is an import of PHP QR Code by Dominik Dzienia that you can find at http://phpqrcode.sourceforge.net, and a fork moving from GD to Imagick (ref: http://stackoverflow.com/questions/8669592/create-a-qr-code-image-with-the-php-imagick-library), (*6)

Based on C libqrencode library (ver. 3.1.1), Copyright (C) 2006-2010 by Kentaro Fukuchi http://megaui.net/fukuchi/works/qrencode/index.en.html, (*7)

QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other countries., (*8)

Reed-Solomon code encoder is written by Phil Karn, KA9Q. Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q, (*9)

The Versions

26/09 2013

dev-master

9999999-dev https://github.com/aferrandini/PHPQRCode

PHPQRCode porting and changed for PHP 5.3 compatibility

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php qrcode barcode

08/07 2013

1.0.1

1.0.1.0 https://github.com/aferrandini/PHPQRCode

PHPQRCode porting and changed for PHP 5.3 compatibility

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php qrcode barcode

03/07 2013

1.0.0

1.0.0.0 https://github.com/aferrandini/PHPQRCode

PHPQRCode porting and changed for PHP 5.3 compatibility

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php qrcode barcode