PHPackages                             laveto/laravel-multivers - 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. laveto/laravel-multivers

ActiveLibrary[API Development](/categories/api)

laveto/laravel-multivers
========================

Connect to Multivers API

1.0.4(7y ago)21084[1 issues](https://github.com/laveto/laravel-multivers/issues)MITPHP

Since Oct 29Pushed 7y ago2 watchersCompare

[ Source](https://github.com/laveto/laravel-multivers)[ Packagist](https://packagist.org/packages/laveto/laravel-multivers)[ Docs](https://github.com/laveto/laravelmultivers)[ RSS](/packages/laveto-laravel-multivers/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (6)Versions (6)Used By (0)

Laravel-Multivers
=================

[](#laravel-multivers)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ae52a9aca274ee1441943846c899e17e0bd1a7cb35b528bbb36444988955c89c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c617665746f2f6c61726176656c2d6d756c7469766572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laveto/laravel-multivers)[![Total Downloads](https://camo.githubusercontent.com/aac3c9a22b328a171f80f401d0521800927e0bdabc0badb71411e5c5eea38e27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c617665746f2f6c61726176656c2d6d756c7469766572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laveto/laravel-multivers)[![StyleCI](https://camo.githubusercontent.com/8f638ea4b0f1401ccf7af728b76bc8f37022c5a132cc122440d9c5d173bc1789/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3135353139363032392f736869656c64)](https://github.styleci.io/repos/155196029)

Easily communicate with the Unit4 Multivers Web API.

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

[](#installation)

Via Composer

```
$ composer require laveto/laravel-multivers
```

Publish config file

```
$ php artisan vendor:publish --tag=laravel-multivers
```

Update the config file, it is possible to define multiple connections. See below for an example of a defined connection.

```
'api_url' => 'http://192.168.0.15/API_1_9_3',
'refresh_token' => 'dGVK!IAAAAApkHjXCUJTwYzs1sgqyoCW5D7sI3DROdJbXG9zzE6q14KAAAAFS34NmSN4rH0gUjgXsc-WrdCqKAkEkRe-7rc-fBKSwoiKnQnxreNGzzj7an18DBH3hmoOQlIfrl7ShUY8ZB4_YzsMLCf0qrggum3OAvkvBQnSuzOkcUR1xzTIGOmt1VmJs_NqbYqSLw6HAwKb4hGptxAaStfGhW2J6TJoa6350RMwIe3p6ISE7AGcPzeJMDaBBpkf6TK4BWfvzuVoVjA5Mfcr_5hxQTx8tqOMjzhsWkwnx2DfJY9IQg-7cpHy6wn6yuM5OrprIuW5IHxBrhD6acYKLUY7eigc1e3MKOX2hqw',
'client_id' => '0C16C134-2491-431E-B1D5-E470D0FE834E',
'client_secret' => 'cRenESWEbrewrEjatHe7atHaf4uwuzEphemespUFreBR8cuXaZ',
'grant_type' => 'refresh_token',
'database' => 'MVL00001'

```

The `refresh_token` is obtained via the "RefreshTokenGenerator" which you can download [here](https://laveto.nl/RefreshTokenGenerator.zip).

Usage
-----

[](#usage)

If you didn't add the library as an allias in your config/app.php then you need to add the following line at the top of your php file.

```
use Laveto\LaravelMultivers\Facades\Multivers;
```

To make a get call use:

```
$result = Multivers::get('CustomerInfoList');

```

Optionally you can pass extra data that will be added in the request query string. Of course you can also use the OData parameters here. See below example.

```
$result = Multivers::get('CustomerInfoList', ['$top' => 3]);

```

To make post request you need to use `Multivers::post()`.

```
$result = Multivers::post('Customer', [
    "accountManagerId": "sample string 1",
    "addresses": null,
    "messages": [],
    "applyOrderSurcharge": true,
    "businessNumber": "sample string 3",
    "canChange": true,
    "cannotChangeReason": "sample string 5",
    "chargeVatTypeId": 0,
    "city": "sample string 6",
    "cocCity": "sample string 7",
    "cocDate": "sample string 8",
    "cocRegistration": "sample string 9",
    "collectiveInvoiceSystemId": "sample string 10",
    "combineInvoicesForElectronicBanking": true,
    "countryId": "sample string 12",
    "creditLimit": 13.0,
    "creditSqueezeId": "sample string 14",
    "currencyId": "sample string 15",
    "customerGroupId": 16,
    "customerId": "sample string 17",
    "customerStateId": "sample string 18",
    "database": "sample string 19",
    "dateChanged": "sample string 20",
    "dateCreated": "sample string 21",
    "deliveryConditionId": "sample string 22",
    "discountPercentage": 23.0,
    "email": "sample string 24",
    "fax": "sample string 25",
    "fullAddress": "sample string 26",
    "fullDeliveryAddress": "sample string 27",
    "googleMapsDirectionsUrl": "sample string 28",
    "googleMapsUrl": "sample string 29",
    "governmentDigitalId": "sample string 30",
    "hasOutstandingBalance": true,
    "homepage": "sample string 32",
    "includeVatOnOrderByDefault": true,
    "intrastatGoodsCodeId": 1,
    "intrastatGoodsDistributionId": 1,
    "intrastatStatSystemId": 1,
    "intrastatTrafficRegionId": 1,
    "intrastatTransactionTypeId": "sample string 34",
    "intrastatTransportTypeId": 1,
    "invoiceOnBehalfOfMembers": true,
    "isDunForPayment": true,
    "isInFactoring": true,
    "isPaymentRefRequired": true,
    "isPurchaseOrganization": true,
    "languageId": "sample string 40",
    "mobilePhone": "sample string 41",
    "name": "sample string 42",
    "organizationId": 43,
    "paymentConditionId": "sample string 44",
    "person": "sample string 45",
    "pricelistId": "sample string 46",
    "printPurchaseDetails": true,
    "purchaseOrganizationId": "sample string 48",
    "purchaseOrganizationMemberId": "sample string 49",
    "revenueAccountId": "sample string 50",
    "shortName": "sample string 51",
    "street1": "sample string 52",
    "street2": "sample string 53",
    "supplierId": "sample string 54",
    "telephone": "sample string 55",
    "usesUBLInvoice": true,
    "vatNumber": "sample string 57",
    "vatScenarioId": 1,
    "vatVerificationDate": "sample string 58",
    "zipCode": "sample string 59"
]);

```

Besides `GET` and `POST` you can also use `PUT` and `DELETE`.

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

Tests are not included yet.

Security
--------

[](#security)

If you discover any security related issues, please email author instead of using the issue tracker.

Credits
-------

[](#credits)

- [Bart Jansen](https://github.com/bartjansen1989)
- [All Contributors](../../contributors)

License
-------

[](#license)

Please see the [license file](license.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~47 days

Total

4

Last Release

2610d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8067847?v=4)[laveto](/maintainers/laveto)[@laveto](https://github.com/laveto)

---

Top Contributors

[![bartjansen1989](https://avatars.githubusercontent.com/u/26299658?v=4)](https://github.com/bartjansen1989 "bartjansen1989 (9 commits)")[![Jeroen-G](https://avatars.githubusercontent.com/u/1116853?v=4)](https://github.com/Jeroen-G "Jeroen-G (2 commits)")

---

Tags

laravelconnectorMultiversLaravelMultivers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laveto-laravel-multivers/health.svg)

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

###  Alternatives

[irazasyed/telegram-bot-sdk

The Unofficial Telegram Bot API PHP SDK

3.3k4.5M84](/packages/irazasyed-telegram-bot-sdk)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[dcblogdev/laravel-xero

A Laravel Xero package

53129.1k1](/packages/dcblogdev-laravel-xero)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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