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

ActiveLibrary

brennersousa/cafeapi
====================

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

1.0.0(5y ago)06MITPHPPHP ^7.1

Since Feb 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/brennersousa/cafeapi)[ Packagist](https://packagist.org/packages/brennersousa/cafeapi)[ Docs](http://www.upinside.com.br)[ RSS](/packages/brennersousa-cafeapi/feed)WikiDiscussions master Synced today

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

CaféApi Library Test
====================

[](#caféapi-library-test)

[![Maintainer](https://camo.githubusercontent.com/25c10e9cb22f033cf4a0a715aed10dcdb87a1367621fac626c2821ece55c42ea/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406272656e6e6572736f7573612d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/brennersousa)[![Source Code](https://camo.githubusercontent.com/0289ac074559d7ef2d554b68b208f7a72257542c9eff6bd593161a43d877788d/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6272656e6e6572736f7573612f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/brennersousa/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/f2517585c7281e21bd66fe193126a90e2f15b2b2cdcb4e07042c3b3fe6538bc7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6272656e6e6572736f7573612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/brennersousa/cafeapi)[![Latest Version](https://camo.githubusercontent.com/43381d1bdde535f3950286d8571aa108453b0a794c341989877b6b94363c22bb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6272656e6e6572736f7573612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/brennersousa/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/fd6042fdc687620bb64780e0215dc7f0e3a52e6c36266bc1b7f9a9a59933e887/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6272656e6e6572736f7573612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/brennersousa/cafeapi)[![Quality Score](https://camo.githubusercontent.com/e41638a1fc9e6d95b9d4cfb2973d1f13f572b7efc8a80a6ae9362d6096db87ca/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6272656e6e6572736f7573612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/brennersousa/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/c1c67f82d0865cf93668d4d97632cb78a21c5a4de8e9ea783b54881d3c7f3ec4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6272656e6e6572736f7573612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cbrennersousa/cafeapi)

###### CaféApi 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..

[](#caféapi-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)

CaféApi Library é um pequeno conjunto de classes desenvolvidas na formação Full Stack PHP Developer da UpInside para integração ao webservice de uma plataforma SaaS desenvolvida no curso.

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

### 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:

```
"brennersousa/cafeapi": "^1.0"
```

or run

```
composer require brennersousa/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)

```
