https://github.com/nekromoff/pipedrive-api-php
PHP API client library for the PipeDrive CRM (forked & updated)
https://github.com/nekromoff/pipedrive-api-php
api-client php pipedrive pipedrive-api
Last synced: 5 months ago
JSON representation
PHP API client library for the PipeDrive CRM (forked & updated)
- Host: GitHub
- URL: https://github.com/nekromoff/pipedrive-api-php
- Owner: nekromoff
- License: mit
- Archived: true
- Fork: true (TTRGroup/pipedrive-api-php)
- Created: 2017-11-02T14:57:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T11:15:07.000Z (over 5 years ago)
- Last Synced: 2025-04-24T10:02:41.552Z (about 1 year ago)
- Topics: api-client, php, pipedrive, pipedrive-api
- Language: PHP
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PipeDrive-api-php
============
PHP API client library for the PipeDrive CRM
Based on Ben Hawker's PipeDrive API that has been not actively developed since 2014.
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.
Recommend you install this library through composer. https://packagist.org/packages/nekromoff/pipedrive
API Docs can be found here: https://developers.pipedrive.com/v1
Example:
```php
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
*/
```