This package provides a very basic, convenient, and unified wrapper for Custify.
To install the client you need to require the package using composer:
$ composer require testmonitor/custify-client
Use composer's autoload:
require __DIR__.'/../vendor/autoload.php';
You're all set up now!
You'll have to instantiate the client using your credentials:
$custify = new \TestMonitor\Custify\Client('token');
Next, you can start interacting with Custify.
Get a list of Custify people:
$people = $custify->people();
Create a new person:
$person = $custify->createPerson(new \TestMonitor\Custify\Resources\Person([
'user_id' => 25,
'email' => '[email protected]',
'phone' => '+44 7911 123456',
'name' => 'John Doe',
]);
The package contains integration tests. You can run them using PHPUnit.
$ vendor/bin/phpunit
Refer to CHANGELOG for more information.
Refer to CONTRIBUTING for contributing details.
- Thijs Kok - Lead developer - ThijsKok
- Stephan Grootveld - Developer - Stefanius
- Frank Keulen - Developer - FrankIsGek
- Muriel Nooder - Developer - ThaNoodle
The MIT License (MIT). Refer to the License for more information.