dev-master
9999999-dev https://github.com/nekromoff/pipedrive-api-phpAPI client library for the Pipedrive CRM
MIT
The Requires
- php >=5.3.0
by Daniel Duris
by Ben Hawker, TTRide Group Devs
api crm pipedrive
Wallogit.com
2017 © Pedro Peláez
API client library for the Pipedrive CRM
PHP API client library for the PipeDrive CRM, (*1)
Based on Ben Hawker's PipeDrive API that has been not actively developed since 2014., (*2)
Only some basic functionality required for my current project has been added. However the basic blocks are to make use of the whole API including file uploading., (*3)
Recommend you install this library through composer. https://packagist.org/packages/nekromoff/pipedrive, (*4)
API Docs can be found here: https://developers.pipedrive.com/v1, (*5)
Example:, (*6)
use Nekromoff\Pipedrive\Pipedrive;
$pipedrive = new Pipedrive(YOUR_API_KEY);
//add user
$person['name'] = 'John Smith';
$person = $pipedrive->persons()->add($person);
//add note to user
$note['content'] = 'example note';
$note['person_id'] = $person['data']['id'];
$pipedrive->notes()->add($note);
//add deal to user
deal['title'] = 'example title';
$deal['stage_id'] = 8;
$deal['person_id'] = $person['data']['id'];
$pipedrive->deals()->add($deal);
//add activity
$activity = array(
'subject' => 'Example send brochure',
'type' => 'send-brochure',
'person_id' => 17686,
'user_id' => 190870,
'deal_id' => 88,
'due_date' => date('Y-m-d')
);
$pipedrive->activities()->add($activity);
/*
API endpoints available (see /Library under /src):
Activities
Deals
DealFields
MailThreads
Notes
Organizations
OrganizationFields
Persons
Products
Pipelines
Stages
Users
*/
API client library for the Pipedrive CRM
MIT
api crm pipedrive