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

ActiveLibrary[API Development](/categories/api)

frankutio/cafeapi
=================

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

1.0.0(4y ago)03MITPHPPHP ^7.3

Since Dec 23Pushed 4y ago1 watchersCompare

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

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

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

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

[![Maintainer](https://camo.githubusercontent.com/bf04626601643ef66bdee96f243ed3b01838964aab9662be92f0e72698557b6a/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406672616e6b7574696f2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/frankutio)[![Source Code](https://camo.githubusercontent.com/292301d95f19437272cc8fb1861f7f468fda2cb350094123cd9707f4b5e987bc/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6672616e6b7574696f2f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/frankutio/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/e35f032ed632c1184d9c5d6fef9f9c0144b10296455769c57bf01f464cc16681/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6672616e6b7574696f2f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/frankutio/cafeapi)[![Latest Version](https://camo.githubusercontent.com/2112087d919ea8b6211b803aae7b7a15433c38faa283af963c4378e7a3dfa407/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6672616e6b7574696f2f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/frankutio/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/6c434409388b29391ea6dccb7b0efac9f66eb5376836e3fe90242ff42ded46a7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6672616e6b7574696f2f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/frankutio/cafeapi)[![Quality Score](https://camo.githubusercontent.com/a60e84043156000a9a7852df73714cf81a1a9ff5dd0c05f24f0bad72dacdfa81/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6672616e6b7574696f2f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/frankutio/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/5f18f3614820661778544ccccd6c3dc739a7e41f60e0ea0282182ed19c8145b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6672616e6b7574696f2f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cfrankutio/cafeapi)

###### CaféApi Library is a small set of classes developed in FBS TEC 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-fbs-tec-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:

```
"frankutio/cafeapi": "^1.0"
```

or run

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

```
