Just getting started, not much functionality implemented yet.
Uses Phabricator Conduit API.
- API entry points implementation state :
- Diffs - only partially implemented
- Users - only partially implemented
Everything
- PHP >= 5.3.2 with cURL extension,
- Arcanist certificate from your phabricator instance (/settings/panel/conduit/)
Download composer:
$ curl -s http://getcomposer.org/installer | php
Then create a composer.json file in the root of your project:
{
"require": {
"sethington/php-phabricator-api": "*"
}
}
... and install your dependencies using:
$ php composer.phar install
<?php
// This file is generated by Composer
require_once 'vendor/autoload.php';
$client = new Phabricator\Client('https://secure.phabricator.com', 'AUTH_USER', 'AUTH_CERTIFICATE');
$diffs = $client->api("diffs")->query(array(
"limit" => 5 // retrieve last 5 differentials in phabricator
));
- Kevin Saliou (https://github.com/kbsali) for the Redmine API which this is mostly based on.
- Seth Steele (@ravendevseth)