Download the PHP package adhenrique/iugu without Composer
On this page you can find all versions of the php package adhenrique/iugu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download adhenrique/iugu
More information about adhenrique/iugu
Files in adhenrique/iugu
Download adhenrique/iugu
More information about adhenrique/iugu
Files in adhenrique/iugu
Vendor adhenrique
Package iugu
Short Description iugu PHP Library to laravel
License MIT
Homepage https://iugu.com
Package iugu
Short Description iugu PHP Library to laravel
License MIT
Homepage https://iugu.com
Please rate this library. Is it a good library?
Informations about the package iugu
Iugu para PHP
Requisitos
- PHP 5.3+
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
$ 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
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"=>"[email protected]",
"items" =>
Array(
Array(
"description"=>"Item Teste",
"quantity"=>"1",
"price_cents"=>"1000"
)
)
)
);
Documentação
Acesse iugu.com/documentacao para referência
Testes
Instale as dependências. Iugu-PHP utiliza SimpleTest.
composer update --dev
Execute a comitiva de testes:
php ./test/Iugu.phpAll versions of iugu with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.2
ext-curl Version *
ext-json Version *
ext-mbstring Version *
ext-curl Version *
ext-json Version *
ext-mbstring Version *
The package adhenrique/iugu contains the following files
Loading the files please wait ...