PHPackages                             aanbieders/laravel-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. [API Development](/categories/api)
4. /
5. aanbieders/laravel-api

ActiveLibrary[API Development](/categories/api)

aanbieders/laravel-api
======================

Laravel package to recover information of the Aanbieders.be Comparison service provider, using the Aanbieders API

4.0.1(10y ago)0295MITPHPPHP &gt;=5.4.0

Since Apr 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/econtract/aanbieders-laravel-package)[ Packagist](https://packagist.org/packages/aanbieders/laravel-api)[ Docs](http://www.aanbieders.be)[ RSS](/packages/aanbieders-laravel-api/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (34)Used By (0)

Aanbieders.be comparison API
============================

[](#aanbiedersbe-comparison-api)

This package offers the Laravel integration of the Aanbieders.be comparison collection API. This API can be used by partners and affiliates of Aanbieders to leverage information from the Aanbieders comparison calculation engine on their own websites.

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

[](#installation)

Pull this package in through Composer.

```
    {
        "require": {
            " aanbieders/laravel-api": "4.*"
        }
    }
```

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
    API_staging=false                       // Is this a staging server?
    API_key=your_public_api_key             // Public API key
    API_secret=your_secret_api_key          // Private API key

```

In order to use the API (and thus this package), an API key is required. If you are in need of such a key, please get in touch with Aanbieders.be via [their website](https://www.aanbieders.be/contact).

Usage
-----

[](#usage)

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

```
    'providers'         => array(

        //...
        'Aanbieders\Api\ApiServiceProvider',

    ),
```

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

```
    'facades'           => array(

        //...
        'Api'               => 'Aanbieders\Api\Facades\Api',

    ),
```

Once this is done, you can access the API using the alias you have selected in your `config/app.php` file:

```

    $products = Api::getProducts(
        array(
            'sg'        => 'consumer',
            'cat'       => 'internet',
            'lang'      => 'nl'
        )
    );

    $suppliers = Api::getSuppliers(
        array(
            'sg'        => 'consumer',
            'cat'       => 'internet',
            'lang'      => 'nl'
        )
    );

    $comparisons = Api::getComparisons(
        array(
            'sg'        => 'consumer',
            'cat'       => 'gas',
            'lang'      => 'nl',
            'u'         => '4000',
            'ut'        => 'kwh',
            'zip'       => '3540',
            't'         => 'no',
            'd'         => '0'
        )
    );

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

For information regarding all possible parameters and their properties, we kindly refer you to [the API documentation](http://apihelp.econtract.be/).

License
-------

[](#license)

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

Contact
-------

[](#contact)

Evert Engelen

- Email:

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 80.4% 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 ~21 days

Recently: every ~2 days

Total

31

Last Release

3774d ago

Major Versions

0.2.2 → 1.0.02015-09-28

1.2.0 → 2.0.02015-12-14

2.1.2 → 3.0.02016-01-05

3.0.0 → 4.0.02016-01-06

2.2.0 → 4.0.12016-01-12

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

0.2.0PHP &gt;=5.4.0

### 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 (45 commits)")[![EngelenIT](https://avatars.githubusercontent.com/u/35374794?v=4)](https://github.com/EngelenIT "EngelenIT (11 commits)")

---

Tags

apilaravelaanbieders

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aanbieders-laravel-api/health.svg)

```
[![Health](https://phpackages.com/badges/aanbieders-laravel-api/health.svg)](https://phpackages.com/packages/aanbieders-laravel-api)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[ixudra/toggl

Custom PHP library to connect with the Toggl API - developed by Ixudra

27115.5k1](/packages/ixudra-toggl)

PHPackages © 2026

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