PHPackages                             jeroenboesten/shops-united-laravel - 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. jeroenboesten/shops-united-laravel

ActiveLibrary[API Development](/categories/api)

jeroenboesten/shops-united-laravel
==================================

Laravel wrapper for the ShopsUnited API

v1.1.2(6y ago)1181MITPHPPHP ^7.1CI failing

Since May 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/JeroenBoesten/shops-united-laravel)[ Packagist](https://packagist.org/packages/jeroenboesten/shops-united-laravel)[ Docs](https://github.com/jeroenboesten/shops-united-laravel)[ RSS](/packages/jeroenboesten-shops-united-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

Laravel ShopUnited Wrapper
==========================

[](#laravel-shopunited-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/07e97457cfb20ff632b5e197164c5610fce671270ef745dc1c30b0cdd8a39852/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4a65726f656e426f657374656e2f73686f70732d756e697465642d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeroenboesten/shops-united-laravel)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0e7ea362eb286da65864457ae323aa75137c81c4f7adb2c45931367d553b0416/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4a65726f656e426f657374656e2f73686f70732d756e697465642d6c61726176656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/JeroenBoesten/shops-united-laravel/?branch=master)[![StyleCI](https://camo.githubusercontent.com/b49b4215a09243db4506f81a1695fc8398feed7288cf592e2403524ed9cda0ca/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3138363636343936362f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/186664966)[![Total Downloads](https://camo.githubusercontent.com/fccf17924e62b04f4c517a313f00f71d13ee1017bd22300d12f02431d9d70d02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a65726f656e626f657374656e2f73686f70732d756e697465642d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeroenboesten/shops-united-laravel)

This Laravel package functions as a wrapper for the Shops United API. To see more about the specific API visit: [Shops United API Docs.](https://login.shops-united.nl/api/docs.php)

This package is not affiliated with, funded, or in any way associated with Shops United, but is maintained in spare time.

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

[](#installation)

You can install the package via composer:

```
composer require jeroenboesten/shops-united-laravel
```

#### Environment variables

[](#environment-variables)

Add the UserId and API Key to your environment variables.

```
SHOP_UNITED_ACCOUNT_ID=
SHOP_UNITED_API_KEY=

```

Optionally you can set if the ssl certificate should be verified, by adding a environment variable. By default the ssll certificate is verified on production but NOT verified on local environments.

```
SHOPS_UNITED_VERIFY_SSL=true

```

Usage
-----

[](#usage)

After you installed the package you start using it by creating an instance. After that you can select one of the available modules (`Shipments` or `Accounts`) and use the methods in there.

```
    $shopsUnited = new \JeroenBoesten\ShopsUnitedLaravel\ShopsUnitedLaravel(); // Create a new ShopsUnitedLaravel instance.
    $shopsUnited->accounts()->validate(); // Validates the API Key and User ID.
    $shopsUnited->shipments()->types(); // List all types of shipments that are available for the account, can be used for creating a new shipment.
    $shopsUnited->shipments()->list(); // Lists last 50 shipments.
```

To create a new shipment over the api you can use the `Shipments()->create()` method with first the mandatory fields and after that a array with optional parameters (for a list of optional parameters visit the [api docs](https://login.shops-united.nl/api/docs.php#zending)).

```
$shopsUnited->shipments()->create("PostNL", "Standaard pakket", "Order Aanvraag: 1502", "Arno Niem", "Straatweg", "14", "1111AB", "Amsterdam", 1, 1, ['NietLeverenBijDeBuren' => true])
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Jeroen Boesten](https://github.com/jeroenboesten)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~103 days

Total

4

Last Release

2229d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c200574c3331c4c0ff6287076dbe6e0bd1fca87daf342837a37335169b53e48?d=identicon)[JeroenBoesten](/maintainers/JeroenBoesten)

---

Top Contributors

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

---

Tags

shops-united-laraveljeroenboesten

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeroenboesten-shops-united-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/jeroenboesten-shops-united-laravel/health.svg)](https://phpackages.com/packages/jeroenboesten-shops-united-laravel)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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