PHPackages                             adventureandre/cafeapi - 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. adventureandre/cafeapi

ActiveLibrary[API Development](/categories/api)

adventureandre/cafeapi
======================

Biblioteca API para integração com o webservice do SaaS FSPHP

1.0.0(3y ago)05MITPHPPHP \*

Since Aug 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/adventureandre/cafeapi)[ Packagist](https://packagist.org/packages/adventureandre/cafeapi)[ Docs](http://www.adventureandre.com.br)[ RSS](/packages/adventureandre-cafeapi/feed)WikiDiscussions main Synced 1w ago

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

cafeapi Library Exemple
=======================

[](#cafeapi-library-exemple)

[![Maintainer](https://camo.githubusercontent.com/90da004bae86b82cbe291ae77b7b520ea865847a732e7bbcc06a0c2b39c69baa/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40616476656e74757265616e6472652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/adventureandre)[![Source Code](https://camo.githubusercontent.com/6097011a8a574da2b5eace00eafa321e48e5dcfbb9552fabc610d7ff081bfd8a/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d616476656e74757265616e6472652f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/adventureandre/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/283f18f15b8deaaa63c9489bc9a9143cd1c18e99af19452b683a74e925e0cb30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616476656e74757265616e6472652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adventureandre/cafeapi)[![Latest Version](https://camo.githubusercontent.com/b9615e08980dc5b2e7fe0904636e1d24b3abe5d6d952bd328f891d058c30e79b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f616476656e74757265616e6472652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/adventureandre/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/461ff40b836960b3f4f150cfb0be144f016442d0967edce862d25c40285869ea/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f726f62736f6e766c656974652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/adventureandre/Lib)[![Quality Score](https://camo.githubusercontent.com/119b0b0981eb598bdf43c60a5879d637e597b4d1ad53e24a85f63584a614a923/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f616476656e74757265616e6472652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/adventureandre/Lib)[![Total Downloads](https://camo.githubusercontent.com/883a7757f058f3cddbd92962ce80622e109dd703078e0360142470937ce9d3a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616476656e74757265616e6472652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/)

###### Adventureandre Library is a small set of classes developed in UpInside's Full Stack PHP Developer training for integration into the webservice of a SaaS platform developed in the course..

[](#adventureandre-library-is-a-small-set-of-classes-developed-in-upinsides-full-stack-php-developer-training-for-integration-into-the-webservice-of-a-saas-platform-developed-in-the-course)

Adventureandre é um pequeno conjunto de classes desenvolvidas para facilitar ao desenvovimento.

Você pode saber mais **[clicando aqui](https://www.adventureandre.com.br/)**.

### Highlights

[](#highlights)

- Simple installation (Instalação simples)
- Abstraction of all API methods (Abstração de todos os métodos da API)
- Easy authentication with login and password (Fácil autenticação com login e senha)
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)

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

[](#installation)

Uploader is available via Composer:

```
"adventureandre/cafeapi": "^1.0"
```

or run

```
composer require adventureandre/cafeapi
```

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

[](#documentation)

###### For details on how to use, see a sample folder in the component directory. In it you will have an example of use for each class. It works like this:

[](#for-details-on-how-to-use-see-a-sample-folder-in-the-component-directory-in-it-you-will-have-an-example-of-use-for-each-class-it-works-like-this)

Para mais detalhes sobre como usar, veja uma pasta de exemplo no diretório do componente. Nela terá um exemplo de uso para cada classe. Ele funciona assim:

#### User endpoint:

[](#user-endpoint)

```
