2017 © Pedro Peláez
 

library pipedrive

API client library for the Pipedrive CRM

image

benhawker/pipedrive

API client library for the Pipedrive CRM

  • Tuesday, April 21, 2015
  • by TTRGroup
  • Repository
  • 10 Watchers
  • 24 Stars
  • 76,603 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 48 Forks
  • 15 Open issues
  • 1 Versions
  • 9 % Grown

The README.md

PipeDrive-api-php

PHP API client library for the PipeDrive CRM, (*1)

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., (*2)

Recommend you install this library through composer. https://packagist.org/packages/benhawker/pipedrive, (*3)

API Docs can be found here: https://developers.pipedrive.com/v1, (*4)

Example:, (*5)

use Benhawker\Pipedrive\Pipedrive;  

$pipedrive = new Pipedrive('0deceea867202fcf3889cd507ef93a91789f7e3a');  

//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);

The Versions

21/04 2015

dev-master

9999999-dev

API client library for the Pipedrive CRM

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api crm