PHPackages                             swisspost-yellowcube/magento2-yellowcube - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. swisspost-yellowcube/magento2-yellowcube

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

swisspost-yellowcube/magento2-yellowcube
========================================

Magento2 extension for YellowCube from SwissPost AG - Switzerland.

1.0.4(6y ago)024OSL-3.0PHP

Since Apr 23Pushed 6y ago5 watchersCompare

[ Source](https://github.com/swisspost-yellowcube/magento2-yellowcube)[ Packagist](https://packagist.org/packages/swisspost-yellowcube/magento2-yellowcube)[ Docs](http://www.yellowcube.ch)[ RSS](/packages/swisspost-yellowcube-magento2-yellowcube/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (8)Used By (0)

Magento 2 integration module for YellowCube from Post AG - Switzerland
======================================================================

[](#magento-2-integration-module-for-yellowcube-from-post-ag---switzerland)

License
-------

[](#license)

This extension is licensed under OSL v.3.0 Some classes and javascript contain a MIT license.

System requirements
-------------------

[](#system-requirements)

- Magento CE &gt;= 2.3
- PHP &gt;= 7.1 (as required by Magento 2.3)
- PHP Soap, DOM Library, mbstring,
- Cron enabled and configured for Magento 2

This relies on the new MessageQueue component in Magento 2.3 to synchronize data asynchronously. It defaults to the MysqlMq implementation, which has a known issue: [magento/magento2#21904](https://github.com/magento/magento2/issues/21904).

Alternatively, override it to use the RabbitMQ adapter. @todo: Define how.

The store locale must be set to a locale supported by YellowCube (DE/FR/IT/EN-GB).

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

[](#installation)

- `composer require swisspost-yellowcube/magento2-yellowcube`
- `./bin/magento module:enable Swisspost_YellowCube`
- `./bin/magento setup:upgrade`

To add the Patch for MysqlMq:

```
composer require cweagans/composer-patches

# Add inside extra:

        "patches": {
            "magento/module-mysql-mq": {
                " MysqlMq: Use new MessageQueue Config interface, update unit tests #21942": "https://raw.githubusercontent.com/swisspost-yellowcube/magento2-yellowcube/master/21942.diff"
            }
        }

composer update --lock

```

Configuration
-------------

[](#configuration)

In Menu `Stores > Configuration > Sales > Shipping Methods`. enable YellowCube and configure it based on the received information.

In Menu `Stores > Stocks`, create a Stock that contains at least the automatically created YellowCube source.

**Important**: After code changes and deployments, the message queue processor that magento automatically starts on cron must be restarted.

### User Manual / Configuration Manual

[](#user-manual--configuration-manual)

@TODO

### Custom shipping methods

[](#custom-shipping-methods)

The known shipping methods can be extend in app/etc/config.php, Example:

```
    'system' => [
        'default' => [
            'carriers' => [
                'yellowcube' => [
                    'methods' => [
                        'eco' => [
                            'label' => 'PostPac Economy CHANGED',
                            'code' => 'ECO',
                        ],
                        'extra' => [
                            'label' => 'Extra new option',
                            'code' => 'ECO EXTRA',
                            'real_code' => 'ECO',
                            'additional' => 'EXTRA',
                        ],
                    ],
                ],
            ],
        ],
    ],

```

It is also possible to export the whole configuration and then adjust it. See

Automated tests
---------------

[](#automated-tests)

Tu run tests, follow the steps on [https://devdocs.magento.com/guides/v2.3/test/integration/integration\_test\_execution.html](https://devdocs.magento.com/guides/v2.3/test/integration/integration_test_execution.html), set testsuites to:

```

    ../../../vendor/swisspost-yellowcube/magento2-yellowcube/Tests/Integration

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~17 days

Total

5

Last Release

2465d ago

### Community

Maintainers

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

---

Top Contributors

[![Berdir](https://avatars.githubusercontent.com/u/40826?v=4)](https://github.com/Berdir "Berdir (57 commits)")[![xpoback](https://avatars.githubusercontent.com/u/4457842?v=4)](https://github.com/xpoback "xpoback (3 commits)")

### Embed Badge

![Health badge](/badges/swisspost-yellowcube-magento2-yellowcube/health.svg)

```
[![Health](https://phpackages.com/badges/swisspost-yellowcube-magento2-yellowcube/health.svg)](https://phpackages.com/packages/swisspost-yellowcube-magento2-yellowcube)
```

###  Alternatives

[ronanguilloux/php-gpio

GPIO-related utils &amp; toolkit PHP library

2678.0k](/packages/ronanguilloux-php-gpio)[daxslab/yii2-taggedview

Extension to help setup the standard HTML meta tags besides the ones defined by Opengraph and Twitter to contribute to website SEO

114.5k](/packages/daxslab-yii2-taggedview)

PHPackages © 2026

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