israelortuno / pipedrive Goto Github PK
View Code? Open in Web Editor NEWComplete Pipedrive API client for PHP
License: MIT License
Complete Pipedrive API client for PHP
License: MIT License
Good evening to all,
I want to retrieve a person's emailMessages.
Here is how I use in my code :
$response = PipedriveFacade::persons()>mailMessages($id);
From https://developers.pipedrive.com/docs/api/v1/#!/Persons/get_persons_id_mailMessages
Thanks a lot :)
Great work on this package !
I can't get the file upload working. I'm not sure it's an issue with the library, maybe I'm doing something wrong. If so, I'm sorry ;)
public function uploadFile($dealId, \SplFileInfo $file)
{
$upload = $this->pipedrive->files->add([
'file' => $file,
'deal_id' => $dealId
]);
}
This throws a PipedriveException
: 'No files were provided with the request.'.
What's going wrong?
when I trie to get pipedrive person fields I get the following error:
Fatal error: Uncaught Error: Class 'Devio\Pipedrive\Resources\Personfields' not found in /home/jongensv/public_html/wp-content/plugins/pipedrive_klantenportaal/vendor/devio/pipedrive/src/Pipedrive.php:55 Stack trace: #0 /home/jongensv/public_html/wp-content/plugins/pipedrive_klantenportaal/vendor/devio/pipedrive/src/Pipedrive.php(131): Devio\Pipedrive\Pipedrive->make('personfields') #1 /home/jongensv/public_html/wp-content/plugins/pipedrive_klantenportaal/test.php(7): Devio\Pipedrive\Pipedrive->__get('personfields') #2 {main} thrown in /home/jongensv/public_html/wp-content/plugins/pipedrive_klantenportaal/vendor/devio/pipedrive/src/Pipedrive.php on line 55
The weird thing is that it is working on my local wamp machine but not on my production cpanel server.
And loading deals also works great on both my local wamp machine and production cpanel server.
Code:
`<?php
require_once( dirname(FILE) . '/vendor/autoload.php' );
use Devio\Pipedrive\Pipedrive;
$apikey = "";
$pipedrive = new Pipedrive($apikey);
$person_fields = $pipedrive->personfields->all();
$person_fields = $person_fields->getData();
var_dump($person_fields);
`
Hello,
there is just one resource missing that is documented on the Pipedrive API Doku.
Please tell me how I can add this resource and poste the code back to here.
Thanks in advance,
Benjamin
Setting prices
to anything other than a string results in the following error:
'Warning: preg_replace(): Parameter mismatch, pattern is a string while replacement is an array in /vagrant/vendor/devio/pipedrive/src/Builder.php on line 72
While setting it to a string returns an error from the API:
exception 'Devio\Pipedrive\Exceptions\PipedriveException' with message 'Prices must be given as array of objects.' in /vagrant/vendor/devio/pipedrive/src/Http/Request.php:85
Current endpoints will be deprecated in March 31, 2021
https://pipedrive.readme.io/docs/new-search-api-migration-guide
Persons
has a find
endpoint: api.pipedrive.com/v1/persons/find
that allows a text search of name or email. The find
endpoint in the generic Resource
only allows find by id. Is there a way to call Persons::find
?
Hi, Are you going support Laravel 8? Now there is a conflict with guzzlehttp/guzzle
Hello there!
I just started using this library - everything works as expected, thought i have a bit pain with typehinting methods, so my IDE understands return types, like this:
As you can see from screenshot, it is not good programmer experience in code like that.
Is there any chance, this will get improved?
I was able to observe the following methods.
How do I create a deal on pipedrive using this function using this simple method?
$token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx';
$pipedrive = new Pipedrive($token);
// Easily access a Pipedrive resource and its values
$organization = $pipedrive->organizations->find(1);
var_dump($organization->getData());
<?php
namespace App\Http\Controllers;
use App\Services\ClientServices;
use Devio\Pipedrive\Pipedrive;
use Illuminate\Http\Request;
class AllSyncController extends Controller
{
protected $clients;
public function __construct(ClientServices $clients)
{
$this->clients = $clients;
}
public function persons(){
$organizations = Pipedrive::persons()->all()->getData();
}
}
Error
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Call to undefined method Devio\Pipedrive\Pipedrive::persons()
The method \Devio\Pipedrive\Resources\Deals::deleteParticipant is not working, it produces an error "Participant ID not found". This code is not working:
public function deleteParticipant($id, $deal_participant_id)
{
return $this->request->delete(':id/participants', compact('id', 'deal_participant_id'));
}
But with this fix it works like expected:
public function deleteParticipant($id, $deal_participant_id)
{
return $this->request->delete(':id/participants/:deal_participant_id', compact('id', 'deal_participant_id'));
}
Hello sir,
I am trying to create a new deal . but i am unable to find an appropriate method to add a new deal.
That would be nice if you can share a piece of code.
Thanks !
Hi, thank you a lot for this library 👍
I have started using that, but I am getting error:
Call to undefined function Devio\Pipedrive\Resources\Basics\camel_case()
with code:
$pipedrive->make('organizations');
I see You use function camel_case() in:
src/Resources/Basics/Resource.php:123
However it is not defined anywhere, maybe it should be defined?
The results from the following function returns NULL. Any idea? thanks
$pipedrive->deals->searchFromField("Search Term", "Text", "title");
Would it be a good idea to use $options here instead of $fields as with find() to open up possibility to use 'start, exact_match and limit' from the api? https://developers.pipedrive.com/docs/api/v1/#!/Organizations/get_organizations_search
GuzzleHttp\Exception\RequestException
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I get that error when i try to test out your code. Please update your GuzzleClient to allow user to setup their cacert.pem file location to fix this issue.
This by default only returns 100 activities. One can improve to 500 activities by including the ["limit"=> 500] param but it will not paginate through additional resources even if they are available via the API. Can pagination be implemented?
Thanks!
Hello,
Is there a way to retrieve a list activities associated with a deal like:
$pipedrive->deals(7528)->activities->all()->getContent()->data ?
regards
In aliases config example 'Devio\Pipedrive\PipedriveFacade::class' must be as Devio\Pipedrive\PipedriveFacade::class without uotes
With plain curl I use this URL:
...../persons/find/?api_token=xxx&term=[email protected]&search_by_email=1
Is this implemented?
This does not work:
$deal = Pipedrive::deals()->find(1849); $files = $deal->attachedFiles();
Hi there,
Great work on your project. I am just using PHP, no composer nor larvel. How do I autoload your files? trying to create instance of Pipedrive using below code but obviously it is throwing errors:
require_once('devio/pipedrive/pipedrive.php');
use Devio\Pipedrive;
$pd = new Pipedrive( "******" );
im getting errors of not finding class: Class 'Devio\Pipedrive'
It has GET method instead POST method.
https://github.com/IsraelOrtuno/pipedrive/blob/master/src/Resources/Deals.php#L134
Hi there,
Does this php binding provide email messages associated with a deal
i have tried two ways
Pipedrive::deals()->emailMessages($dealId);
Pipedrive::deals()->find(3)->emailMessages();
but no success ...
How to fetch all data by calling all() method once without the pagination limitation as 100 per call? Anyone call help? could be just a param to pass in, just not sure about if this repository supports that or not. Cheers.
updated: figured out a function for this, list here in case anyone else who needs it:
// possible $type values: 'Organizations', 'Users', 'Deals', etc.
protected function getAllWithoutPaginationLimit($type, $limit=100, $start=0) {
$api = '\Pipedrive::' . $type;
$response = $api()->all(['limit'=>$limit, 'start'=>$start]);
if(!$response->isSuccess()) {
$msg = 'The pipedrive api call for ' . $type . ' was not successful';
abort(404, $msg); // this is a laravel helper, use others if you are not using laravel.
}
if(!empty($response->getData())) {
$resources = $response->getData();
} else {
$msg = 'There is no records of ' . $type . ' on Pipedrive website yet';
abort('404', $msg);
}
if(!empty($response->getContent()->additional_data->pagination->more_items_in_collection) && $response->getContent()->additional_data->pagination->more_items_in_collection === true) {
$nextStart=$response->getContent()->additional_data->pagination->next_start;
$nextPaged = $this->getAllWithoutPaginationLimit($type, $limit=$limit, $nextStart);
$resources = array_merge($resources, $nextPaged);
}
return $resources;
}
https://developers.pipedrive.com/docs/api/v1/#!/Persons/get_persons_find
Sample request:
https://api.pipedrive.com/v1/persons/find?term=test%40test.com&start=0&search_by_email=1&api_token=ABC123
There's a issue when creating a new "Filter". I think the problem is with the use of a "json" field in request.
My request is like that:
$newFilter = array(
'glue' => 'and',
'conditions' => array(
array(
'glue' => 'and',
'conditions' => array(
array(
'object' => 'person',
'field_id' => '9039', // phone
'operator' => '=',
'value' => 'xxxxxxxxxxx',
'extra_value' => null,
)
),
),
array(
'glue' => 'or',
'conditions' => array(),
),
),
);
$pipedrive = new \Devio\Pipedrive\Pipedrive('xxxxxx');
$addFilter = $pipedrive->filters->add(array(
'name' => 'Filter Name 0123',
'conditions' => $newFilter,
'type' => 'people',
));
I receive the follow exception
Fatal error: Uncaught exception 'Devio\Pipedrive\Exceptions\PipedriveException' with message 'This field is missing.' in /var/wxu/test/pipedrive-test/vendor/devio/pipedrive/src/Http/Request.php:85 Stack trace: #0...
I "solved" the issue with a small change in PipedriveClient.php
public function post($url, $parameters = [])
{
$request = new GuzzleRequest('POST', $url);
$form = 'form_params';
// If any file key is found, we will assume we have to convert the data
// into the multipart array structure. Otherwise, we will perform the
// request as usual using the form_params with the given parameters.
if (isset($parameters['file'])) {
$form = 'multipart';
$parameters = $this->multipart($parameters);
}
// This was generated with error: return $this->execute($request, [$form => $parameters]);
// Replace with that:
return $this->execute($request, ['json' => $parameters]);
}
But for obvious reasons this will break the file upload.
Maybe someone can work in a fix?
... or i missing something?
Hello,
i find all deal in specific stage and i would like create activity but i receive an error :
Recoverable fatal error: Object of class stdClass could not be converted to string in .../vendor/devio/pipedrive/src/Builder.php on line 76
My code is
foreach ($EtapeRelanceSMS as $etape){
$rotten_days=$pipedrive->stages->find($etape)->getcontent()->data->rotten_days;
foreach ($pipedrive->deals->all(["stage_id" => $etape ,"status" => "open"])->getContent()->data as $thedeals){
$dateactivity = new datetime($thedeals->update_time);
$currentdate = new datetime();
if( $currentdate->diff($dateactivity)->format("%a") > $rotten_days ){
// create new activity
$pipedrive->activities->add(['type' => 'monsms', 'deal_id' => $thedeals->id, "person_id" => $thedeals->person_id, "note" => $contentSMSpart1 . $thedeals->value ." €". $contentSMSpart2 ,"user_id" => $thedeals->user_id]);
if ($EtapeRelanceSMS['relance'] == $etape){
//$pipedrive->deals->update($thedeals->id,["stage_id" => $EtapeRelanceSMS['attente']]);
}
if ($EtapeRelanceSMS['attente'] == $etape){
//$pipedrive->deals->update($thedeals->id,["status" => "lost"]);
}
if ($EtapeRelanceSMS['à suivre'] == $etape){
//$pipedrive->deals->update($thedeals->id,["status" => "lost"]);
}
echo $dateactivity->format("d/m/y"). " ".$currentdate->format("d/m/y") ." ";
echo ($currentdate->diff($dateactivity)->format("%a") . " ".$rotten_days ." ". $thedeals->id ." ". $thedeals->title ."<br>" );
}
};
}
The error is from
$pipedrive->activities->add(['type' => 'monsms', 'deal_id' => $thedeals->id, "person_id" => $thedeals->person_id, "note" => $contentSMSpart1 . $thedeals->value ." €". $contentSMSpart2 ,"user_id" => $thedeals->user_id]);
Best regards
Hi
in documentation (https://developers.pipedrive.com/docs/api/v1/#!/Deals/get_deals_find) it is possible to get deal by org_id.
How to do it with your library?
Pipedrive::deals()->find(['org_id' => 122]);
Not works.
Thank you for providing a really simple to use library for Pipedrive.
I'm struggling to get the activities from a deal (according to the docs: https://developers.pipedrive.com/docs/api/v1), I tried it this way:
Pipedrive::deals()->find($dealId)->activities();
But that doesn't work.
Is it possible and how should I do this?
I'm using Symfony and I think this repo would be easy to use with Symfony, but there are some small problems with it right now:
studly_case
function doesn't exist. (https://github.com/IsraelOrtuno/pipedrive/blob/master/src/Pipedrive.php#L54)Currently, I'm using TTRGroup/pipedrive-api-php, but it just a stub and it has no active maintainer right now.
i mean that would be nice if we can get desired records from the pipeline
for example in case if i want to fetch deals in asc or desc order
please let me know if there is a way
Thanks !
In the composer.json it seems to be compatible but here is the error
Uncaught Error: Call to undefined method GuzzleHttp\Client::getConfig() in devio/pipedrive/src/Http/PipedriveClient.php:46
I cannot update to 6.x because of other dependencies. Anything to do?
Thanks
A quick question: Does the all() function return all the items even if there are thousands of them? If not, what's the best way to get the total number of the items for pagination purpose?
thanks.
Hello !
First, thank you for this beautiful work :)
However, I do not really understand regarding methods marked as implemented. I want to list all updates about a deal (flow function in pipedrive api) and it doesn't seems to exist.
Am I right ? or do I don't understand ?
thank you
The easiest way to work with fields, which have a normal name.
Something like:
// Deals
$organizations = $pipedrive
->deals(['621eeebb0431f9fe252ca369b3dd2f8c'=>'custom'])
->update(1,['custom'=>'value']);
(1/1) ErrorException Undefined property: stdClass::$success in Response.php line 53
at HandleExceptions->handleError(8, 'Undefined property: stdClass::$success', '\vendor\devio\pipedrive\src\Http\Response.php', 53, array())in Response.php line 53
at Response->isSuccess()in Request.php line 86
at Request->handleResponse(object(Response))in Request.php line 67
at Request->executeRequest('put', 'deals/17790', array())in Request.php line 53
at Request->performRequest('put', ':id', array())in Request.php line 134
at Request->__call('put', array(':id', array()))in Resource.php line 89
at Resource->update(17790, array())
...
Devio\Pipedrive\Resources\Traits::findByName()
has been marked as deprecated. It's a wrapper for Pipedrive's /find
endpoint, which has been deprecated in favor of /search
—but not for all resources. In particular, /users/find
has not been deprecated, and the /users/search
endpoint has not been implemented. See the Pipedrive API Changelog for the six endpoints that are affected: https://pipedrive.readme.io/docs/changelog#removal-of-the-/find-/searchresults-and-/searchresults/field-endpoints-replaced-by-6-new-endpoints
The trait is used mostly by classes where findByName() has been deprecated, so perhaps a simple solution would be to remove the trait from Devio\Pipedrive\Resources\Users
and implement findByName() (maybe rename it "find()" to prevent confusion) as a method directly in the class.
Hi, thanks for all the work you've done so far but I couldn't find a way to request /stages/:id/deals.
To overcome this need I implemented it myself (code below). Is this the only/right approach?
<?php
namespace Devio\Pipedrive\Resources;
use Devio\Pipedrive\Resources\Basics\Resource;
use Devio\Pipedrive\Resources\Traits\ListsDeals;
class Stages extends Resource
{
use ListsDeals;
public function deals($id, $options = [])
{
array_set($options, 'id', $id);
return $this->request->get(':id/deals', $options);
}
}
You can add event dispatcher:
$pipedrive->on('update', 'product', function($previous, $current, $meta) {
//code here...
});
$pipedrive->clients->on('update', function($previous, $current, $meta) {
//code here...
});
$pipedrive->deals->on('create', function($current, $meta){
//code here...
});
$pipedrive->dispatch($eventJson);
Hello!
Thanks a lot for this library!
Would like to start using it, but facing an issue while requiring any version >=2.1.0 (while 2.0.3 installs without errors).
I have laravel v5.7.28 and when I run composer require devio/pipedrive
- I get the following output from composer:
Using version ^2.4 for devio/pipedrive
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework v5.7.28
- Conclusion: don't install laravel/framework v5.7.28
- devio/pipedrive 2.4.0 requires laravel/helpers ^1.0 -> satisfiable by laravel/helpers[v1.0.0, v1.0.1, v1.1.0, v1.1.1].
- devio/pipedrive 2.4.1 requires laravel/helpers ^1.0 -> satisfiable by laravel/helpers[v1.0.0, v1.0.1, v1.1.0, v1.1.1].
- devio/pipedrive 2.4.2 requires laravel/helpers ^1.0 -> satisfiable by laravel/helpers[v1.0.0, v1.0.1, v1.1.0, v1.1.1].
- laravel/helpers v1.0.0 requires illuminate/support ~5.8.0 -> satisfiable by illuminate/support[v5.8.0, v5.8.11, v5.8.12, v5.8.14, v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24, v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33, v5.8.34, v5.8.35, v5.8.36, v5.8.4, v5.8.8, v5.8.9].
- laravel/helpers v1.0.1 requires illuminate/support ~5.8.0|~5.9.0 -> satisfiable by illuminate/support[v5.8.0, v5.8.11, v5.8.12, v5.8.14, v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24, v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33, v5.8.34, v5.8.35, v5.8.36, v5.8.4, v5.8.8, v5.8.9].
- laravel/helpers v1.1.0 requires illuminate/support ~5.8.0|~5.9.0|^6.0 -> satisfiable by illuminate/support[v5.8.0, v5.8.11, v5.8.12, v5.8.14, v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24, v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33, v5.8.34, v5.8.35, v5.8.36, v5.8.4, v5.8.8, v5.8.9, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0, v6.13.1, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0].
- laravel/helpers v1.1.1 requires illuminate/support ~5.8.0|^6.0 -> satisfiable by illuminate/support[v5.8.0, v5.8.11, v5.8.12, v5.8.14, v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24, v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33, v5.8.34, v5.8.35, v5.8.36, v5.8.4, v5.8.8, v5.8.9, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0, v6.13.1, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0].
- don't install illuminate/support v5.8.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.11|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.12|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.14|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.15|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.17|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.18|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.19|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.2|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.20|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.22|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.24|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.27|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.28|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.29|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.3|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.30|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.31|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.32|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.33|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.34|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.35|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.36|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.4|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.8|don't install laravel/framework v5.7.28
- don't install illuminate/support v5.8.9|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.0.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.0.1|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.0.2|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.0.3|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.0.4|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.1.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.10.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.11.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.12.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.13.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.13.1|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.2.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.3.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.4.1|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.5.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.5.1|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.5.2|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.6.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.6.1|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.6.2|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.7.0|don't install laravel/framework v5.7.28
- don't install illuminate/support v6.8.0|don't install laravel/framework v5.7.28
- Installation request for laravel/framework (locked at v5.7.28, required as 5.7.*) -> satisfiable by laravel/framework[v5.7.28].
- Installation request for devio/pipedrive ^2.4 -> satisfiable by devio/pipedrive[2.4.0, 2.4.1, 2.4.2].
Installation failed, reverting ./composer.json to its original content.
Is it the case that version >=2.1.0 doesn't support Laravel version <5.8?
Thanks!
I was checking the API and found no resource for both the endpoints. Any plan on that yet?
is there any way to convert the response object to array recursively ??
I'm trying to create an activity and I keep receiving this error:
PHP Fatal error: Class 'Illuminate\Support\Str' not found in /path/to/src/Pipedrive.php on line 66
I've simply included the Pipedrive.php file from within my PHP file (via require
). I am not using Laravel or composer.
I was going through your API client, trying to use it to get custom fields from organizations and their related data. But i dont see any implementation for getting those fields.
I'm getting an error on PHP 7 / HHVM, as Resource is now a reserved name.
Fatal error: Uncaught Error: Cannot use '\\Devio\\Pipedrive\\Resources\\Basics\\Resource' as class name as it is reserved in vendor/devio/pipedrive/src/Resources/Pipelines.php
Renaming the Resource
class name to something else fixed this issue.
The new Pipedrive App Marketplace has switched over to oAuth authentication. Are there any plans for this package to support it?
Hi,
I would like to update the stage of a deal.
Not clear how to do it according with the docs.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.