PHPackages                             lftn01/sin-ticketing-clientphp8 - 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. lftn01/sin-ticketing-clientphp8

ActiveLibrary[API Development](/categories/api)

lftn01/sin-ticketing-clientphp8
===============================

Cliente Sin-Ticketing php8

v1.0.6(1y ago)03MITPHPPHP ^8.1

Since Jan 7Pushed 1y agoCompare

[ Source](https://github.com/luizneves01/sin-ticketing-client-php8)[ Packagist](https://packagist.org/packages/lftn01/sin-ticketing-clientphp8)[ RSS](/packages/lftn01-sin-ticketing-clientphp8/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

Sin-Ticketing Client for Laravel
--------------------------------

[](#sin-ticketing-client-for-laravel)

Importante
----------

[](#importante)

Sem alterações significativas, apenas o composer.json foi alterado para aceitar o php8, devido a falta de acesso um fork do pacote original foi criado.

### Laravel SDK client for [Sin-Ticketing](https://sinticketing.sinsolution.com.br)

[](#laravel-sdk-client-for-sin-ticketing)

Require this package in your composer.json and update composer. This will download the package and the dompdf + fontlib libraries also.

```
composer require lftn01/sin-ticketing-clientphp8

```

Installation
------------

[](#installation)

### Laravel 5.x:

[](#laravel-5x)

Depois de atualizar o composer, altere o arquivo config/app.php e na lista de providers adicione o arquivo ServiceProvider

```
Hillus\SinTicketingClient\ServiceProvider::class,

```

Você também pode adicionar a fachada, colocando no array aliases dentro de config/app.php

```
'SinTicketingClient' => Hillus\SinTicketingClient\Facade::class,

```

### Lumen:

[](#lumen)

Depois de atualizar o composer adicione a linha baixo para registrar o proviver em bootstrap/app.php

$app-&gt;register(\\Hillus\\SinTicketingClient\\ServiceProvider::class);

Para alterar a configuração, copie o arquivo config para a sua pasta config e habilite no arquivo bootstrap/app.php:

$app-&gt;configure('sinTicketing');

Using

Métodos
-------

[](#métodos)

- **SinTicketingClient::login()** - Realiza a autenticação com API retornando o JWT Token
- **SinTicketingClient::storeUsuario()** - Realiza inclusão de um novo usuário
- **SinTicketingClient::getUsuarios()** - Retorna lista de usuários do período atual
- **SinTicketingClient::deleteUsuarios()** - Remove os usuarios por projeto e periodo
- **SinTicketingClient::getUsoIntegracao()** - Retorna lista de uso da integracao por projeto e periodo

Using
-----

[](#using)

Você pode receber uma instancia do cliente a partir do exemplo abaixo

```
    $client = App::make('sinticketing');
    $res = $client->storeUsuario([...]);
    return $res;
```

Ou você pode usar a fachada:

```
    $res = SinTicketingClient::login();
    return $res->json()->accessToken;
```

Para os métodos de storeUsuario, getUsuarios você recebe uma instancia de Hillus\\SinTicketingClient\\Rest\\Response, uma classe que tem os métodos auxiliares status, body, json, heder, headers e erro. Essa classe recebe no seu construtor uma instancia da classe Reponse do Guzzle6.0 por uma questão de compatiblidade com os projetos antigos.

```
    $res = SinTicketingClient::storeUsuario([
        "codigo" => 1,
        "nome" => 'Nome',
        "email" => 'usuario@example.com',
        "status" => 'A',
        "permissao" => 'Administrador',
        "grupoEconomico" => null,
        "criadoEm" => Carbon::now()->format('Y-m-d H:i:s'),
        "atualizadoEm" => Carbon::now()->format('Y-m-d H:i:s')
    ]);

    if($res->status() == 201){
        $this->info($res->json()->id);
    }else if($res->status() >= 400){
        $this->error("erro ao processar usuario");
        dump($res->json());
    }
```

Use `php artisan vendor:publish` to create a config file located at `config/sinticketing.php` which will allow you to define local configurations to change some settings (default paper etc). You can also use your ConfigProvider to set certain keys.

### License

[](#license)

This Sin Ticketing Client for Laravel is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance41

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

489d ago

PHP version history (2 changes)v1.0.0.x-devPHP ^8.1.2

v1.0.6PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/17abf841a7c976f6fd7e13cf6bb94a445104206167d13f29d156a5d20a61ea8f?d=identicon)[lftn01](/maintainers/lftn01)

---

Top Contributors

[![luizneves01](https://avatars.githubusercontent.com/u/19174385?v=4)](https://github.com/luizneves01 "luizneves01 (7 commits)")[![fernando35088](https://avatars.githubusercontent.com/u/79102855?v=4)](https://github.com/fernando35088 "fernando35088 (1 commits)")[![gsavio](https://avatars.githubusercontent.com/u/29316658?v=4)](https://github.com/gsavio "gsavio (1 commits)")[![hillushilbert](https://avatars.githubusercontent.com/u/17234429?v=4)](https://github.com/hillushilbert "hillushilbert (1 commits)")

---

Tags

apiclientlaravelsin-ticketing

### Embed Badge

![Health badge](/badges/lftn01-sin-ticketing-clientphp8/health.svg)

```
[![Health](https://phpackages.com/badges/lftn01-sin-ticketing-clientphp8/health.svg)](https://phpackages.com/packages/lftn01-sin-ticketing-clientphp8)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[devio/pipedrive

Complete Pipedrive API client for PHP and/or Laravel

1691.8M](/packages/devio-pipedrive)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[jubaer/zoom-laravel

A comprehensive Zoom integration package for Laravel, providing easy-to-use API functionality to interact with the Zoom platform using PHP.

58107.8k](/packages/jubaer-zoom-laravel)[barryvanveen/lastfm

Last.fm API client for PHP 7+

254.5k](/packages/barryvanveen-lastfm)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
