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

ActiveLibrary[API Development](/categories/api)

iaematt/cafeapi
===============

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

1.0.0(4y ago)06MITPHPPHP ^7.1

Since Sep 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/iaematt/cafeapi)[ Packagist](https://packagist.org/packages/iaematt/cafeapi)[ Docs](http://blogdomat.vercel.app)[ RSS](/packages/iaematt-cafeapi/feed)WikiDiscussions main Synced 1mo ago

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

CafeApi Teste
=============

[](#cafeapi-teste)

[![Maintainer](https://camo.githubusercontent.com/cbdadf8e5e980fbed4855016335138fd21fd7c432a9ecb42bf113a71b34e4e87/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406961656d6174742d626c75652e7376673f7374796c653d666c61742d737175617265)](https://instagram.com/iaematt_)[![Source Code](https://camo.githubusercontent.com/e9923061f644766bf94e33b233d24f853920ee8d2ffc118b3817daa988d1d77e/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6961656d6174742f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/iaematt/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/25bf4e42773f5cfe6de8892191f49e33b5b438edef5c0560036080ed530bad63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6961656d6174742f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iaematt/cafeapi)[![Latest Version](https://camo.githubusercontent.com/c326e6c4f5b7cd9595d465ff29ef55eaff4cc4be982bd7b596a6a889d7595025/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6961656d6174742f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/iaematt/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/47fb96c22cd0bb5b4252a4cf86e415d2b91faf01776da15f601f609a5ff90dc6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6961656d6174742f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/iaematt/cafeapi)[![Quality Score](https://camo.githubusercontent.com/94ab6627673952a3e6d38beef74cec2216e59480583ccae928282b2844b58e09/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6961656d6174742f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/iaematt/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/145e94b19c96b0b546852c28bfe0ad9743ad70f248b7326ac02526715ec871bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6961656d6174742f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iaematt/cafeapi)

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

###### CaféApi Library is a small set of classes developed in UpInside's Full Stack PHP Developer training for integration into the web service 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-web-service-of-a-saas-platform-developed-in-the-course)

### Highlights

[](#highlights)

- Instalação simples
- Abstração de todos os métodos da API
- EFácil autenticação com e-mail e senha
- Pronto para o composer e compatível com PSR-2

Instalação
----------

[](#instalação)

Instalação possivel via composer:

```
"iaematt/cafeapi": "^1.0"
```

ou rode

```
composer require iaematt/cafeapi
```

Documentação
------------

[](#documentação)

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:

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

#### User endpoint

[](#user-endpoint)

```
