承接 benhawker/pipedrive 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

benhawker/pipedrive

Composer 安装命令:

composer require benhawker/pipedrive

包简介

API client library for the Pipedrive CRM

关键字:

README 文档

README

PHP API client library for the PipeDrive CRM

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/benhawker/pipedrive

API Docs can be found here: https://developers.pipedrive.com/v1

Example:

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

统计信息

  • 总下载量: 192.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 28
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 28
  • Watchers: 10
  • Forks: 42
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-01