PHPackages                             casonwebdev/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. casonwebdev/iugu

ActiveLibrary[API Development](/categories/api)

casonwebdev/iugu
================

Fork updated iugu PHP Library

2.0.3(5y ago)018.4k1MITPHPPHP &gt;=5.2

Since Jan 8Pushed 5y agoCompare

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

READMEChangelog (3)Dependencies (1)Versions (13)Used By (0)

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

[](#iugu-para-php)

Requisitos
----------

[](#requisitos)

- PHP 5.3+

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

[](#instalação)

Faça o download da biblioteca:

```
git clone https://github.com/CasonWebDev/iugu-php

```

Inclua a biblioteca em seu arquivo PHP:

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

```

### Usando Composer

[](#usando-composer)

```
$ composer require casonwebdev/iugu
Please provide a version constraint for the iugu/iugu requirement: 1.0.6

```

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(
    Array(
      "token"=> "TOKEN QUE VEIO DO IUGU.JS OU CRIADO VIA BIBLIOTECA",
      "email"=>"your@email.test",
      "items" =>
      Array(
        Array(
          "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. Iugu-PHP utiliza SimpleTest.

```
composer update --dev

```

Execute a comitiva de testes:

```
php ./test/Iugu.php

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~227 days

Recently: every ~606 days

Total

12

Last Release

2054d ago

Major Versions

0.1.0 → 1.0.02014-01-16

1.0.6 → 2.0.12020-01-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/16c833cb35b7932f0f3db9e90ba3e92c40a7aad8be264f982f97565f9109f87e?d=identicon)[CasonWebDev](/maintainers/CasonWebDev)

---

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)")[![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)")[![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)")[![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)")[![CasonWebDev](https://avatars.githubusercontent.com/u/6971584?v=4)](https://github.com/CasonWebDev "CasonWebDev (1 commits)")[![wemersonjanuario](https://avatars.githubusercontent.com/u/38724?v=4)](https://github.com/wemersonjanuario "wemersonjanuario (1 commits)")[![EduardoIugu](https://avatars.githubusercontent.com/u/42146682?v=4)](https://github.com/EduardoIugu "EduardoIugu (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)")

---

Tags

apipagamentosiugu

### Embed Badge

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

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

###  Alternatives

[iugu/iugu

iugu PHP Library

89333.0k4](/packages/iugu-iugu)

PHPackages © 2026

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