PHPackages                             worksection/pipedrive - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. worksection/pipedrive

ActiveLibrary[API Development](/categories/api)

worksection/pipedrive
=====================

Worksection fork of Pipedrive REST client for PHP

1.0.0(1y ago)03.2k↓42.1%MITPHPPHP &gt;=5.4.0

Since Apr 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/worksection/pipedrive)[ Packagist](https://packagist.org/packages/worksection/pipedrive)[ RSS](/packages/worksection-pipedrive/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Worksection Fork of Pipedrive PHP Client
========================================

[](#worksection-fork-of-pipedrive-php-client)

This is a **custom fork** of the official Pipedrive API wrapper-client for PHP-based apps, maintained by **Worksection**. It builds upon the original implementation provided by Pipedrive Inc and is adapted to fit our internal integration needs.

The library offers a convenient way to interact with the Pipedrive REST API using either OAuth2 or API tokens. It supports working with objects like Deals, Persons, Organizations, Activities, Products, and more.

> 🛠️ Please note:
> While the core code remains mostly auto-generated via APIMATIC, this fork is distributed under the Composer package name `worksection/pipedrive`, even though the internal namespace remains `Pipedrive` for compatibility with existing code.

For more details about the Pipedrive API itself, visit [developers.pipedrive.com](https://developers.pipedrive.com/).

---

Installation
------------

[](#installation)

You can install this package via Composer:

```
composer require worksection/pipedrive
```

---

API Documentation
-----------------

[](#api-documentation)

Refer to the official Pipedrive REST API documentation:
👉

---

License
-------

[](#license)

MIT License — same as the original [pipedrive/pipedrive](https://github.com/pipedrive/client-php)

© 2012–2020 Pipedrive, Inc.
Modified in 2025 by Worksection

---

Usage
-----

[](#usage)

### With API Token

[](#with-api-token)

```
use Pipedrive\Client;

$apiToken = 'YOUR_API_TOKEN';

$client = new Client(null, null, null, $apiToken);

$response = $client->getUsers()->getCurrentUserData();
```

### With OAuth2

[](#with-oauth2)

```
use Pipedrive\Client;

$client = new Client($clientId, $clientSecret, $redirectUri);

// Store token
Pipedrive\Configuration::$oAuthTokenUpdateCallback = function($token) {
    $_SESSION['access_token'] = $token;
};

if (isset($_SESSION['access_token'])) {
    Pipedrive\Configuration::$oAuthToken = $_SESSION['access_token'];
}

$authUrl = $client->auth()->buildAuthorizationUrl();
```

Token refresh logic, error handling, and full examples (like `authcallback.php` and `index.php`) remain the same as in the original client.

---

Differences from the Original Pipedrive Client
----------------------------------------------

[](#differences-from-the-original-pipedrive-client)

- Distributed under the Composer package name `worksection/pipedrive`
- Intended for internal use by Worksection with full local control
- May include small patches or improvements over time
- Code structure, autoloading, and namespace remain identical to the original (`Pipedrive\*`)

---

Contributing
------------

[](#contributing)

This version is maintained for internal use by Worksection.
If you wish to contribute or reuse it, feel free to fork and adapt it to your own needs.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance46

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

406d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0305c909e718f5addcfac4947fa258274c167f4baf16cab960a141a24d95f7f8?d=identicon)[Worksection](/maintainers/Worksection)

---

Top Contributors

[![vadymskk](https://avatars.githubusercontent.com/u/68269374?v=4)](https://github.com/vadymskk "vadymskk (2 commits)")

---

Tags

crmcontactspipelinedealssalescustomerspipedrivesales pipeline

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/worksection-pipedrive/health.svg)

```
[![Health](https://phpackages.com/badges/worksection-pipedrive/health.svg)](https://phpackages.com/packages/worksection-pipedrive)
```

###  Alternatives

[pipedrive/pipedrive

Pipedrive REST client for PHP

601.2M](/packages/pipedrive-pipedrive)[devio/pipedrive

Complete Pipedrive API client for PHP and/or Laravel

1691.8M](/packages/devio-pipedrive)[dotzero/amocrm

Удобный и быстрый клиент для работы с API amoCRM

221431.7k9](/packages/dotzero-amocrm)[phpforce/soap-client

A PHP client for the Salesforce SOAP API

831.9M1](/packages/phpforce-soap-client)[alexacrm/php-crm-toolkit

PHP Toolkit for Microsoft Dynamics CRM

109293.3k1](/packages/alexacrm-php-crm-toolkit)[davispeixoto/laravel5-salesforce

Laravel 5 Salesforce Force.com PHP Toolkit port

47142.8k1](/packages/davispeixoto-laravel5-salesforce)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
