Download the PHP package hillus/sin-ticketing-client without Composer

On this page you can find all versions of the php package hillus/sin-ticketing-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sin-ticketing-client

Sin-Ticketing Client for Laravel

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 hillus/sin-ticketing-client

Installation

Laravel 5.x:

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:

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

$app->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->configure('sinTicketing');

Using

Métodos

Using

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

Ou você pode usar a fachada:

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.

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

This Sin Ticketing Client for Laravel is open-sourced software licensed under the MIT license


All versions of sin-ticketing-client with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
guzzlehttp/guzzle Version ^6.5
illuminate/support Version ^5.5|^6|^7|^8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hillus/sin-ticketing-client contains the following files

Loading the files please wait ....