PHP code example of fahadahmadshemul / laravel-qrcode
1. Go to this page and download the library: Download fahadahmadshemul/laravel-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/ */
fahadahmadshemul / laravel-qrcode example snippets
use Fahad\QrCode\Facades\QrCode;
$svg = QrCode::make('https://example.com')->generate();
use Fahad\QrCode\QrCode;
$svg = (new QrCode)->make('https://example.com')->generate();