lasserafn/laravel-pipedrive is a Laravel package.
It currently has 2 GitHub stars and 1.569 downloads on Packagist (latest version 0.95).
Install it with composer require lasserafn/laravel-pipedrive.
Discover more Laravel packages by lasserafn
or browse all Laravel packages to compare alternatives.
Last updated
composer require lasserafn/laravel-pipedrive
config/app.php providers array.'providers' => [
\LasseRafn\Pipedrive\PipedriveServiceProvider::class,
]
php artisan vendor:publish --provider "LasseRafn\Pipedrive\PipedriveServiceProvider"
$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)
$pipedrive->persons()->all(); // Returns a collection of Person models.
$pipedrive->persons()->find(1); // Returns a Person model.
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).
... Todo
... Todo