0x46616c6b/etherpad-lite-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

0x46616c6b/etherpad-lite-client

最新稳定版本:v0.7.0

Composer 安装命令:

composer require 0x46616c6b/etherpad-lite-client

包简介

PHP Client for Etherpad Lite

README 文档

README

Continuous Integration Scrutinizer Code Quality Code Coverage Latest Stable Version License

This package provides an easy access to Etherpad Lite throw there built-in HTTP API.

Supported API Version: 1.3.0 (Release: 1.7.5)

Installation

Install the package via Composer

composer require 0x46616c6b/etherpad-lite-client

Example (after install)

<?php

$client = new \EtherpadLite\Client($apikey);
// if you don't use http://localhost:9001
//$client = new \EtherpadLite\Client($apikey, 'http://example.com:9001');

/** @var $response \EtherpadLite\Response */
$response = $client->checkToken();

echo $response->getCode();
echo $response->getMessage();
echo $response->getData();

Testing

vendor/bin/phpunit

# Integration Tests
# > requires a running etherpad lite instance
#
# Environment Variables:
# ----------------------
# 		API_KEY=cqOtzCYEUyzR23s8tftePVo8HHO
# 		BASE_URL=http://localhost:9001

vendor/bin/behat -f progress

Contributing

Feel free to contribute to this repository.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

统计信息

  • 总下载量: 13.54k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2013-09-12