2017 © Pedro Peláez
 

library qrcode-generator-php-class

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

image

ph-7/qrcode-generator-php-class

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

  • Thursday, July 19, 2018
  • by ph-7
  • Repository
  • 5 Watchers
  • 38 Stars
  • 852 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 25 Forks
  • 2 Open issues
  • 5 Versions
  • 17 % Grown

The README.md

🚀 PHP QR Code 📱

Scrutinizer Quality Score, (*1)

Description

QRCode PHP class allows you to easily generate a simple QR code using vCard 4.0 and the Google Chart API., (*2)

Here are two videos explaining QR code: http://www.youtube.com/watch?v=B3lrcOhmp9g and http://www.youtube.com/watch?v=IphTJHiKGos, (*3)

Composer Installation

You can add it easily in your project by using Composer., (*4)

$ composer require ph-7/qrcode-generator-php-class
 ```

Then, include Composer's autoload

```PHP
require_once 'vendor/autoload.php';

Manual Installation

If you don't use Composer, you can install it without Composer by simply including the class, (*5)

require 'QRCode.class.php';

How to Use

Here's a basic example:, (*6)

/**
 * If you have PHP 5.4 or higher, you can instantiate the object like this:
 * (new QRCode)->fullName('...')->... // Create vCard Object
 */
$oQRC = new QRCode; // Create vCard Object
$oQRC->fullName('Pierre-Henry Soria') // Add Full Name
    ->nickName('PH7') // Add Nickname
    ->gender('M') // Add Gender
    ->email('ph7software@gmail.com') // Add Email Address
    ->impp('phs_7@aol.com') // Add Instant Messenger
    ->url('http://ph-7.github.com') // Add URL Website
    ->note('Hello to all! I am a web developer. As hobbies I like climbing and swimming ...') // Add Note
    ->categories('developer,designer,climber,swimmer') // Add Categories
    ->photo('http://files.phpclasses.org/picture/user/1122955.jpg') // Add Avatar
    ->lang('en-US') // Add Language
    ->finish(); // End vCard

// echo '

QR Code, (*7)

'; // Generate and display the QR Code $oQRC->display(300); // Set size and display QR Code default 150px

You also have a sample file here: http://github.com/pH-7/QRCode-Generator-PHP-Class/blob/master/example.php, (*8)

Server Requirements

PHP 5.2.4 or higher., (*9)

Author

Pierre-Henry Soria, (*10)

Contact

Contact me at: pierrehenrysoria [[AT]] gmail [[D0T]] com, (*11)

License

General Public License 3 or later; See the LICENSE.txt file., (*12)

The Versions

19/07 2018

dev-master

9999999-dev http://hizup.uk

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.2.4

 

library class qr code vcard qr code library qr code class

19/07 2018

2.1.0

2.1.0.0 http://hizup.uk

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.2.4

 

library class qr code vcard qr code library qr code class

23/01 2017

2.0.2

2.0.2.0 http://hizup.uk

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.2.4

 

library class qr code vcard qr code library qr code class

02/01 2017

2.0.0

2.0.0.0 http://hizup.uk

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.2.4

 

library class qr code vcard qr code library qr code class

02/01 2017

2.0.1

2.0.1.0 http://hizup.uk

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.2.4

 

library class qr code vcard qr code library qr code class