PHPackages                             messer/pix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. messer/pix

ActiveLibrary[Payment Processing](/categories/payments)

messer/pix
==========

PHP Library to generate Pix image and string by Gustavo Ramad Messer

1.0.1(3y ago)210MITPHP

Since May 14Pushed 3y agoCompare

[ Source](https://github.com/messertech/pix)[ Packagist](https://packagist.org/packages/messer/pix)[ RSS](/packages/messer-pix/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Messer Pix
==========

[](#messer-pix)

[![](https://camo.githubusercontent.com/14ae2cbbf9f344ca053f60eda6becebb5a5e812f9b425faeb5fe54c3d7535cb7/68747470733a2f2f62616467656e2e6e65742f62616467652f506f776572656425323062792f4775737461766f2052616d6164204d65737365722f726564)](https://github.com/Goldbach07/)[![](https://camo.githubusercontent.com/49c474f4d41e6571226a814e675889a0569e975426152fc074ca08feffdc2768/68747470733a2f2f62616467656e2e6e65742f62616467652f446576656c6f706564253230666f722f5048502f626c7565)](https://www.php.net/)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

This is a library developed by Gustavo Ramad Messer for Symfony with the goal of generating random Pix keys in image and text formats (Pix copy and paste), using the open source gerarqrcodepix API.

Installation
------------

[](#installation)

Use the composer to install:

```
composer require messer/pix
```

Usage
-----

[](#usage)

Using Messer Pix to get a pix string key.

```
use Messer\Pix\Pix;

$pix = new Pix();

$data = [
    'name' => 'Gustavo Ramad Messer',
    'city' => 'Santos',
    'key' => 'gustavoramadmesser',
    'value' => '77.77',
    'description' => 'Pix String Test',
    'output' => 'string', // optional (default: string)
    'destiny' => '', // optional (public path)
];

$pixResponse = $pix->generate($data);
```

Using Messer Pix to get a pix qr code image.

```
use Messer\Pix\Pix;

$pix = new Pix();

$data = [
    'name' => 'Gustavo Ramad Messer', // required
    'city' => 'Santos', // required
    'key' => 'gustavoramadmesser', // required
    'value' => '77.77', // optional
    'description' => 'Pix Image Test', // optional
    'output' => 'image', // optional (default: string)
    'destiny' => '', // optional (public path)
];

$pixResponse = $pix->generate($data);
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

Copyright © 2023 [Gustavo Ramad Messer](https://github.com/messertech/pix/blob/main/LICENSE)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1100d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc5d31ed985a2b808619a74f37d32228ea19c22b0aff02e54877c5a66bfe3ead?d=identicon)[Goldbach07](/maintainers/Goldbach07)

---

Top Contributors

[![Goldbach07](https://avatars.githubusercontent.com/u/13986904?v=4)](https://github.com/Goldbach07 "Goldbach07 (14 commits)")

---

Tags

brasilbraziliancomposerpaymentphppixsymfony

### Embed Badge

![Health badge](/badges/messer-pix/health.svg)

```
[![Health](https://phpackages.com/badges/messer-pix/health.svg)](https://phpackages.com/packages/messer-pix)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
