1. Go to this page and download the library: Download xgrz/laragus 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/ */
xgrz / laragus example snippets
$vatId = 'VAT_ID_NUMBER';
Xgrz\LaravelGusDataFetcher\Services\GusService::nip($vatId)->toCollection();
// or
Xgrz\LaravelGusDataFetcher\Services\GusService::nip($vatId)->toArray();