PHPackages                             leandroferreirama/itau-auth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. leandroferreirama/itau-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

leandroferreirama/itau-auth
===========================

Biblioteca API para integração com o webservice do Itau

v0.0.1(2y ago)05MITPHPPHP ^8.1

Since Jul 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/leandroferreirama/itau-auth)[ Packagist](https://packagist.org/packages/leandroferreirama/itau-auth)[ RSS](/packages/leandroferreirama-itau-auth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Itau Library Test
=================

[](#itau-library-test)

[![Maintainer](https://camo.githubusercontent.com/fe06b3254e40341a07d1642e2f35973385bf3697d3493b8a6fbf5f5e1b2608d2/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406c65616e64726f66657272656972616d612d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/leandroferreirama)[![Source Code](https://camo.githubusercontent.com/132c2ce56f14747681922b4135519b485da852d7a705a6e8100c035f43b23263/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6c65616e64726f66657272656972616d612f69746175254532253830253933617574682d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/leandroferreirama/itau-auth)[![PHP from Packagist](https://camo.githubusercontent.com/17e5ffebb7691ff5eb9cd915b6fc0457ebc247b8364074527fdc7db32e744892/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6c65616e64726f66657272656972616d612f697461752d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/leandroferreirama/itau-auth)[![Latest Version](https://camo.githubusercontent.com/66d9978e2d66cc88314167e9013515c00b04054e90a7c13452ef155a8ca35217/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c65616e64726f66657272656972616d612f697461752d617574682e7376673f7374796c653d666c61742d737175617265)](https://github.com/leandroferreirama/itau-auth/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/e5615faea41c48d8665f451be4421dd849025099244d3bf166dfd9b12c231b7b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6c65616e64726f66657272656972616d612f697461752d617574682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/leandroferreirama/itau-auth)[![Quality Score](https://camo.githubusercontent.com/b4867bbb6f682c2981b3712b3c5a2082806530174f494d4bccba9bbf1389f8ee/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c65616e64726f66657272656972616d612f697461752d617574682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/leandroferreirama/itau-auth)[![Total Downloads](https://camo.githubusercontent.com/d277f746f7a905aedf6d29bdfe230cdaf7b2ddb6362508151a420a861a413580/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616e64726f66657272656972616d612f697461752d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleandroferreirama/itau-auth)

###### Itau Auth Library is a small set of classes developed for integration into the webservice of Itau..

[](#itau-auth-library-is-a-small-set-of-classes-developed-for-integration-into-the-webservice-of-itau)

Itau Auth Library é um pequeno conjunto de classes desenvolvidas para integração ao webservice do itau.

### Highlights

[](#highlights)

- Simple installation (Instalação simples)
- Abstraction of all API methods (Abstração de todos os métodos da API)
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)

Installation
------------

[](#installation)

Uploader is available via Composer:

```
"leandroferreirama/itau-auth": "^1.0"
```

or run

```
composer require leandroferreirama/itau-auth
```

Documentation
-------------

[](#documentation)

###### For more details on how to use it, see an example folder in the component's directory. There will be an example of using the class.

[](#for-more-details-on-how-to-use-it-see-an-example-folder-in-the-components-directory-there-will-be-an-example-of-using-the-class)

###### It works in two steps: The first step consists of requesting the user's authorization using the link generated as shown below.

[](#it-works-in-two-steps-the-first-step-consists-of-requesting-the-users-authorization-using-the-link-generated-as-shown-below)

###### Put that link and an a tag in the href.

[](#put-that-link-and-an-a-tag-in-the-href)

Para mais detalhes sobre como usar, veja uma pasta de exemplo no diretório do componente. Nela terá um exemplo de uso da classe. O funcionamento está dividido em duas etapas: A primeira etapa consiste em solicitar a autorização do usuário usando o link gerado conforme demonstrado abaixo. Coloque esse link e uma tag a no href.

#### Generate url:

[](#generate-url)

```
