DepreBot / Laravel-4-Envato-API-Wrapper by meSingh
forked from Gewora/Laravel-4-Envato-API-Wrapper

A Laravel 4 package for the Envato marketplaces - like themeforest.net.
10
0
2
Package Data
Maintainer Username: meSingh
Maintainer Contact: mandeep@websterfolks.com (Mandeep Singh)
Package Create Date: 2013-12-28
Package Last Update: 2015-03-15
Language: PHP
License: BSD-3-Clause
Last Refreshed: 2024-11-22 03:09:11
Package Statistics
Total Downloads: 10
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel 4 Envato API Wrapper

A Laravel 4 package for the Envato marketplaces - like themeforest.net.


Information

Visit www.gewora.net for more awesome products!


Installation

To get the latest version of Gewora/Envato simply require it in your composer.json file.

"gewora/envato": "dev-master"

After that, you'll need to run composer update to download the latest Version and updating the autoloader.

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.

'Gewora\Envato\EnvatoServiceProvider',

How to use

First you need to publish the config file. To do that, type the following in the terminal:

php artisan config:publish Gewora\Envato

Now open: app/config/packages/Gewora/config.php and fill it with your data

return array(

    'username' => 'Your Envato Username',
    'api_key' => 'Your Envato API Key',

);

Now you can use the package like that:

$result = Envato::account_information();
dd($result);