PHPackages                             madeitbelgium/business-control - 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. madeitbelgium/business-control

ActiveLibrary

madeitbelgium/business-control
==============================

PHP (Laravel) SDK for businessControl.be.

00PHPCI failing

Since Mar 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/madeITBelgium/Business-Control)[ Packagist](https://packagist.org/packages/madeitbelgium/business-control)[ RSS](/packages/madeitbelgium-business-control/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Business Control PHP (Laravel)
==============================

[](#business-control-php-laravel)

[![Build Status](https://camo.githubusercontent.com/b6c996f892fd6dfc22b8a7d145a2b6a243b737499d8a0c41b6710cfea1991480/68747470733a2f2f7472617669732d63692e6f72672f6d616465495442656c6769756d2f427573696e6573732d436f6e74726f6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/madeITBelgium/Business-Control)[![Coverage Status](https://camo.githubusercontent.com/aec9a26d0a4d6554fde0336d578b2c4b0ec168b6d69290d7e25a7d45a4a9ac03/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d616465495442656c6769756d2f427573696e6573732d436f6e74726f6c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/madeITBelgium/Business-Control?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/7408ba0fdba05ff424352477a91cac6adeadd2222e1ee5a00389c2da8fdb1926/68747470733a2f2f706f7365722e707567782e6f72672f6d616465495442656c6769756d2f427573696e6573732d436f6e74726f6c2f762f737461626c652e737667)](https://packagist.org/packages/madeITBelgium/Business-Control)[![Latest Unstable Version](https://camo.githubusercontent.com/d169397543f0ac88a4c5899622986df8b64c3250493f5605c27676be9f715aee/68747470733a2f2f706f7365722e707567782e6f72672f6d616465495442656c6769756d2f427573696e6573732d436f6e74726f6c2f762f756e737461626c652e737667)](https://packagist.org/packages/madeITBelgium/Business-Control)[![Total Downloads](https://camo.githubusercontent.com/29c67d2a7210c3be7a634f157db36f280dd1ebf5e1fb1961a86d2445a4f9782c/68747470733a2f2f706f7365722e707567782e6f72672f6d616465495442656c6769756d2f427573696e6573732d436f6e74726f6c2f642f746f74616c2e737667)](https://packagist.org/packages/madeITBelgium/Business-Control)[![License](https://camo.githubusercontent.com/1062db35b80f36ee9b20c2748b2c156275449b08f33e49af5917dfe97cc1d87c/68747470733a2f2f706f7365722e707567782e6f72672f6d616465495442656c6769756d2f427573696e6573732d436f6e74726f6c2f6c6963656e73652e737667)](https://packagist.org/packages/madeITBelgium/Business-Control)

With this Laravel package you can interact with the BusinessControl.be CRM.

Installation
============

[](#installation)

Require this package in your `composer.json` and update composer.

```
"madeitbelgium/business-control": "^0.1"
```

Documentation
=============

[](#documentation)

Usage
-----

[](#usage)

```
use MadeITBelgium\BusinessControl\Facade\BusinessControl;

$companyId = 1; //BusinessControl Company ID

//Search client
$clients = BusinessControl::client()->searchByVat('BE0653.855.818', $companyId);

 $clients = BusinessControl::client()->searchByEmail('info@madeit.be', $companyId);

//create client
$client = BusinessControl::client()->create([
    'name' => 'Name',
    'company_id' => $companyId,
    'team_id' => null,
    'client_group_id' => null,
    'contact_name' => $name,
    'phone' => $phone,
    'contact_phone' => null,
    'email' => $email,
    'invoice_email' => $email,
    'contact_email' => $email,
    'street_name' => $street,
    'street_number' => null,
    'postal_code' => $postcode,
    'postal_name' => $city,
    'country' => $country,
    'vat' => $vat
]);
if($client->success) {
    $clientId = $client->client->id;
}

//Create invoice
$invoiceNumber = BusinessControl::invoice()->nextInvoiceNumber(date('Y'), $companyId);
$newNumber = "";
if($invoiceNumber->prefix !== null) {
    $newNumber = $invoiceNumber->prefix;
}
$number = $invoiceNumber->next;
if($invoiceNumber->length !== null) {
    $number = str_pad($number, $invoiceNumber->length, "0", STR_PAD_LEFT);
}
$newNumber = $newNumber . $number;

$invoice = BusinessControl::invoice()->create([
     'company_id' => $companyId,
    'team_id' => null,
    'client_id' => $clientId,
    'title' => "Made I.T. subscription",
    'description' => "",
    'invoice_number' => $newNumber,
    'invoice_date' => Carbon::now()->format('Y-m-d'),
    'invoice_sent' =>  Carbon::now()->format('Y-m-d'),
    'invoice_expire' => Carbon::now()->addDays(14)->format('Y-m-d'),
    'invoice_approved' => Carbon::now()->format('Y-m-d'),
    'invoice_rejected' => null,
    'invoice_completed' => Carbon::now()->format('Y-m-d'),
    'invoice_lines' => [
        [
            'name' => 'Made I.T. subscription',
            'amount' => $period,
            'vat' => $vat ? 21 : 0,
            'unit_price_excl' => $vat ? ($monthPrice/1.21) : $monthPrice,
            'unit_price_vat' => $vat ? ($monthPrice - $monthPrice/1.21) : 0,
            'unit_price_incl' => $monthPrice,
            'total_price_excl' => $vat ? ($totalPrice/1.21) : $totalPrice,
            'total_price_vat' => $vat ? ($totalPrice - $totalPrice/1.21) : 0,
            'total_price_incl' => $totalPrice,
        ]
    ]
]);

if($invoice->success) {
    $invoiceId = $invoice->invoice->id;
    BusinessControl::invoice()->updateStatus($invoiceId, 5);
}
```

The complete documentation can be found at:

Support
=======

[](#support)

Support github or mail:

Contributing
============

[](#contributing)

Please try to follow the psr-2 coding style guide.

License
=======

[](#license)

This package is licensed under LGPL. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/madeitbelgium-business-control/health.svg)

```
[![Health](https://phpackages.com/badges/madeitbelgium-business-control/health.svg)](https://phpackages.com/packages/madeitbelgium-business-control)
```

PHPackages © 2026

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