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

ActiveLibrary[API Development](/categories/api)

helosilvac/cafeapi
==================

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

02PHP

Since Feb 19Pushed 2y ago1 watchersCompare

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

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

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

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

[![Maintainer](https://camo.githubusercontent.com/d9a66b24342f770dabef81dcce62df8be0bdf851bf1e0c86fac24ee85dba60f0/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4048656c6f53696c7661432d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/HeloSilvaC)[![Source Code](https://camo.githubusercontent.com/c8b30899d32e669f9793db0a82dcb61cdd2cf7df619f48a5648c148a68476482/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d48656c6f53696c7661432f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/HeloSilvaC/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/6f9a4ebf3d7623fb48e8783664eece7753dfe714471ae3f2225e3521d9f9923b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f726f62736f6e766c656974652f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/HeloSilvaC/cafeapi)[![Latest Version](https://camo.githubusercontent.com/306b9b8b6ea5c31277c445d8a18f31fafd761a36fea6a38e05762a4fecdff92b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f48656c6f53696c7661432f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/HeloSilvaC/cafeapi/releases/)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/5bdb67bd3415a4d7031502a3864da5b7224ca83dc9109000a19214278bc54222/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f48656c6f53696c7661432f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/HeloSilvaC/cafeapi)[![Quality Score](https://camo.githubusercontent.com/c1fb49422b018168279d0d8b7c964b75925c34c89fe9fbd14bbc08e0e0925892/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f48656c6f53696c7661432f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/HeloSilvaC/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/1d34fdda5804d2b959962117232584af30f99d8d241fc77f8173e946776685a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f48656c6f53696c7661432f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cHeloSilvaC/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:

```
"helosilvac/cafeapi": "^1.0"
```

or run

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

```
