This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel 5 Implementation of [KloutAPIv2]

dev-master 2015-03-24 09:53 UTC

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.