1. Go to this page and download the library: Download me-qr/me-qr-php-sdk 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/ */
me-qr / me-qr-php-sdk example snippets
eQR\MEQRClient;
use MeQR\QROptions;
$client = new MEQRClient('YOUR_API_TOKEN');
// URL QR code → save to file
$result = $client->createLink('https://me-qr.com');
$result->save('qr.png');
// Styled SVG
$options = new QROptions(size: 500, foregroundColor: '#2563eb', errorCorrection: 'H');
$result = $client->createLink('https://me-qr.com', format: 'svg', options: $options);
echo $result->toDataUrl(); // data:image/svg+xml;base64,...