iqbal-hakim / klout
Laravel 5 Implementation of [KloutAPIv2]
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 1
Type:project
Requires
- php: >=5.3.2
This package is not auto-updated.
Last update: 2022-10-15 07:10:35 UTC
README
Laravel 5 Implementation of KloutAPIv2
Install
Via Composer
$ composer require iqbal-hakim/klout
Add the service provider to config/app.php
in the providers
array.
'IqbalHakim\Klout\KloutServiceProvider'
If you want you can use the facade. Add the reference in config/app.php
to your aliases array.
'Klout' => 'IqbalHakim\Klout\Facades\Klout',
Configuration
You'll need to publish the package to start the configuration.
php artisan vendor:publish
This will create a config/klout_config.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
Usage
Klout::KloutIDLookupById(<network>, <id>); Klout::KloutUserScore(<kloutId>);
License
The MIT License (MIT). Please see License File for more information.