Lot of properties not fully serialized.
Implementation API source: https://build.envato.com/api
Install the package with
composer require gusdecool/php-envato-sdk
Create your API instances with
$personalAuthToken = \Gusdecool\EnvatoSDK\Utility\HttpClientBuilder::personal('YOUR_AUTH_TOKEN');
$api = new \Gusdecool\EnvatoSDK\Api\MarketCatalogApi($personalAuthToken);
$response = $api->searchItems([]);
var_dump($response);
Each API methods has documentation that link to the Envato API documentation page where you can see the possible parameters and response values. All parameters and response value are matches with the docs.
We only need CLI to develop and test the code. Please use PHPUnit to test the code.
Use Docker for the easiest installation steps and run these commands
docker-compose run app bash
# we're now in shell of the docker instance
# install dependencies
composer install
# test the code
vendor/bin/phpunit