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')
];
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) {
}
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.