PHP code example of booosta / qrcode
1. Go to this page and download the library: Download booosta/qrcode library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
booosta / qrcode example snippets
# [...]
$qrcoder = $this->makeInstance('Qrcode', 'https://www.kernel.org');
$qrcoder->save_file('myqrcode.png');
# myscript.php
$qrcoder = $this->makeInstance('Qrcode', 'https://www.kernel.org');
$qrcoder->show_js('mycode');
# myscript.tpl
<div id="mycode"></div>