2017 © Pedro Peláez
 

library php-phabricator-api

PHP wrapp for Phabricator's Conduit API

image

sethington/php-phabricator-api

PHP wrapp for Phabricator's Conduit API

  • Friday, November 15, 2013
  • by sethington
  • Repository
  • 2 Watchers
  • 4 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

PHP Phabricator API

Just getting started, not much functionality implemented yet., (*1)

Uses Phabricator Conduit API., (*2)

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:, (*3)

$ curl -s http://getcomposer.org/installer | php

Then create a composer.json file in the root of your project:, (*4)

{
    "require": {
        "sethington/php-phabricator-api": "*"
    }
}

... and install your dependencies using:, (*5)

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

The Versions

15/11 2013

dev-master

9999999-dev https://github.com/sethington/php-phabricator-api

PHP wrapp for Phabricator's Conduit API

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-curl *

 

api phabricator conduit