PHP code example of developer-samuel / ares-client
1. Go to this page and download the library: Download developer-samuel/ares-client 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/ */
developer-samuel / ares-client example snippets
use DeveloperSamuel\AresClient\Facade\Company;
// Get full company data
$company = Company::get(60193336);
// Get specific data
$address = Company::getAddress(60193336);
$location = Company::getLocation(60193336);
$registration = Company::getRegistration(60193336);
$delivery = Company::getDeliveryAddress(60193336);
bash
# Show help
php vendor/bin/ares --help
php vendor/bin/ares -h
# Show version
php vendor/bin/ares --version
php vendor/bin/ares -v
# Get full company info
php vendor/bin/ares 60193336
# Get specific section
php vendor/bin/ares 60193336 --company
php vendor/bin/ares 60193336 --address
php vendor/bin/ares 60193336 --location
php vendor/bin/ares 60193336 --registration
php vendor/bin/ares 60193336 --delivery