Skip to content

sethington/php-phabricator-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP Phabricator API

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

Contributors

  • Seth Steele (@ravendevseth)

About

PHP wrapper for Phabricator's Conduit API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages