shipperhq / module-common
shipperhq/module-common
ShipperHQ Common
ShipperHQ Common for Magento 2
ShipperHQ Common is a shared library module that provides the core models, interfaces, and utilities used across ShipperHQ's suite of Magento 2 modules. It is a required dependency of other ShipperHQ modules and is not intended to be used standalone.
Features
- Shared Models: Common data models for pickup, calendar, and shipping option features shared across ShipperHQ modules.
- Configuration Interfaces: Abstract configuration classes and interfaces that provide a consistent configuration contract across the ShipperHQ module suite.
- Checkout Integration: Plugin support for Magento's shipping method management to enable ShipperHQ's extended checkout capabilities.
- Service Abstractions: Shared service classes consumed by ShipperHQ feature modules to avoid duplication and ensure consistency.
Installation
This module is installed automatically as a dependency when you install any ShipperHQ module that requires it. You do not need to install it directly.
Full installation instructions for the ShipperHQ extension are available in the ShipperHQ documentation.
Requirements
- Magento 2.4.4+
- Compatibility with earlier editions is possible but not maintained
- Supports both Magento Opensource (Community) and Magento Commerce (Enterprise)
- A valid ShipperHQ account. Sign up here for your 15-day free trial!
Configuration
This module has no configuration of its own. All ShipperHQ configuration is managed through the main ShipperHQ module under Stores > Configuration > Sales > Shipping Methods > ShipperHQ.
You can find full configuration instructions in the ShipperHQ documentation.
Frequently Asked Questions
1. Do I need to install this module manually?
No. This module is pulled in automatically as a composer dependency when you install any ShipperHQ module that requires it.
2. Is there a free trial available for ShipperHQ?
Yes, ShipperHQ offers a free trial for new users. You can sign up for the trial on the ShipperHQ website and explore the platform's features before committing to a subscription.
3. How do I troubleshoot issues related to this module?
- Verify that all ShipperHQ modules are on compatible versions by checking the
requireconstraints in each module'scomposer.json. - Check our extensive documentation for troubleshooting tips.
4. Can I use this module without installing the main ShipperHQ module?
No, this library is not intended for standalone use. It is designed to be consumed by other ShipperHQ modules that provide the actual shipping features.
Support
For assistance, please visit our Help Center or contact ShipperHQ support at [email protected].
For alternative contact methods, please visit our Contact Us page.
Contributing
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
License
See license files
Copyright
Copyright (c) 2015 Zowta LLC (http://www.ShipperHQ.com)
Change Log
20.7.0 (2018-06-25)
SHQ18-277 retain existing selectiosn on checkout selections object
20.8.0 (2019-03-14)
SHQ18-1651 Update dependencies in composer.json
20.9.0 (2019-11-20)
SHQ18-2869 Process rate response as array
20.9.1 (2021-01-07)
INFRA-208 updated composer json from uppercase to lowercase
20.9.2 (2021-02-23)
MNB-1003 Fix for rate shopped accessorials on LTL methods
20.9.3 (2021-04-22)
MNB-1204 Fix issue around date select requesting rates for all carriers and errors showing when shouldnt
20.9.4 (2021-11-02)
MNB-1797 Fix unit tests to work with Magento 2.3+
20.10.0 (2022-05-13)
MNB-2430 M2.4.4 compatibility
20.10.1 (2026-05-29)
ENG26-26 Modernising copyrights and docs
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 20.10.1 | stable | Fail | Not compatible Details | 2026-05-29 10:47:31 |
| 20.10.0 | stable | Not tested | Not yet tested Details | 2022-05-13 09:13:11 |
| 20.9.4 | stable | Not tested | Not yet tested Details | 2021-11-02 17:05:15 |
| 20.9.3 | stable | Not tested | Not yet tested Details | 2021-04-22 15:42:38 |
| 20.9.2 | stable | Not tested | Not yet tested Details | 2021-02-23 10:20:03 |
| 20.9.1 | stable | Not tested | Not yet tested Details | 2021-01-07 11:04:08 |
| 20.9.0 | stable | Not tested | Not yet tested Details | 2019-11-20 15:58:42 |
| 20.8.0 | stable | Not tested | Not yet tested Details | 2019-03-14 16:58:56 |
| 20.7.0 | stable | Not tested | Not yet tested Details | 2018-06-25 09:39:44 |
| 20.6.5 | stable | Not tested | Not yet tested Details | 2018-05-18 08:46:06 |
| 20.6.4 | stable | Not tested | Not yet tested Details | 2018-05-16 14:03:18 |
| 20.6.3 | stable | Not tested | Not yet tested Details | 2018-05-16 14:03:05 |
| 20.6.2 | stable | Not tested | Not yet tested Details | 2018-05-16 14:02:50 |
| 20.6.1 | stable | Not tested | Not yet tested Details | 2018-04-13 08:49:38 |
| 20.6.0 | stable | Not tested | Not yet tested Details | 2018-04-11 11:28:34 |
| 20.5.1 | stable | Not tested | Not yet tested Details | 2018-04-10 10:26:07 |
| 20.5.0 | stable | Not tested | Not yet tested Details | 2018-03-15 16:46:16 |
| 20.4.1 | stable | Not tested | Not yet tested Details | 2018-03-07 09:33:01 |
| 20.4.0 | stable | Not tested | Not yet tested Details | 2018-01-05 12:39:35 |
| 20.3.7 | stable | Not tested | Not yet tested Details | 2017-11-28 15:27:25 |
| 20.3.6 | stable | Not tested | Not yet tested Details | 2017-11-07 11:06:40 |
| 20.3.5 | stable | Not tested | Not yet tested Details | 2017-10-12 09:32:36 |
| 20.3.4 | stable | Not tested | Not yet tested Details | 2017-08-30 14:55:11 |
| 20.3.3 | stable | Not tested | Not yet tested Details | 2017-08-11 08:43:07 |
| 20.3.2 | stable | Not tested | Not yet tested Details | 2017-08-10 13:48:42 |
| 20.3.1 | stable | Not tested | Not yet tested Details | 2017-07-18 15:17:39 |
| 20.3.0 | stable | Not tested | Not yet tested Details | 2017-05-23 10:06:41 |
| 20.2.0 | stable | Not tested | Not yet tested Details | 2017-05-09 10:08:11 |
| 20.1.5 | stable | Not tested | Not yet tested Details | 2017-05-04 10:10:11 |
| 20.1.4 | stable | Not tested | Not yet tested Details | 2017-02-27 09:50:24 |
| 20.1.3 | stable | Not tested | Not yet tested Details | 2017-02-13 09:56:27 |
| 20.1.2 | stable | Not tested | Not yet tested Details | 2016-12-14 12:53:57 |
| 20.1.1 | stable | Not tested | Not yet tested Details | 2016-11-15 17:26:22 |
| 20.1.0 | stable | Not tested | Not yet tested Details | 2016-10-24 16:02:04 |
| 20.0.6 | stable | Not tested | Not yet tested Details | 2016-10-16 11:31:53 |
| 20.0.5 | stable | Not tested | Not yet tested Details | 2016-06-27 13:58:05 |
| 20.0.4 | stable | Not tested | Not yet tested Details | 2016-06-23 15:04:10 |
| 20.0.3 | stable | Not tested | Not yet tested Details | 2016-05-18 13:52:43 |
| 20.0.2 | stable | Not tested | Not yet tested Details | 2016-05-03 01:26:06 |
| 20.0.1 | stable | Not tested | Not yet tested Details | 2016-04-25 08:24:49 |
Requires 4
| Package | Constraint |
|---|---|
| magento/framework | >=100.0 |
| magento/module-store | >=100.0 |
| shipperhq/library-ws | ^20.4 |
| shipperhq/library-shipper | ^20.12 |
Requires-dev 15
| Package | Constraint |
|---|---|
| phpunit/phpunit | ~5.3.0 |
| phpmd/phpmd | @stable |
| pdepend/pdepend | ^2.5 |
| friendsofphp/php-cs-fixer | ~2.1.1 |
| lusitanian/oauth | ~0.8.10 |
| sebastian/phpcpd | 2.0.4 |
| mikey179/vfsstream | ^1.6 |
| phpro/grumphp | ^0.12.1 |
| theseer/phpdox | ^0.10.1 |
| phploc/phploc | ^4.0 |
| squizlabs/php_codesniffer | ^3.2 |
| jakub-onderka/php-parallel-lint | ^0.9.2 |
| jakub-onderka/php-console-highlighter | ^0.3.2 |
| symfony/dependency-injection | >3.4.26 |
| fooman/magento2-phpunit-bridge | ^0.9.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from shipperhq
View vendorShipping Tracker - By the ShipperHQ Team
ShipperHQ Logger
ShipperHQ Address Autocomplete Tool
Magento Shipping integration with ShipperHQ
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.