Download the PHP package sujanshresthanet/php-qrcode-generator without Composer
On this page you can find all versions of the php package sujanshresthanet/php-qrcode-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sujanshresthanet/php-qrcode-generator
More information about sujanshresthanet/php-qrcode-generator
Files in sujanshresthanet/php-qrcode-generator
Package php-qrcode-generator
Short Description Generate QRCode with PHP
License LGPL-3.0
Homepage http://www.sujanshrestha.net
Informations about the package php-qrcode-generator
PHP QR Code Generator
Please consider supporting this project by making a donation via PayPal
Description
This is an easy to use, non-bloated, framework independent, QR Code generator in PHP.
Installation
Install through composer:
Getting started:-
We start off by creating a folder named PHP QRCode Generator. We open this folder in an editor. I am using Atom for it. Having done that, we will create a file named ‘index.html’ which will be storing the Html structure of our web page.
Creating index.html file:-
We give our web page the title “PHP QRCode Generator”. We include css in our project with the following code:-
<link rel="stylesheet" href="css/style.css">
We also include jQuery in our project with the following code:-
<script src="js/jquery-3.6.0.js"></script>
and we include custom jQuery code in our project with the following code:-
<script src="js/custom.js"></script>
We include the QR code library with the following code:-
include('libs/phpqrcode/qrlib.php');
index.php file
style.css file
custom.js file:-