PHPackages                             joaquimrabelo/iugu - 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. [API Development](/categories/api)
4. /
5. joaquimrabelo/iugu

ActiveLibrary[API Development](/categories/api)

joaquimrabelo/iugu
==================

iugu PHP Library

1.0.0(2y ago)05.5k↑181.2%MITPHPPHP &gt;=5.4

Since Mar 1Pushed 2y agoCompare

[ Source](https://github.com/joaquimrabelo/iugu-php)[ Packagist](https://packagist.org/packages/joaquimrabelo/iugu)[ Docs](https://iugu.com)[ RSS](/packages/joaquimrabelo-iugu/feed)WikiDiscussions master Synced today

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

Iugu para PHP
=============

[](#iugu-para-php)

[![Build status](https://camo.githubusercontent.com/8356dbfb07fe93feae6b68a5dfb59da30973d4793feb02b91559a252f9e59df4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f697567752f697567752d7068702e737667)](https://travis-ci.org/iugu/iugu-php)

Requisitos
----------

[](#requisitos)

- PHP 5.4+

Instalação
----------

[](#instalação)

Faça o download da biblioteca:

```
git clone git@github.com:joaquimrabelo/iugu-php.git

```

Inclua a biblioteca em seu arquivo PHP:

```
require_once(".../iugu-php/lib/Iugu.php");
```

### Usando Composer

[](#usando-composer)

```
$ composer require joaquimrabelo/iugu-php
Please provide a version constraint for the iugu/iugu requirement: 1.0.0

```

O autoload do composer irá cuidar do resto.

Exemplo de Uso
--------------

[](#exemplo-de-uso)

```
Iugu::setApiKey("c73d49f9-6490-46ee-ba36-dcf69f6334fd"); // Ache sua chave API no Painel

Iugu_Charge::create(
    [
        "token"=> "TOKEN QUE VEIO DO IUGU.JS OU CRIADO VIA BIBLIOTECA",
        "email"=>"your@email.test",
        "items" => [
            [
                "description"=>"Item Teste",
                "quantity"=>"1",
                "price_cents"=>"1000"
            ]
        ]
    ]
);
```

Documentação
------------

[](#documentação)

Acesse [iugu.com/documentacao](http://iugu.com/documentacao) para referência

Testes
------

[](#testes)

Instale as dependências:

```
composer update

```

Execute a comitiva de testes:

```
composer tests

```

###  Health Score

25

—

LowBetter than 39% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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

752d ago

### Community

Maintainers

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

---

Top Contributors

[![lucasprag](https://avatars.githubusercontent.com/u/2293178?v=4)](https://github.com/lucasprag "lucasprag (22 commits)")[![pnegri](https://avatars.githubusercontent.com/u/39310?v=4)](https://github.com/pnegri "pnegri (19 commits)")[![joaquimrabelo](https://avatars.githubusercontent.com/u/477283?v=4)](https://github.com/joaquimrabelo "joaquimrabelo (6 commits)")[![filpgame](https://avatars.githubusercontent.com/u/5223937?v=4)](https://github.com/filpgame "filpgame (2 commits)")[![marcelom56](https://avatars.githubusercontent.com/u/9989138?v=4)](https://github.com/marcelom56 "marcelom56 (2 commits)")[![paezao](https://avatars.githubusercontent.com/u/301430?v=4)](https://github.com/paezao "paezao (1 commits)")[![ruivoh](https://avatars.githubusercontent.com/u/22963567?v=4)](https://github.com/ruivoh "ruivoh (1 commits)")[![vfragosop](https://avatars.githubusercontent.com/u/68680?v=4)](https://github.com/vfragosop "vfragosop (1 commits)")[![EduardoIugu](https://avatars.githubusercontent.com/u/42146682?v=4)](https://github.com/EduardoIugu "EduardoIugu (1 commits)")[![wemersonjanuario](https://avatars.githubusercontent.com/u/38724?v=4)](https://github.com/wemersonjanuario "wemersonjanuario (1 commits)")[![flaviozantut](https://avatars.githubusercontent.com/u/460185?v=4)](https://github.com/flaviozantut "flaviozantut (1 commits)")[![jholdy-dev](https://avatars.githubusercontent.com/u/97171085?v=4)](https://github.com/jholdy-dev "jholdy-dev (1 commits)")[![licor](https://avatars.githubusercontent.com/u/485402?v=4)](https://github.com/licor "licor (1 commits)")[![luisvquintas](https://avatars.githubusercontent.com/u/177688?v=4)](https://github.com/luisvquintas "luisvquintas (1 commits)")

---

Tags

apipagamentosiugu

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/joaquimrabelo-iugu/health.svg)

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

###  Alternatives

[iugu/iugu

iugu PHP Library

90325.9k4](/packages/iugu-iugu)

PHPackages © 2026

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