GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fireworkweb/iugu-php: iugu - Biblioteca para PHP

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

70 Commits
70 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
VERSION
VERSION
 
 
composer.json
composer.json
 
 

Repository files navigation

Iugu para PHP

Build status

Requisitos

  • PHP 5.4+

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.9

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(
    [
        "token"=> "TOKEN QUE VEIO DO IUGU.JS OU CRIADO VIA BIBLIOTECA",
        "email"=>"[email protected]",
        "items" => [
            [
                "description"=>"Item Teste",
                "quantity"=>"1",
                "price_cents"=>"1000"
            ]
        ]
    ]
);

Documentação

Acesse iugu.com/documentacao para referência

Testes

Instale as dependências:

composer update

Execute a comitiva de testes:

composer tests

About

iugu - Biblioteca para PHP

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.