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

ActiveLibrary[API Development](/categories/api)

renatops1991/cafeapi
====================

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

1.0.0(7y ago)04MITPHPPHP ^7.1

Since Apr 9Pushed 3y ago1 watchersCompare

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

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

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

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

[![Maintainer](https://camo.githubusercontent.com/c1f942de7c3632158ff28e693e1c99aaacec13408d5454e9fc674ef25fb10ab0/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4072656e61746f736b7432312d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/renatoskt21)[![Source Code](https://camo.githubusercontent.com/dea31d1f14448ce52491e1ead4657180c6c3d148699942e6579cf007c10f2b65/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d72656e61746f7073313939312f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/renatops1991/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/62157993171aa37a45179ce314effe227ae92bdbf65bc2f95400edbc40bac62b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f72656e61746f7073313939312f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/renatopskt21/cafeapi)[![Latest Version](https://camo.githubusercontent.com/ac471223ccc2c5f0a9823df9aa0461a9ea2d5801e0567bb49ec279535bb5d938/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f72656e61746f7073313939312f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/renatops1991/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/4535a8eca74a8bfceaf5ec1f754d2aeb12f68d0b21a4d87f3372d89594882d1c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f72656e61746f7073313939312f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/renatops1991/cafeapi)[![Quality Score](https://camo.githubusercontent.com/2d9c753d9249bf459dd33e2e3498bdb8202f7e946d0fc08b1267402fda7a578c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72656e61746f7073313939312f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/renatops1991/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/5a6f37611da2014795c9dda6d02b48570866e62a9ad3b85d755d219fb2aa3cad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656e61746f7073313939312f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/renatopskt21/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.

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

```
"renatops1991/cafeapi": "^1.0"
```

or run

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

```
