PHPackages                             drei-kr/espocrm-api - 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. drei-kr/espocrm-api

AbandonedArchivedLibrary

drei-kr/espocrm-api
===================

PHP API for EspoCRM

1512[1 issues](https://github.com/drei-kr/espocrm-api/issues)PHP

Since Oct 9Pushed 9y ago2 watchersCompare

[ Source](https://github.com/drei-kr/espocrm-api)[ Packagist](https://packagist.org/packages/drei-kr/espocrm-api)[ RSS](/packages/drei-kr-espocrm-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

espocrm-api
===========

[](#espocrm-api)

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

[](#installation)

The Package is available on Packagist ([drei-kr/espocrm-api](https://packagist.org/packages/drei-kr/espocrm-api)) and as such installable via [Composer](http://getcomposer.org/).

If you do not use Composer, you can grab the code from GitHub, and use any PSR-4 compatible autoloader (e.g. the [Symfony ClassLoader component](https://github.com/symfony/ClassLoader)) to load the library's classes.

### Composer example

[](#composer-example)

Add espocrm-api in your composer.json:

```
{
    "require": {
        "drei-kr/espocrm-api": "dev-master"
    }
}
```

Download the library:

```
$ php composer.phar update drei-kr/espocrm-api
```

After installing, you need to require Composer's autoloader somewhere in your code:

```
require_once 'vendor/autoload.php';
```

Usage
-----

[](#usage)

```
use Drei\EspoCRM\Client\EspoClient;

$client = EspoClient::factory([
    'url'     => 'http://plus.dev/',     // required
    'username' => 'admin', // required
    'token' => 'admin' // required
]);

$command = $client->getCommand('list', [
    'entityType' => 'Account',
    'maxSize'  => 10
]);

$results = (array) $client->execute($command); // returns an array of results
```

You can find a list of the client's available commands in the bundle's [client.json](https://github.com/drei-kr/espocrm-api/blob/master/src/Resources/config/v1/client.json) or take a look into the api docu of espocrm .

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6956a37b49be73d4e79742c93a7177a9b72678ee91db0a48faa38b94570bdd21?d=identicon)[ddanninger](/maintainers/ddanninger)

---

Top Contributors

[![ddanninger](https://avatars.githubusercontent.com/u/1423135?v=4)](https://github.com/ddanninger "ddanninger (12 commits)")

### Embed Badge

![Health badge](/badges/drei-kr-espocrm-api/health.svg)

```
[![Health](https://phpackages.com/badges/drei-kr-espocrm-api/health.svg)](https://phpackages.com/packages/drei-kr-espocrm-api)
```

PHPackages © 2026

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