bonus3/php-pix

There is no license information available for the latest version (dev-master) of this package.

Installs: 84

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 1

Forks: 5

Open Issues: 0

pkg:composer/bonus3/php-pix

dev-master 2024-02-14 12:56 UTC

This package is auto-updated.

Last update: 2025-09-14 16:27:04 UTC


README

Pix code and QRCode generator

Currently, only generate static qrcode.

To generate QRCode use:

\PhpPix\Pix::generateQrCode(
    'anderson_rockandroll@hotmail.com', //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(
    'anderson_rockandroll@hotmail.com', //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: anderson_rockandroll@hotmail.com