Livefyre's official library for common server-side tasks necessary for getting Livefyre apps (comments, reviews, etc.) working on your website.
Works with PHP 5.3+.
You can install the library via Composer[http://getcomposer.org/]. Add this to your +composer.json+:
{
"require": {
"livefyre/livefyre-php-utils": "2.*"
}
}
Then install via:
composer.phar install
To use the library, either user Composer's autoload[https://getcomposer.org/doc/00-intro.md#autoloading]:
require_once('vendor/autoload.php');
Or manually:
require_once('/path/to/vendor/livefyre/livefyre-php-utils/src/Livefyre.php');
Obtain the latest version of the Livefyre PHP library with:
git clone https://github.com/Livefyre/livefyre-php-utils
To use the library, add the following to your PHP script:
require_once("/path/to/livefyre-php-utils/src/Livefyre.php");
Located here.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Note: any feature update on any of Livefyre's libraries will need to be reflected on all libraries. We will try and accommodate when we find a request useful, but please be aware of the time it may take.
MIT