Download the PHP package jetimob/iugu-sdk-php-laravel without Composer

On this page you can find all versions of the php package jetimob/iugu-sdk-php-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package iugu-sdk-php-laravel

iugu-sdk-php-laravel

iugu-sdk-php-laravel foi criado e é mantido pela equipe Jetimob. É um SDK utilizado para interagir com a API da Iugu de forma simples e direta.


Instalação

Instale o pacote utilizando o composer


Configuração

Para começar, as configurações do pacote devem ser publicadas através do comando:

`

Este comando irá criar o arquivo de configuração iugu.php no diretório config para que você possa modificar conforme a necessidade do seu projeto.


Autenticação

Assinatura de Requisições (RSA)

Alguns endpoints da Iugu necessitam de um nível a mais de autenticação, como por exemplo a transferência para terceiros. A complexidade da autenticação foi abstraida pelo método withSignature em AbstractApi, sendo necessário para somente informar a chave privada nas configurações, em private_key.

Para mais informações sobre como gerar uma chave API com assinatura e demais informações acesse o guia da Iugu


Uso

Sempre que for chamar qualquer api do pacote iugu-sdk-php-laravel, utilize o namespace Jetimob\Iugu\Facades\Iugu ou, simplesmente, Iugu. O namespace Iugu é registrado automaticamente pelo Laravel, ou seja, a importação pode ser feita apenas com use Iugu; no topo de um arquivo.


Exemplos

asdsa


All versions of iugu-sdk-php-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-openssl Version *
jetimob/http-php-laravel Version ^2
illuminate/support Version ^9.0 || ^10.0
illuminate/console Version ^9.0 || ^10.0
illuminate/container Version ^9.0 || ^10.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jetimob/iugu-sdk-php-laravel contains the following files

Loading the files please wait ....