PHP code example of testmonitor / custify-client

1. Go to this page and download the library: Download testmonitor/custify-client 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/ */

    

testmonitor / custify-client example snippets




$custify = new \TestMonitor\Custify\Client('token');

$people = $custify->people();

$person = $custify->createPerson(new \TestMonitor\Custify\Resources\Person([
    'user_id' => 25,
    'email' => '[email protected]',
    'phone' => '+44 7911 123456',
    'name' => 'John Doe',
]);