livefyre / livefyre-php-utils
Livefyre PHP utility classes
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: >=5.3
- ext-json: *
- firebase/php-jwt: ^2.0
- rmccue/requests: >=1.6
Requires (Dev)
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: 4.3.*
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2022-04-11 18:29:01 UTC
README
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+.
Installation with Composer
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');
Installation without Composer
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");
Documentation
Located here.
Contributing
- 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.
License
MIT