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

ActiveLibrary[API Development](/categories/api)

thomasvmoraes/cafeapi
=====================

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

07PHP

Since Jul 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ThomasMoraes02/cafeapi)[ Packagist](https://packagist.org/packages/thomasvmoraes/cafeapi)[ RSS](/packages/thomasvmoraes-cafeapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

[![Maintainer](https://camo.githubusercontent.com/78f21c4e50ad0d619571292c0c42d90c76f3535b76a860fb8edd2aee495e502e/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4074686f6d6173766d6f726165732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/thomasvmoraes)[![Source Code](https://camo.githubusercontent.com/1c867d0488868918355c5e0a687862ee382659e251151443946f97b1d1554a86/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d74686f6d6173766d6f726165732f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/thomasvmoraes/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/28622d0ab52aa6122053ef8e94ccc4a946fd2e2acb1c2bc001f693f2fb786f12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f74686f6d6173766d6f726165732f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thomasvmoraes/cafeapi)[![Latest Version](https://camo.githubusercontent.com/83e0cd4ecd8a4cc30b86e6cdebefa91eb5b061940f280a1ecc79b8ee393adcb3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f74686f6d6173766d6f726165732f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/thomasvmoraes/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/238aabb2a68607571ae388fa15e4d6d2fcb8c609b3f9bb6fc1024d03d6e1e8f6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f74686f6d6173766d6f726165732f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thomasvmoraes/cafeapi)[![Quality Score](https://camo.githubusercontent.com/03bf95c7ea61a89dbf82c07830c0c9e74f03ff9d0e9187e60ff48c9f20354e4f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74686f6d6173766d6f726165732f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thomasvmoraes/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/6a5e00cef5769de6f8bb93fe2fe6281cbb2cdf2738f5082e67c7c05857f05d8a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74686f6d6173766d6f726165732f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cthomasvmoraes/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:

```
"thomasvmoraes/cafeapi": "^1.0"
```

or run

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

```
