PHP code example of f9webltd / simple-qrcode

1. Go to this page and download the library: Download f9webltd/simple-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/ */

    

f9webltd / simple-qrcode example snippets


{!! QrCode::size(100)->generate(Request::url()); !!}

use F9WebLtd\QrCode\Generator;

$qrcode = new Generator;
$qrcode->size(500)->generate('Make a qrcode without Laravel!');