PHP code example of raphagood / multidados
1. Go to this page and download the library: Download raphagood/multidados library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
raphagood / multidados example snippets
php
$multidados = new Raphagood\Multidados\Cliente([
'base_uri' => 'http://seudominio.com/vmulti/webservices/rest/',
'user' => 'multidados',
'password' => '123456'
]);
try
{
echo "<pre>";
var_dump($multidados->obterDivisoes());
echo "</pre>";
} catch (\Exception $e) {
echo $e->getMessage();
}