PHP code example of beleneglorion / php-bugherd-api
1. Go to this page and download the library: Download beleneglorion/php-bugherd-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
beleneglorion / php-bugherd-api example snippets
// This file is generated by Composer
Y');
$client->api('user')->all();
$client->api('user')->listing();
$client->api('task')->create('project_id',array(
'description'=>'Example task',
'priority'=>'normal',
'status'=>'backlog',
'requester_id'=>123,
'tag_names'=>array('ui','feature'),
'assigned_to_id'=>123,
'external_id'=>'ABC123'
));
bash
$ php composer.phar