Skip to content

The MindTouch API PHP Client is a PHP library for interacting with the MindTouch REST API

License

Notifications You must be signed in to change notification settings

derekrobbins/MindTouch-API-PHP-Client

 
 

Repository files navigation

MindTouch API PHP Client

Latest Stable Version Latest Unstable Version License

The MindTouch API PHP Client is a PHP library for interacting with the MindTouch REST API.

Support

This Library is provided for and supported by the open source community. Supported MindTouch site owners may file bug reports via GitHub, but support plans do not cover the usage of this library.

Installation

Use Composer. Add mindtouch/mindtouch-api-php-client to your project's composer.json:

{
    "require": {
        "mindtouch/mindTouch-api-php-client": "dev-master"
    }
}

Usage

A quick example:

<?php
$Plug = ApiPlug::newPlug('http://mysite.mindtouch.us/@api/deki');
$Result = $Plug->at('pages', 'home', 'contents')->get();
if($Result->isSuccess()) {

    // great job!
    echo $Result->getVal('body/contents');
}

Advanced Usage

Read the MindTouch API PHP Client documentation for more information.

About

The MindTouch API PHP Client is a PHP library for interacting with the MindTouch REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%