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

ActiveLibrary[Payment Processing](/categories/payments)

celtyvsk/laravel-pagseguro
==========================

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

v1.10.0(5y ago)08MITPHPPHP &gt;=5.5.9

Since Aug 30Pushed 5y agoCompare

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

READMEChangelogDependencies (1)Versions (38)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=artistas/laravel-pagseguro&utm_campaign=Badge_Grade)[![Total Downloads](https://camo.githubusercontent.com/4178f97a413c5964900ad6a4b7c98e99e0d39fd58e08081d5b8d15ed8e5e796f/68747470733a2f2f706f7365722e707567782e6f72672f61727469737461732f6c61726176656c2d70616773656775726f2f642f746f74616c2e737667)](https://packagist.org/packages/artistas/laravel-pagseguro)[![Monthly Downloads](https://camo.githubusercontent.com/fb35e4e269fad427dfe22bdc3ea72f1c90a8aca15816313b1ac991ebf38514aa/68747470733a2f2f706f7365722e707567782e6f72672f61727469737461732f6c61726176656c2d70616773656775726f2f642f6d6f6e74686c79)](https://packagist.org/packages/artistas/laravel-pagseguro)[![Latest Stable Version](https://camo.githubusercontent.com/9279c619bf247842fb57e5b724a3226bed6f4d1b18e2900c81775b7d9e79a591/68747470733a2f2f706f7365722e707567782e6f72672f61727469737461732f6c61726176656c2d70616773656775726f2f762f737461626c652e737667)](https://packagist.org/packages/artistas/laravel-pagseguro)[![License](https://camo.githubusercontent.com/1cc96d90c1aa4851c6ce89d2a9580793effdecb27d874a99ec223f01c68e03f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e2a2d6666363962342e7376673f7374796c653d666c61742d737175617265)](https://laravel.com)

Visite a [Wiki](https://github.com/artistas/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(\Artistas\PagSeguro\PagSeguroException $e) {
    $e->getCode(); //codigo do erro
    $e->getMessage(); //mensagem do erro
}
```

#### Créditos

[](#créditos)

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

[Contribuidores](https://github.com/artistas/laravel-pagseguro/graphs/contributors)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~45 days

Recently: every ~281 days

Total

37

Last Release

1889d ago

Major Versions

0.6.2 → 1.0.02016-11-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/81839961?v=4)[celtyvsk](/maintainers/celtyvsk)[@celtyvsk](https://github.com/celtyvsk)

---

Top Contributors

[![fernandobandeira](https://avatars.githubusercontent.com/u/8373980?v=4)](https://github.com/fernandobandeira "fernandobandeira (189 commits)")[![cassianogf](https://avatars.githubusercontent.com/u/8309326?v=4)](https://github.com/cassianogf "cassianogf (14 commits)")[![spacedog4](https://avatars.githubusercontent.com/u/19805404?v=4)](https://github.com/spacedog4 "spacedog4 (7 commits)")[![lucasgiovanny](https://avatars.githubusercontent.com/u/4853801?v=4)](https://github.com/lucasgiovanny "lucasgiovanny (2 commits)")[![narirock](https://avatars.githubusercontent.com/u/7890270?v=4)](https://github.com/narirock "narirock (2 commits)")[![felipehertzer](https://avatars.githubusercontent.com/u/4554784?v=4)](https://github.com/felipehertzer "felipehertzer (2 commits)")[![robertotcestari](https://avatars.githubusercontent.com/u/14261421?v=4)](https://github.com/robertotcestari "robertotcestari (2 commits)")[![caiquecastro](https://avatars.githubusercontent.com/u/3316550?v=4)](https://github.com/caiquecastro "caiquecastro (2 commits)")[![felipemarques](https://avatars.githubusercontent.com/u/2640656?v=4)](https://github.com/felipemarques "felipemarques (2 commits)")[![heitorspedroso](https://avatars.githubusercontent.com/u/18319656?v=4)](https://github.com/heitorspedroso "heitorspedroso (1 commits)")[![fabioferreira3](https://avatars.githubusercontent.com/u/45289455?v=4)](https://github.com/fabioferreira3 "fabioferreira3 (1 commits)")[![celtyvsk](https://avatars.githubusercontent.com/u/81839961?v=4)](https://github.com/celtyvsk "celtyvsk (1 commits)")[![diegocleir](https://avatars.githubusercontent.com/u/2823470?v=4)](https://github.com/diegocleir "diegocleir (1 commits)")[![nascimentolh](https://avatars.githubusercontent.com/u/40671541?v=4)](https://github.com/nascimentolh "nascimentolh (1 commits)")

---

Tags

laravelPagseguroassinaturastransparenterecorrente

### Embed Badge

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

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

###  Alternatives

[artistas/laravel-pagseguro

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

22633.6k](/packages/artistas-laravel-pagseguro)[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)

PHPackages © 2026

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