Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 669 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 669 Bytes

PHP Pix

Pix code and QRCode generator

Currently, only generate static qrcode.

To generate QRCode use:

\PhpPix\Pix::generateQrCode(
    '[email protected]', //Pix key
    'Anderson da Silva Gonçalves', //Name
    'rio de janeiro', //City
    '123456', //Identifier
    1234.5 //value. Ex.: R$1.234,50 
);

This output an PNG image

To generate code copy/paste:

\PhpPix\Pix::generateCode(
    '[email protected]', //Pix key
    'Anderson da Silva Gonçalves', //Name
    'rio de janeiro', //City
    '123456', //Identifier
    1234.5 //value. Ex.: R$1.234,50 
);

Donate with PIX: [email protected]