Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.
/ QRCode Public archive

Generate a qr code with PHP and Google Charts Infographics

License

Notifications You must be signed in to change notification settings

MicheleDeF/QRCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRCode

Generate a qr code with PHP and Google Charts Infographics

Quick Start

git clone https://github.com/MicheleDeF/QRCode.git
cd QRCode
composer dump-autoload
composer run start-example

Install via Composer

composer require micheledef/qr-code-php

Example of use

<?php

require 'vendor/autoload.php';

use Micheledef\QrCodePhp\QRCode;

$qr = new QRCode();

$code = "Hello World";

$qrGet = $qr->getQrCode($code, 177, 177, "UTF-8", "H");

$qrPost = $qr->postQrCode($code, 177, 177, "UTF-8", "H");

?>

<!-- QR code generated with GET request -->
<img src="<?=$qrGet;?>" />

<!-- QR code generated with POST request-->
<img src="<?=$qrPost?>" />

Also read the related official documentation

or read the article on the blog

About

Generate a qr code with PHP and Google Charts Infographics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages