This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
- Customers (paginate, find).
You can install the package via composer:
composer require bildvitta/iss-crm
You can publish the config file with:
php artisan vendor:publish --provider="Bildvitta\IssCrm\IssCrmServiceProvider" --tag="iss-crm-config"
This is the contents of the published config file:
return [
'base_uri' => env('MS_CRM_BASE_URI', 'https://api.almobi.com.br'),
'prefix' => env('MS_CRM_API_PREFIX', '/api')
];
In your .env file, associate the following variables.
# API base URL.
MS_CRM_BASE_URI="http://127.0.0.1:8001"
# API prefix if it exists.
MS_CRM_API_PREFIX="/api"
$issCrm = new \Bildvitta\IssCrm('jwt-hub');
$issCrm->customers()->search();
print_r($issCrm->customer()->find('uuid'));
This is result:
{
"result": {
"uuid": "effe4b02-f2eb-4ee0-9dbc-0d94ed30e532",
"name": "Dr. Elias Artur Ferminiano",
"phone": "(51) 90172-3741",
"phone2": null,
"email": "daniella52@example.org",
"document": "683.387.679-72",
"birthday": "1983-01-23",
"...": "..."
}
}
composer test
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.