Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 650 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 650 Bytes

Backlog-v2

this is backlog api v2 wrapper with API Key.

Get started

Install the "atomita/backlog-v2" using the composer.

require {composer install dir} . "/vendor/autoload.php";

use \atomita\Backlog;
use \atomita\BacklogException;

$backlog = new Backlog('space-name', 'api-key');
try{
    $space = $backlog->space->get();
    var_dump($space);

    $comment = $backlog->issues->param('issue id')->comments->post(['content' => 'comment message']));
    var_dump($comment);
}
catch(BacklogException $e){
    // error
}

This is released under the LGPLv3, see LICENSE.