lasserafn / laravel-pipedrive
Installs: 1 558
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 8
Open Issues: 0
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^6.2
- illuminate/support: 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*
- dev-master
- 0.95
- 0.94
- 0.93
- 0.92
- 0.91
- 0.90
- 0.85
- 0.84
- 0.83
- 0.82
- 0.81
- 0.8
- 0.7.1.0
- 0.7.0.9
- 0.7.0.8
- 0.7.0.7
- 0.7.0.6
- 0.7.0.5
- 0.7.0.4
- 0.7.0.3
- 0.7.0.2
- 0.7.0.1
- 0.7.0.0
- 0.6.9.99
- 0.6.9.98
- 0.6.9.97
- 0.6.9.96
- 0.6.9.95
- 0.6.9.9
- 0.6.9.8
- 0.6.9.7
- 0.6.9.6
- 0.6.9.5
- 0.6.9
- 0.6.8
- 0.6.7.1
- 0.6.7.00
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.1
- 0.5
This package is auto-updated.
Last update: 2024-11-08 22:40:52 UTC
README
Installation
- Require using composer
composer require lasserafn/laravel-pipedrive
- (For laravel 5.4 and below) Add the PipedriveServiceProvider to your
config/app.php
providers array.
'providers' => [ \LasseRafn\Pipedrive\PipedriveServiceProvider::class, ]
- 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