PHP code example of edohay / laravel-qr-code
1. Go to this page and download the library: Download edohay/laravel-qr-code 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/ */
edohay / laravel-qr-code example snippets
'providers' => [
LaravelQRCode\Providers\QRCodeServiceProvider::class,
],
'aliases' => [
'QRCode' => LaravelQRCode\Facades\QRCode::class,
]
Route::get('qr-code', function ()
{
return QRCode::text('QR Code Generator for Laravel!')->png();
});