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

ActiveLibrary[API Development](/categories/api)

adhenrique/iugu
===============

iugu PHP Library to laravel

v1.0(9y ago)4161MITPHPPHP &gt;=5.2

Since Feb 23Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)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/iugu/iugu-php

```

Inclua a biblioteca em seu arquivo PHP:

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

```

### Usando Composer

[](#usando-composer)

```
$ composer require iugu/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

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3413d ago

### Community

Maintainers

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

---

Tags

apipagamentosiugu

### Embed Badge

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

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

###  Alternatives

[iugu/iugu

iugu PHP Library

89331.2k4](/packages/iugu-iugu)

PHPackages © 2026

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