| Package Data | |
|---|---|
| Maintainer Username: | lasserafn |
| Maintainer Contact: | lasserafn@gmail.com (Lasse Rafn) |
| Package Create Date: | 2016-11-17 |
| Package Last Update: | 2019-08-22 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-21 15:04:31 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,563 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 2 |
| Total Forks: | 8 |
| Total Open Issues: | 0 |
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