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

ActiveLibrary

caiolandgraf/cafeapi
====================

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

1.0.1(7y ago)04MITPHPPHP ^7.1

Since Feb 24Pushed 7y agoCompare

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

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

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

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

[![Maintainer](https://camo.githubusercontent.com/f8ab595b37114f819ded3acb821d032a01ef6b58b18238dec2dee9beff3e9cf6/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406361696f6c616e64677261662d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/Caio_Landgraf)[![Source Code](https://camo.githubusercontent.com/35f1c6385b5a41f8b6e07173db6bb2d937bfbb2acd15165513231f1cb32fd479/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6361696f6c616e64677261662f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/caiolandgraf/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/8077585d9cce3ace488ad84c6a9703364165b149d54fb0cdf74a3c42becb2039/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6361696f6c616e64677261662f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caiolandgraf/cafeapi)[![Latest Version](https://camo.githubusercontent.com/4093daf9015a8022a7db008ef39785877128707ed8e7fffa317b6b196549730a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6361696f6c616e64677261662f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/caiolandgraf/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/1af5237e900fa831bdf69e50c96ec55034e9bb01b69a05455e54c73838af5bb4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6361696f6c616e64677261662f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/caiolandgraf/cafeapi)[![Quality Score](https://camo.githubusercontent.com/878ae1b2eda97bb5da905edb33b378364ce26e84590b2fc6cfbe66752e5d75a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6361696f6c616e64677261662f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/caiolandgraf/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/e863938ab9878aa2a9bc0f6a264d615f991f431851e795ba6ad9aec53c8ac731/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6361696f6c616e64677261662f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caiolandgraf/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](http://suporteinformatika.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:

```
"caiolandgraf/cafeapi": "^1.0"
```

or run

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

```
