PHPackages                             donttrythisathome/crm-client - 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. donttrythisathome/crm-client

ActiveLibrary[API Development](/categories/api)

donttrythisathome/crm-client
============================

The external CRM client

0.1.0(4y ago)05proprietaryPHPPHP ^7.4 | ^8.0

Since Oct 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/donttrythisathome/crm-client)[ Packagist](https://packagist.org/packages/donttrythisathome/crm-client)[ RSS](/packages/donttrythisathome-crm-client/feed)WikiDiscussions master Synced today

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

The CRM client package
======================

[](#the-crm-client-package)

Provides an interface to send data to the CRM.

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

[](#installation)

Ensure you have composer installed, then run the following command:

```
$ composer require donttrythisathome/crm-client
```

Basic usage
-----------

[](#basic-usage)

```
$config = [
    'default' => 'baz',
    'drivers' => [
        'baz' => [
            'api_token' => $token,
            'endpoint' => $endpoint
        ]
    ]
];
$data = ['foo' => 'bar'];

$crm = new \Donttrythisathome\CRMClient\CRMManager($config);

// send data using default driver
$crm->driver()->send($data);
// or
$crm->send($data)

// you can specify the CRM driver name
$crm->driver('baz')->send($data);
```

Bonus
-----

[](#bonus)

Package supports laravel-way usage. Just require a package to your laravel 7 or 8 project and inject manager to you class (or attempt to use facade class ).

### Example

[](#example)

```
use Donttrythisathome\CRMClient\CRMManager;
use Donttrythisathome\CRMClient\Facades\CRM;

...

protected CRMManager $crm;

/**
 * @param \Donttrythisathome\CRMClient\CRMManager $crm
 */
public function __construct(CRMManager $crm) {
    $this->crm = $crm;
}

/**
 * @param array $data
 */
public function foo(array $data) {
    // send data using default driver or specify driver with driver(string $driver)
    $this->crm->send($data);
    // or
    CRM::send($data);
}
```

### ENV

[](#env)

```
# configure Baz CRM endpoint
BAZ_CRM_ENDPOINT=https://foo.tld/bar
# configure Baz CRM access token
BAZ_CRM_ACCESS_TOKEN=abcdef

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

1660d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e77806665fd2a3c9bc3eb0a3280e5caeb633e3355182f302ebddc976288736ca?d=identicon)[donttrythisathome](/maintainers/donttrythisathome)

---

Top Contributors

[![donttrythisathome](https://avatars.githubusercontent.com/u/26026043?v=4)](https://github.com/donttrythisathome "donttrythisathome (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/donttrythisathome-crm-client/health.svg)

```
[![Health](https://phpackages.com/badges/donttrythisathome-crm-client/health.svg)](https://phpackages.com/packages/donttrythisathome-crm-client)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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