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

ActiveLibrary[API Development](/categories/api)

econtract/crm
=============

e-Contract BVBA CRM API package

4.2.0(4y ago)02.1kproprietaryPHPPHP &gt;=5.6.0

Since Feb 24Pushed 4y ago6 watchersCompare

[ Source](https://github.com/econtract/crm)[ Packagist](https://packagist.org/packages/econtract/crm)[ Docs](https://www.aanbieders.be)[ RSS](/packages/econtract-crm/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (16)Used By (0)

E-Contract BVBA - CRM package
=============================

[](#e-contract-bvba---crm-package)

This package offers the integration of the Aanbieders.be CRM API. This API can be used by partners and affiliates of Aanbieders to commonicate with the Aanbieders internal CRM system.

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

[](#installation)

Pull this package in through Composer:

```
    {
        "require": {
            "econtract/crm": "4.*"
        }
    }
```

Or install it via the commandline:

```

    composer require econtract/crm

```

Next, you will need to add several values to your `.env` file:

```

    AB_CRM_URL=http://foo.com/bar           // URL to the Aanbieders CRM system
    AB_CRM_ID=your_crm_api_id               // Your unique CRM API ID
    AB_CRM_KEY=your_crm_api_key             // Your unique CRM API key

```

In order to use the CRM API (and thus this package), an API key is required. If you are in need of such a key, please get in touch via evert \[at\] aanbieders.be.

### Laravel installation

[](#laravel-installation)

Add the service provider to your `config/app.php` file:

```
    'providers'             => array(

        //...
        \Econtract\Crm\CrmServiceProvider::class,

    )
```

Add the CRM API as an alias to your `config/app.php` file

```
    'facades'               => array(

        //...
        'Crm'                   => \Econtract\Crm\Facades\Crm::class,

    ),
```

Usage
-----

[](#usage)

### Laravel usage

[](#laravel-usage)

You can access the API using the alias you have selected in your `config/app.php` file:

```
    $contract = Crm::getContract( 63 );

    $input = array(
        'producttype'                   => 'gas',
        'product_id'                    => 12,
        'supplier_id'                   => 5,

        'new_connection'                => false,
        'activation_date'               => '2015-03-19',
        'install_date'                  => '2015-03-17',

        'send_confirmation_mail'        => true,
    );

    $contract = Crm::createOrder( $input );
```

For information regarding all possible parameters and their properties, please get in touch with Aanbieders.be via [their website](https://www.aanbieders.be/contact).

### Non-laravel usage

[](#non-laravel-usage)

```
    include('vendor/autoload.php');

    use Econtract/Crm/CrmService;

    $dotenv = new Dotenv\Dotenv(__DIR__);
    $dotenv->load();

    $crmService = new CrmService();
    $contract = $crmService->getContract( 63 );
```

License
-------

[](#license)

This package is proprietary software and may not be copied or redistributed without explicit permission.

Contact
-------

[](#contact)

Charles Dekkers

- Email:

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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

Every ~156 days

Recently: every ~439 days

Total

15

Last Release

1551d ago

Major Versions

1.0.3 → 2.0.02016-03-01

2.3.0 → 3.0.02017-04-25

3.0.0 → 4.0.22017-11-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/527820426040478741f7ce2c915bccfb7bf1b7f094ae341f0aa71fff3b685532?d=identicon)[econtract](/maintainers/econtract)

---

Top Contributors

[![elimentz](https://avatars.githubusercontent.com/u/1410811?v=4)](https://github.com/elimentz "elimentz (20 commits)")[![bilal-murtaza](https://avatars.githubusercontent.com/u/33414406?v=4)](https://github.com/bilal-murtaza "bilal-murtaza (2 commits)")[![janboden](https://avatars.githubusercontent.com/u/1611488?v=4)](https://github.com/janboden "janboden (2 commits)")[![bpasinski-neurosys](https://avatars.githubusercontent.com/u/12530633?v=4)](https://github.com/bpasinski-neurosys "bpasinski-neurosys (1 commits)")

---

Tags

apicrmaanbiedersE-Contract

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[dotzero/laravel-amocrm

ServiceProvider и Facade для Laravel 5 предоставляющие интеграцию с API amoCRM

3229.2k](/packages/dotzero-laravel-amocrm)

PHPackages © 2026

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