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

ActiveLibrary

weidmaster/cafeapi
==================

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

1.0.0(7y ago)02MITPHPPHP ^7.1

Since Apr 24Pushed 7y ago1 watchersCompare

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

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

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

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

[![Maintainer](https://camo.githubusercontent.com/cbcefe546e59a09533ce31c163c92d41c915d04023b9e46bb0d14925e9b10991/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40776569646d61737465722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/weidmaster)[![Source Code](https://camo.githubusercontent.com/e9f75ca12d5ddc60d383f513e3d3e6d712418b434b660919f3dbbe5e014840d5/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d776569646d61737465722f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/weidmaster/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/df2c5aacaaf0cdbd805f1d299a26b82d4be4f5dcfff4018f266a8e7f2ba3ee44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776569646d61737465722f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/weidmaster/cafeapi)[![Latest Version](https://camo.githubusercontent.com/847ddbd344f8b75c718eabedf26b10639975e4d39e94afad9c06a6b4d1c3aeb3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f776569646d61737465722f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/weidmaster/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/31a7bfafe23195394a30eb3f8eecfff9361f6c8efeea23d9210c8c44d2f64d14/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f776569646d61737465722f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/weidmaster/cafeapi)[![Quality Score](https://camo.githubusercontent.com/edcde5c18202e42eea2483a10f0796749d2c7c1d0e1f670fbc8ab9f659ea13db/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776569646d61737465722f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/weidmaster/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/50d76fdc039b637073902493301a82c4c49bd8ebaf93f177d330650566610868/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776569646d61737465722f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cweidmaster/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:

```
"weidmaster/cafeapi": "^1.0"
```

or run

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

```
