PHP code example of techknowlogick / php-conduit

1. Go to this page and download the library: Download techknowlogick/php-conduit library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

techknowlogick / php-conduit example snippets




nt = new \Techknowlogick\Phabricator\Client('https://secure.phabricator.com', 'PHAB_TOKEN');

$user = $client->api("user")->query(array(
            "emails" => array("[email protected]")
        ));

bash
$ php composer.phar