sethington / php-phabricator-api
PHP wrapp for Phabricator's Conduit API
dev-master
2013-11-15 01:24 UTC
Requires
- php: >=5.3.2
- ext-curl: *
This package is not auto-updated.
Last update: 2025-06-16 19:27:04 UTC
README
Just getting started, not much functionality implemented yet.
Uses Phabricator Conduit API.
Features
- API entry points implementation state :
- Diffs - only partially implemented
- Users - only partially implemented
Todo
Everything
Requirements
- PHP >= 5.3.2 with cURL extension,
- Arcanist certificate from your phabricator instance (/settings/panel/conduit/)
Autoload
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
Basic usage of php-phabricator-api
client
<?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 ));
Thanks
- Kevin Saliou (https://github.com/kbsali) for the Redmine API which this is mostly based on.
Contributors
- Seth Steele (@ravendevseth)