2017 © Pedro Peláez
 

library pipedrive

Api client for pipedrive

image

zakirullin/pipedrive

Api client for pipedrive

  • Thursday, April 13, 2017
  • by zakirullin
  • Repository
  • 1 Watchers
  • 2 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

API client for Pipedrive

Installation

You can install the package via composer require command:, (*1)

$ composer require zakirullin/pipedrive, (*2)

Usage

<?php

require __DIR__ . '/../vendor/autoload.php';

use Zakirullin\Pipedrive\Pipedrive;

$pipedrive = new Pipedrive('token');

// Get by id
$organization = $pipedrive->organizations->findOne(1);

// Create
$id = $pipedrive->notes->create(['content' => 'Note']);

// Update
$pipedrive->persons->find(1)->update(['name' => 'New name']);

// Find person with phone '777' for organization with name 'Github'
$person = $pipedrive->organizations->find(['name' => 'Github'])->persons->findAll(['phone' => '777']);

// Update all notes for matched organizations whole name is 'Github'
$notes = $pipedrive->organizations->find(['name' => 'Github'])->notes;
foreach ($notes as $note) {
    $note->content = 'Good news!';
    $this->pipedrive->notes->update($note);
}

API Docs can be found here

The Versions

13/04 2017

dev-master

9999999-dev https://github.com/zakirullin/pipedrive

Api client for pipedrive

  Sources   Download

MIT

The Requires

  • php ~5.6

 

The Development Requires

by Artem Zakirullin

api wrapper crm pipedrive

04/04 2017

v0.5.7beta

0.5.7.0-beta https://github.com/zakirullin/pipedrive

Api client for pipedrive

  Sources   Download

MIT

The Requires

  • php ~5.6

 

The Development Requires

by Artem Zakirullin

api wrapper crm pipedrive