bildvitta/iss-vendas

This is my package iss-vendas

Fund package maintenance!
bildvitta

v0.0.14 2022-11-04 12:58 UTC

README

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require bildvitta/iss-vendas

You can publish the config file with:

php artisan vendor:publish --tag="vendas-config"

This is the contents of the published config file:

return [
    'base_uri' => env('MS_VENDAS_BASE_URI', 'https://api-dev-vendas.nave.dev'),
    'prefix' => env('MS_VENDAS_API_PREFIX', '/api')
];

Usage

use Bildvitta\IssVendas\IssVendas;
use Illuminate\Http\Client\RequestException;

try {
    $vendas = new IssVendas();
    $sale = $vendas->programmatic()->sale()->find('95c17b9b-a839-4bc7-89c0-6d23c54641a1');
} catch (RequestException $e) {
}

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.