Skip to content

Atyz/etherpad-lite-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Client for Etherpad Lite

Latest Stable Version License Build Status Scrutinizer Quality Score

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

Installation

Install the package via Composer

composer require 0x46616c6b/etherpad-lite-client:dev-master

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();

About

PHP Client for Etherpad Lite

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%