PHPackages                             live-controls/payment - 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. live-controls/payment

ActiveLibrary[Payment Processing](/categories/payments)

live-controls/payment
=====================

Payment package for live-controls

2.1.7(2y ago)032[4 issues](https://github.com/live-controls/payment/issues)MITPHP

Since Jul 22Pushed 2y agoCompare

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

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

Payment
=======

[](#payment)

[![Release Version](https://camo.githubusercontent.com/f6ed7a0c9556711aacfdc7ff7f77cb8dbc66ac217e545c503338e9b9e8a25dd9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c6976652d636f6e74726f6c732f7061796d656e74)](https://camo.githubusercontent.com/f6ed7a0c9556711aacfdc7ff7f77cb8dbc66ac217e545c503338e9b9e8a25dd9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c6976652d636f6e74726f6c732f7061796d656e74)[![Packagist Version](https://camo.githubusercontent.com/9add7709e10165df256f752913026b36738068af87d2dc6f6e5281ecb37e961a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6976652d636f6e74726f6c732f7061796d656e743f636f6c6f723d253233303037353030)](https://camo.githubusercontent.com/9add7709e10165df256f752913026b36738068af87d2dc6f6e5281ecb37e961a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6976652d636f6e74726f6c732f7061796d656e743f636f6c6f723d253233303037353030)

Helper classes and objects to create online checkouts for IUGU and PagSeguro.

**No warranty for any unwanted sideeffects!**

Requirements
------------

[](#requirements)

- PHP 8.0+
- GuzzleHttp\\Guzzle

Translations
------------

[](#translations)

None

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

[](#installation)

1. Install Payment package

```
composer require live-controls/payment
```

2. Add PAGSEGURO\_EMAIL\_DEBUG and PAGSEGURO\_TOKEN\_DEBUG
3. Add PAGSEGURO\_EMAIL and PAGSEGURO\_TOKEN
4. Publish configuration file

```
php artisan vendor:publish --tag="livecontrols.payment.config"
```

Configuration
-------------

[](#configuration)

- 'logging' =&gt; If set to true, the library will log the requests and responses even in production mode.
- 'debug' =&gt; Defaults to the applications debug mode. This way you can set the library to debug mode, without setting the whole application to it.
- 'pagseguro\_email\_debug' =&gt; The email from your pagseguro account to be used in debug/sandbox mode.
- 'pagseguro\_token\_debug' =&gt; The token from your pagseguro account to be used in debug/sandbox mode. (Needs to be your sandbox token, else an exception will be thrown)
- 'pagseguro\_email' =&gt; The email from your pagseguro account to be used in production mode.
- 'pagseguro\_token' =&gt; The token from your pagseguro account to be used in production mode. (Needs to be your production token, else an exception will be thrown)

### Content

[](#content)

- Transparent Checkout for IUGU (incl. PaymentItem and PaymentSender classes)
- Redirect Checkout for PagSeguro (incl. PaymentItem, ShippingInformation, PaymentReceiver and PaymentSender classes)

Usage
-----

[](#usage)

### IUGU

[](#iugu)

**Warning: No longer updated, but should probably work**

### PagSeguro

[](#pagseguro)

1. Create Token for testing and for production on PagSeguro (If you don't know how, ask PagSeguro)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Recently: every ~6 days

Total

10

Last Release

821d ago

Major Versions

v1.0.3 → 2.02024-01-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f366058ff9e06fad5c432234f0ac35a154bcc4153dbff096987489b16e87eb7?d=identicon)[daredloco](/maintainers/daredloco)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/live-controls-payment/health.svg)

```
[![Health](https://phpackages.com/badges/live-controls-payment/health.svg)](https://phpackages.com/packages/live-controls-payment)
```

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

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

PHPackages © 2026

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