This package is the Produto do Produto
module sdk.
- Real Estate Development (paginate, find).
You can install the package via composer:
composer require bildvitta/iss-produto
You can publish the config file with:
php artisan vendor:publish --provider="Bildvitta\IssProduto\IssProdutoServiceProvider" --tag="iss-produto-config"
This is the contents of the published config file:
return [
'base_uri' => env('MS_PRODUTO_BASE_URI'),
'prefix' => env('MS_PRODUTO_API_PREFIX')
];
In your .env file, associate the following variables.
# API base URL.
MS_PRODUTO_BASE_URI="http://127.0.0.1:8001"
# API prefix if it exists.
MS_PRODUTO_API_PREFIX="/api"
$issProduto = new \Bildvitta\IssProduto\IssProduto('jwt-hub');
$issProduto->realStateDevelopment()->search(['name' => 'Example']);
print_r($issProduto->realStateDevelopment()->find('uuid'));
This is result:
{
"result": {
"uuid": "77b83e9e-5e20-4dbc-8d27-5bf3ea960888",
"status": "ready_for_commercialization",
"address": "R. Ohana Verdugo",
"city": "Théo do Leste",
"name": "Example",
"...": "..."
}
}
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.