bildvitta/iss-juridico

This is my package iss-juridico


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

  • Coming soon

Installation

You can install the package via composer:

composer require bildvitta/iss-juridico

You can publish the config file with:

php artisan vendor:publish --provider="Bildvitta\IssCrm\IssJuridicoServiceProvider" --tag="iss-juridico-config"

This is the contents of the published config file:

return [
  'base_uri' => env('MS_JURIDICO_BASE_URI', 'https://api-dev-juridico.nave.dev'),
  'prefix' => env('MS_JURIDICO_API_PREFIX', '/api')
];

Usage

//Search contracts
$issJuridico = new Bildvitta\IssJuridico();
$contracts = collect($issJuridico->contracts()->search()->results);

//Create contract
$issJuridico = new Bildvitta\IssJuridico();
$newContract = $issJuridico->contracts()->create([
    'client' => '86aecb0f-d38e-4558-a889-3d1a183a0120',
    'real_estate_development' => 'ced1cde0-61dd-42f3-8d3d-c8f92580c1e0',
    'sales' => 'ced1cde0-61dd-42f3-8d3d-c8f92580c1e0'
]);

Testing

composer test

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.