2017 © Pedro PelĂĄez
 

library php-bugherd-api

Bugherd API client

image

beleneglorion/php-bugherd-api

Bugherd API client

  • Sunday, September 4, 2016
  • by beleneglorion
  • Repository
  • 3 Watchers
  • 7 Stars
  • 793 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 2 Versions
  • 40 % Grown

The README.md

PHP Bugherd API

A simple Object Oriented wrapper for Bugherd API, written with PHP5., (*1)

Uses Bugherd API., (*2)

Features

  • Follows PSR-0 conventions and coding standard: autoload friendly
  • API entry points implementation state :
    • *OK Organizations
    • *OK Users
    • *OK Projects
    • *OK Tasks
    • *OK Comments
    • *OK Webhooks

Todo

  • Write some doc
  • handle 404

Requirements

  • PHP >= 5.3.2 with cURL extension,
  • An Account to bugherd then obtain your API access key in Settings > General Settings.

Install

Through composer, simply run :, (*3)

$ php composer.phar require beleneglorion/php-bugherd-api:dev-master

Basic usage of php-bugherd-api client

<?php

// This file is generated by Composer
require_once 'vendor/autoload.php';

$client = new Bugherd\Client('API_ACCESS_KEY');

$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'
));

Thanks!

  • Thanks to Kevin Saliou for the php-redmine-api library, great source of inspiration!

The Versions

04/09 2016

dev-master

9999999-dev https://github.com/thomasjohansen/php-bugherd-api

Bugherd API client

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-curl *

 

The Development Requires

api bugherd

23/03 2014

1.0

1.0.0.0 https://github.com/beleneglorion/php-bugherd-api

Bugherd API client

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-curl *

 

The Development Requires

api bugherd