PHPackages                             gezer/laravel-pagseguro - 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. gezer/laravel-pagseguro

ActiveLibrary[Payment Processing](/categories/payments)

gezer/laravel-pagseguro
=======================

PagSeguro Checkout Transparente e Pagamento Recorrente(Assinaturas) no Laravel 5.\*, 6.\*, 7.\*, 8.\* e 9.\*

v2.2.0(2y ago)0201MITPHPPHP &gt;=8.1.16

Since Aug 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gezerramos/pagseguro-laravel)[ Packagist](https://packagist.org/packages/gezer/laravel-pagseguro)[ RSS](/packages/gezer-laravel-pagseguro/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (5)Used By (0)

[![](https://camo.githubusercontent.com/a464e6d397b9df0457dabeb80f311f4d860835d5e85f98e1ef51c80254051db8/68747470733a2f2f7374632e70616773656775726f2e756f6c2e636f6d2e62722f70616773656775726f2f692f6c6f676f732f6c6f676f5f70616773656775726f3230307834312e706e67)](https://camo.githubusercontent.com/a464e6d397b9df0457dabeb80f311f4d860835d5e85f98e1ef51c80254051db8/68747470733a2f2f7374632e70616773656775726f2e756f6c2e636f6d2e62722f70616773656775726f2f692f6c6f676f732f6c6f676f5f70616773656775726f3230307834312e706e67)

[![Codacy Badge](https://camo.githubusercontent.com/2d26b800d604a5e59953666f74feced2673f42ef805a3b255f2306ae1f6c258f/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3262303439643762653530393432306338313034393363383238656239343364)](https://www.codacy.com/app/fernando-bandeira/laravel-pagseguro?utm_source=github.com&utm_medium=referral&utm_content=oliveiracorp/laravel-pagseguro&utm_campaign=Badge_Grade)[![Total Downloads](https://camo.githubusercontent.com/ed7fbfe4b826513236e12dca105622f0eef24db769f6fccce5e57f3496b95bc3/68747470733a2f2f706f7365722e707567782e6f72672f6f6c697665697261636f72702f6c61726176656c2d70616773656775726f2f642f746f74616c2e737667)](https://packagist.org/packages/oliveiracorp/laravel-pagseguro)[![Monthly Downloads](https://camo.githubusercontent.com/cbbb31e895240730f06474cac7cab30a205fa7b74fa238d9b13431db0670cc1d/68747470733a2f2f706f7365722e707567782e6f72672f6f6c697665697261636f72702f6c61726176656c2d70616773656775726f2f642f6d6f6e74686c79)](https://packagist.org/packages/oliveiracorp/laravel-pagseguro)[![Latest Stable Version](https://camo.githubusercontent.com/3e20f05be461d95b3d8712351341b9d1536579f039d658b294f60226b8e51bd5/68747470733a2f2f706f7365722e707567782e6f72672f6f6c697665697261636f72702f6c61726176656c2d70616773656775726f2f762f737461626c652e737667)](https://packagist.org/packages/oliveiracorp/laravel-pagseguro)[![License](https://camo.githubusercontent.com/1cc96d90c1aa4851c6ce89d2a9580793effdecb27d874a99ec223f01c68e03f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e2a2d6666363962342e7376673f7374796c653d666c61742d737175617265)](https://laravel.com)

\#Install composer require oliveiracorp/laravel-pagseguro

Visite a [Wiki](https://github.com/gezer/laravel-pagseguro/wiki) para verificar os detalhes de como utilizar esta Package.

Qualquer problema, dúvida ou sugestão sinta-se livre para abrir uma issue ou enviar um PR.

```
use PagSeguro; //Utilize a Facade

try {
    $pagseguro = PagSeguro::setReference('2')
    ->setSenderInfo([
       'senderName' => 'Nome Completo', //Deve conter nome e sobrenome
       'senderPhone' => '(32) 1324-1421', //Código de área enviado junto com o telefone
       'senderEmail' => 'email@email.com',
       'senderHash' => 'Hash gerado pelo javascript',
       'senderCNPJ' => '98.966.488/0001-00' //Ou CPF se for Pessoa Física
    ])
    ->setShippingAddress([
       'shippingAddressStreet' => 'Rua/Avenida',
       'shippingAddressNumber' => 'Número',
       'shippingAddressDistrict' => 'Bairro',
       'shippingAddressPostalCode' => '12345-678',
       'shippingAddressCity' => 'Cidade',
       'shippingAddressState' => 'UF'
     ])
     ->setItems([
      [
        'itemId' => 'ID',
        'itemDescription' => 'Nome do Item',
        'itemAmount' => 12.14, //Valor unitário
        'itemQuantity' => '2', // Quantidade de itens
      ],
      [
        'itemId' => 'ID 2',
        'itemDescription' => 'Nome do Item 2',
        'itemAmount' => 12.14,
        'itemQuantity' => '2',
      ]
    ])
    ->send([
      'paymentMethod' => 'boleto'
    ]);
}
catch(\Oliveiracorp\PagSeguro\PagSeguroException $e) {
    $e->getCode(); //codigo do erro
    $e->getMessage(); //mensagem do erro
}
```

#### Créditos

[](#créditos)

Criador: [fernandobandeira](https://github.com/fernandobandeira)

PagSeguro Recorrente (Inicial): [vanessasoutoc](https://github.com/vanessasoutoc)

PagSeguro Pix (Inicial): [gezer](https://github.com/gezerramos)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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 ~1 days

Total

4

Last Release

1060d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88d1571809c172aa39581ce24927a1a601410e870e49b838d095db866ca2477b?d=identicon)[gezerramos](/maintainers/gezerramos)

---

Top Contributors

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

---

Tags

laravelPagseguropixassinaturastransparenterecorrente

### Embed Badge

![Health badge](/badges/gezer-laravel-pagseguro/health.svg)

```
[![Health](https://phpackages.com/badges/gezer-laravel-pagseguro/health.svg)](https://phpackages.com/packages/gezer-laravel-pagseguro)
```

###  Alternatives

[artistas/laravel-pagseguro

PagSeguro Checkout Transparente e Pagamento Recorrente(Assinaturas) no Laravel 5.\*, 6.\*, 7.\* e 8.\*

22734.8k](/packages/artistas-laravel-pagseguro)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3720.4k](/packages/linkxtr-laravel-qrcode)

PHPackages © 2026

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