client-php
client-php copied to clipboard
Pipedrive API client for PHP
Using this package with PHP8.1 thows a lot of deprecation notices: ``` PHP Deprecated: Return type of Pipedrive\Models\PostNote::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should...
ActivitiesController.php addAnActivity(): ``` $_parameters = array ( 'subject' => $this->val($options, 'subject'), 'type' => $this->val($options, 'type'), 'done' => APIHelper::prepareFormFields($this->val($options, 'done')), 'due_date' => DateTimeHelper::toSimpleDate($this->val($options, 'dueDate')), 'due_time' => $this->val($options, 'dueTime'), 'duration' => $this->val($options,...
Hello, Just noticed there's no reference to Leads in this client.
`.gitattributes` file was missing from the `client-php`. It's actually a good idea to exclude unneeded dev files from the the production archive, which is used by composer for instance. The...
I don't see any controller related to leads. Could you let me know which is the controller for create/delete leads?
json mapper in getAllDeals is not returning the custom fields `return CamelCaseHelper::keysToCamelCase($mapper->mapClass($response->body, 'Pipedrive\\Models\\GetDeals'));` Better use this `return CamelCaseHelper::keysToCamelCase($response->body);`
DealsTimeline mapping error: JsonMapper::map requires first argument to be an object, array given.
InvalidArgumentException JsonMapper::map() requires first argument to be an object, array given. in vendor/apimatic/jsonmapper/src/JsonMapper.php:103  It looks like the getDealsTimeline API response returns an object with the data member as an...
This fixes a JsonMapper exception thrown by DealsController::getDealsTimeline() on DealsController.php:396 . Fixes #52