livefyre/livefyre-php-utils

Livefyre PHP工具类

该软件包的官方仓库似乎已不存在,因此软件包已被冻结。

2.0.5 2015-09-28 20:12 UTC

README

PHP version Circle CI Coverage Status

Livefyre的官方库,用于在您的网站上实现Livefyre应用(评论、评价等)所需的服务器端常见任务。

支持PHP 5.3及以上版本。

使用Composer安装

您可以通过Composer[https://getcomposer.org.cn/]安装库。将其添加到您的+composer.json+

{
  "require": {
    "livefyre/livefyre-php-utils": "2.*"
  }
}

然后进行安装

composer.phar install

要使用该库,可以使用Composer的自动加载[https://getcomposer.org.cn/doc/00-intro.md#autoloading]

require_once('vendor/autoload.php');

或手动

require_once('/path/to/vendor/livefyre/livefyre-php-utils/src/Livefyre.php');

不使用Composer安装

使用以下命令获取Livefyre PHP库的最新版本

git clone https://github.com/Livefyre/livefyre-php-utils

要使用该库,请将以下内容添加到您的PHP脚本中

require_once("/path/to/livefyre-php-utils/src/Livefyre.php");

文档

位于这里

贡献

  1. 进行Fork
  2. 创建您的功能分支(git checkout -b my-new-feature
  3. 提交您的更改(git commit -am 'Add some feature'
  4. 推送到分支(git push origin my-new-feature
  5. 创建新的Pull Request

注意:Livefyre任何库的功能更新都需要反映在所有库上。当我们发现请求有用时,我们会尽量配合,但请了解这可能需要的时间。

许可

MIT