Skip to content

bildvitta/iss-vendas

Repository files navigation

This is my package iss-vendas

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.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages