PHPackages                             caiolandgraf/stackapi - 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. caiolandgraf/stackapi

ActiveLibrary[API Development](/categories/api)

caiolandgraf/stackapi
=====================

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

1.0.0(5y ago)014MITPHPPHP ^7.1

Since Jul 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/caiolandgraf/stackapi)[ Packagist](https://packagist.org/packages/caiolandgraf/stackapi)[ Docs](https://www.suporteinformatika.com.br)[ RSS](/packages/caiolandgraf-stackapi/feed)WikiDiscussions master Synced 1w ago

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

StackApi Library Test
=====================

[](#stackapi-library-test)

[![Maintainer](https://camo.githubusercontent.com/f8ab595b37114f819ded3acb821d032a01ef6b58b18238dec2dee9beff3e9cf6/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406361696f6c616e64677261662d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/caiolandgraf)[![Source Code](https://camo.githubusercontent.com/60cfc3bfb21957a916d9ca81120f57de9ebcf3b18cdce8029c472d87825340fb/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6361696f6c616e64677261662f737461636b6170692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/caiolandgraf/stackapi)[![PHP from Packagist](https://camo.githubusercontent.com/5fd7f7dff0c0330af66f1c5fa31cb39363ed0800b882a8dddb7f02fb5e568285/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6361696f6c616e64677261662f737461636b6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caiolandgraf/stackapi)[![Latest Version](https://camo.githubusercontent.com/63f04f75b5c9e2e8075dd9fa357b72a684b3dcdc76497a12aca939817f6035ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6361696f6c616e64677261662f737461636b6170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/caiolandgraf/stackapi/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/ec4f21db97180619de88039ba4d23d6b38fb6cac63a2e326c0c798fc136ade44/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6361696f6c616e64677261662f737461636b6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/caiolandgraf/stackapi)[![Quality Score](https://camo.githubusercontent.com/1e41485d5efc2d8f173c1b2755cd2509c09b6970e0b93b5f2dcdc721bb1bb324/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6361696f6c616e64677261662f737461636b6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/caiolandgraf/stackapi)[![Total Downloads](https://camo.githubusercontent.com/e5141ccec1b678b0dd407347437766928bfde0ccaff04b6ef51bb0a20cfdb322/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6361696f6c616e64677261662f737461636b6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ccaiolandgraf/stackapi)

###### StackApi 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..

[](#stackapi-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)

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

```
"caiolandgraf/stackapi": "^1.0"
```

or run

```
composer require caiolandgraf/stackapi
```

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)

```
