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

ActiveLibrary[API Development](/categories/api)

nminguini/cafeapi
=================

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

1.0.0(4y ago)05MITPHPPHP ^7.1

Since Sep 7Pushed 4y ago1 watchersCompare

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

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

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

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

[![Maintainer](https://camo.githubusercontent.com/746d45e02035581c16414557b8c5f9ae733082ccd2b214fc7e05f217827ca138/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406e6d696e6775696e692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/nminguini)[![Source Code](https://camo.githubusercontent.com/7445aa4e5bf34c3d34ad9c2283c893631580a73630058f6fad2dfbee1c9f9a9f/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6e6d696e6775696e692f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/nminguini/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/dc620f176c1e2bd270349184ebe83a9192c4435f2273b03002bce45c16e8bf10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e6d696e6775696e692f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nminguini/cafeapi)[![Latest Version](https://camo.githubusercontent.com/6c6337d61fb2ea1e341486bb38538d248ebfdf0880bcd009f0087c45bca992db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6e6d696e6775696e692f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/nminguini/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/1c1a6f779b9e29db70295655dfcdf343e15494808fe7cf490bbb9cbed9b1e845/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6e6d696e6775696e692f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nminguini/cafeapi)[![Quality Score](https://camo.githubusercontent.com/712f2a67e573ba32bb7d2a27a6a575dbe226863d8479e07a2c38d523d2166edd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e6d696e6775696e692f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nminguini/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/d3bdf050506dfd328b84bfd98fa63f1dd60e66fd461586be610f527be30d0ab0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6d696e6775696e692f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cnminguini/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:

```
"nminguini/cafeapi": "^1.0"
```

or run

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

```
