PHPackages                             apollosoftwares/pagbank - 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. apollosoftwares/pagbank

ActiveLibrary[Payment Processing](/categories/payments)

apollosoftwares/pagbank
=======================

v1.1.2(1y ago)25MITPHPPHP &gt;=5.5.9

Since Oct 22Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

 [![](https://camo.githubusercontent.com/8f06335ecba1679652a2be72694d397510f8a66e1ea0795507f0ffc7d1eedc59/68747470733a2f2f6173736574732e70616773656775726f2e636f6d2e62722f70732d626f6f7473747261702f76372e332e312f7376672f70616762616e6b2f6c6f676f2d70616762616e6b2e737667)](https://camo.githubusercontent.com/8f06335ecba1679652a2be72694d397510f8a66e1ea0795507f0ffc7d1eedc59/68747470733a2f2f6173736574732e70616773656775726f2e636f6d2e62722f70732d626f6f7473747261702f76372e332e312f7376672f70616762616e6b2f6c6f676f2d70616762616e6b2e737667)

### Atualmente essa é forma de importar

[](#atualmente-essa-é-forma-de-importar)

```
"repositories": [{
    "type": "git",
    "url": "https://github.com/apollosoftwares/laravel-pagbank"
}],
"require": {
    "apollosoftwares/pagbank": "dev-master"
}

```

Exemplo de uso
--------------

[](#exemplo-de-uso)

### BOLETO

[](#boleto)

```
use PagBank //Utilize a Facade

PagBank::setReferenceId('Pedido 123')
        ->setCustomerInfo([
            'name'   => 'Nome',
            'email'  => 'Email',
            'tax_id' => '99999999999'
        ])
        ->setPhoneInfo([
            [
                'country' => '55',
                'area'    => '66',
                'number'  => '9999999999',
                'type'    => 'MOBILE'
            ]
        ])
        ->setItems([
            [
                'reference_id' => 'ID',
                'name' => 'Nome do Item',
                'unit_amount' => 12.50,
                'quantity' => 1
            ],
            [
                'reference_id' => 'ID',
                'name' => 'Nome do Item 2',
                'unit_amount' => 13.50,
                'quantity' => 2
            ]
        ])
        ->setShippingAddress(
            [
                'street' => 'Rua/Avenida',
                'number' => 'Número',
                'locality' => 'Bairro',
                'city' => 'Cidade',
                'region_code' => 'UF',
                'country' =>  'BRA',
                'postal_code' => '12345678'
            ]
        )
        ->setPaymentMethod([
            'type' => 'BANK_SLIP',
            'charges' => [
                'reference_id' => 'Pedido 123',
                'description' => 'Pedido 123',
                'due_date' => '2024-08-07',
                'amount' => [
                    'value' => 100.00,
                    'currency' => 'BRL'
                ]
            ]
        ])
        ->send();
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

567d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51663deee356259d5faa9c9a0473e581ced48f1d8e7d18e6f251bbd8a03698d1?d=identicon)[apollosoftwares](/maintainers/apollosoftwares)

---

Top Contributors

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

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/apollosoftwares-pagbank/health.svg)

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

###  Alternatives

[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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