PHP code example of thyago.pacher / pix-link
1. Go to this page and download the library: Download thyago.pacher/pix-link 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/ */
thyago.pacher / pix-link example snippets
use ThyagoPacher\\PixLink\\PixQrcode;
$chave = '[email protected]';
$nome = 'NOME DO RECEBEDOR';
$cidade = 'CIDADE';
$valor = 10.50;
echo (new PixQrcode)->chavePix($chave)
->nomeRecebedor($nome)
->cidade($cidade)
->valor($valor)
->gerar(360, 360);