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

ActiveLibrary[API Development](/categories/api)

robsonvleite/cafeapi
====================

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

1.0.0(7y ago)28653MITPHPPHP ^7.1

Since Feb 21Pushed 3y ago3 watchersCompare

[ Source](https://github.com/robsonvleite/cafeapi)[ Packagist](https://packagist.org/packages/robsonvleite/cafeapi)[ Docs](https://www.upinside.com.br)[ RSS](/packages/robsonvleite-cafeapi/feed)WikiDiscussions master Synced 2d ago

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

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

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

[![Maintainer](https://camo.githubusercontent.com/03a756e157eaf2bc310890b58a8e51dc8e15a94bb33281cc0ccd3e0b333b5c67/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40726f62736f6e766c656974652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/robsonvleite)[![Source Code](https://camo.githubusercontent.com/81b8ca4e0ab5cf11d8d596fd9f53a58df24f761a29a4c126e08ed746228b6a33/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d726f62736f6e766c656974652f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/robsonvleite/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/6f9a4ebf3d7623fb48e8783664eece7753dfe714471ae3f2225e3521d9f9923b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f726f62736f6e766c656974652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robsonvleite/cafeapi)[![Latest Version](https://camo.githubusercontent.com/455d8ba7d2ac14bb59c1d9962de026f72ec3a135aef6fe1b0f68155b5d890a9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f726f62736f6e766c656974652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/robsonvleite/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/461ff40b836960b3f4f150cfb0be144f016442d0967edce862d25c40285869ea/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f726f62736f6e766c656974652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/robsonvleite/cafeapi)[![Quality Score](https://camo.githubusercontent.com/3f417a4e4fbfca23e8340211cd3897b84a422deca98f0371ac224e52cb7d8748/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f726f62736f6e766c656974652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/robsonvleite/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/9e35122beff8bb4e4053eeb28466d19e3305853a24bd4cb3cde7a71c673cb9fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f62736f6e766c656974652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/crobsonvleite/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:

```
"robsonvleite/cafeapi": "^1.0"
```

or run

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

```
