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

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

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

tomnomnom/etherpad-lite-client

Composer 安装命令:

composer require tomnomnom/etherpad-lite-client

包简介

Etherpad Lite client for PHP

README 文档

README

This PHP Etherpad Lite class allows you to easily interact with Etherpad Lite API with PHP.
Etherpad Lite is a collaborative editor provided by the Etherpad Foundation (http://etherpad.org)

Basic Usage

Install from packagist:

composer require tomnomnom/etherpad-lite-client

A legacy etherpad-lite-client.php file is included for people who are unwilling/unable to switch to the new namespaced version, but it is deprecated and will be removed in future versions.

<?php
require 'vendor/autoload.php';
$instance = new EtherpadLite\Client('EtherpadFTW', 'http://beta.etherpad.org/api');
$revisionCount = $instance->getRevisionsCount('testPad');
$revisionCount = $revisionCount->revisions;
echo "Pad has $revisionCount revisions";

Running The Tests

The full-stack tests can be run by running make test.

The test suite makes the following assumptions:

  • A copy of Etherpad is running at http://localhost:9001
  • The data in the running instance of Etherpad can be destroyed
  • The APIKey for the running instance is 'dcf118bfc58cc69cdf3ae870071f97149924f5f5a9a4a552fd2921b40830aaae'
  • PHPUnit has been installed with Composer (run make dev-deps)

A Dockerfile is provided in tools/testcontainer to ease setup of a test instance.

License

Apache License

Other Stuff

The Etherpad Foundation also provides a jQuery plugin for Etherpad Lite.
This can be found at http://etherpad.org/2011/08/14/etherpad-lite-jquery-plugin/

统计信息

  • 总下载量: 46.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 89
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 89
  • Watchers: 10
  • Forks: 27
  • 开发语言: PHP

其他信息

  • 授权协议: Apache
  • 更新时间: 2016-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固