Laravel 4 Envato API Wrapper
A Laravel 4 package for the Envato marketplaces - like themeforest.net., (*1)
Visit www.gewora.net for more awesome products!, (*2)
Installation
To get the latest version of Gewora/Envato simply require it in your composer.json file., (*3)
"gewora/envato": "dev-master"
After that, you'll need to run composer update to download the latest Version and updating the autoloader., (*4)
Once Gewora/Envato is installed, you need to register the ServiceProvider. To do that open app/config/app.php and add the following to the providers key., (*5)
'Gewora\Envato\EnvatoServiceProvider',
How to use
First you need to publish the config file. To do that, type the following in the terminal:, (*6)
php artisan config:publish Gewora/Envato
Now open: app/config/packages/Gewora/config.php and fill it with your data, (*7)
return array(
'username' => 'Your Envato Username',
'api_key' => 'Your Envato API Key',
);
Now you can use the package like that:, (*8)
$result = Envato::account_information();
dd($result);