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

ActiveLibrary[API Development](/categories/api)

aldemirsouza/cafeapi
====================

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

1.0.0(6y ago)15MITPHPPHP ^7.1

Since Jul 19Pushed 5y agoCompare

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

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

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

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

[![Maintainer](https://camo.githubusercontent.com/7a6c7ddca662897d8954cfdda94e50202cd15c588306909abb999347b426c59e/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40616c64656d6972736f757a612d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/aldemirsouza)[![Source Code](https://camo.githubusercontent.com/d7e8e335d5c7612dd8a8dfeeb83b20ed76fa1a2533fa887a85562533aa166611/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d616c64656d6972736f757a612f636166656170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/aldemirsouza/cafeapi)[![PHP from Packagist](https://camo.githubusercontent.com/0e229f263ebbe4415fa5a3d0e043a81a0b67544947118cff295e8982e1f374cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616c64656d6972736f757a612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aldemirsouza/cafeapi)[![Latest Version](https://camo.githubusercontent.com/8f42bbb401344e676b6c793aa07d003be2b4843cda629235f8e5dc093f29bf7c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f616c64656d6972736f757a612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/aldemirsouza/cafeapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/0ff11a23d713d87de710568f5e2985b308b4196d80e739928aef4bc312f7ad1e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f616c64656d6972736f757a612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/aldemirsouza/cafeapi)[![Quality Score](https://camo.githubusercontent.com/edbb22f281dc93d48103ef5ade0a49d7f319f76b9143c1b753fc827cfb9d4852/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f616c64656d6972736f757a612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/aldemirsouza/cafeapi)[![Total Downloads](https://camo.githubusercontent.com/9e579b84417c4ffe1fd2729dab9ce0fd489af9fd9ae88201ac74762acef6bda6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c64656d6972736f757a612f636166656170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caldemirsouza/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 para integração ao webservice de uma plataforma SaaS.

Você pode saber mais **[clicando aqui](https://www.studiosyso.com.br/)**.

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

```
"aldemirsouza/cafeapi": "^1.0"
```

or run

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

```
