New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

lasserafn/laravel-pipedrive

1,570 2
Install
composer require lasserafn/laravel-pipedrive
Latest Version:0.95
PHP:>=5.4.0
Laravel:5
License:MIT
Last Updated:Aug 22, 2019
Links: GitHub  ·  Packagist
Maintainer: lasserafn

Laravel Pipedrive API wrapper

Total Downloads Latest Stable Version License

Installation

  1. Require using composer
composer require lasserafn/laravel-pipedrive
  1. (For laravel 5.4 and below) Add the PipedriveServiceProvider to your config/app.php providers array.
'providers' => [
    \LasseRafn\Pipedrive\PipedriveServiceProvider::class,
]
  1. Publish config file.
php artisan vendor:publish --provider "LasseRafn\Pipedrive\PipedriveServiceProvider"

Usage

Create Pipedrive Instance

$pipedrive = new \LasseRafn\Pipedrive\Pipedrive($APIKEY); // or set the api key in the config/pipedrive.php file.

To find your API key you must login to Pipedrive and navigate to Settings -> Personal -> Api (/settings#api)

Get all Persons

$pipedrive->persons()->all(); // Returns a collection of Person models.

Find Person by ID

$pipedrive->persons()->find(1); // Returns a Person model.

Get a list of Activities that are not done

Filters consist of an array of arrays. The first parameter is included fields, leave it at null to keep the default.

$pipedrive->activities()->all(null, [ [ 'done' => 0 ] ]);

(Later versions will switch to a single array key => value).

Supported endpoints

... Todo

Testing

... Todo

Contributors

Related Packages

devio/pipedrive

Complete Pipedrive API client for PHP and/or Laravel

1,931,768 172
offline-agency/laravel-fatture-in-cloud-v2

A wrapper plugin with Fatture in Cloud Api V2 written in Laravel PHP

3,907 4
offline-agency/laravel-fatture-in-cloud

An integration plugin with Fatture in Cloud Api written in Laravel PHP

1,354 10
baorv/l5-getresponse

GetResponse API Integration for Laravel 5.*

10,642 0

Version History

Version Released PHP Laravel License
0.95 >=5.4.0 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* MIT
0.94 >=5.4.0 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* MIT
0.93 >=5.4.0 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* MIT
0.92 >=5.4.0 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* MIT
0.91 >=5.4.0 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* MIT