liquidlab-agency / magento2-urgent-cargus
Community-maintained Cargus shipping integration for Magento 2 (metapackage). Fork of the original Cargus/Tremend module, updated for Magento 2.4.x and PHP 8.2/8.3.
Urgent Shipping Modules Suite
A comprehensive Magento 2 shipping integration suite for Cargus shipping services, designed for private repository distribution.
📦 Package Structure
Urgent/
├── composer.json # Main metapackage
├── README.md # This documentation
├── Base/ # Foundation module
│ ├── composer.json
│ ├── registration.php
│ ├── etc/module.xml
│ └── ... (module files)
├── Cargus/ # Basic Cargus shipping
│ ├── composer.json
│ ├── registration.php
│ ├── etc/module.xml
│ └── ... (module files)
├── CargusOldAwb/ # Old AWB functionality
│ ├── composer.json
│ ├── registration.php
│ ├── etc/module.xml
│ └── ... (module files)
└── CargusShipGo/ # Advanced Ship & Go
├── composer.json
├── registration.php
├── etc/module.xml
└── ... (module files)
🏗️ Module Dependencies
Base (Foundation)
├── Cargus (depends on Base)
├── CargusOldAwb (depends on Base)
└── CargusShipGo (depends on Base)
📋 Individual Modules
1. liquidlab-agency/module-base
Foundation module providing core functionality for all Urgent shipping integrations.
- Package Name:
liquidlab-agency/module-base - Dependencies: Magento core modules, Laminas components
- Purpose: Base classes, utilities, and shared functionality
2. liquidlab-agency/module-cargus
Basic Cargus shipping method integration.
- Package Name:
liquidlab-agency/module-cargus - Dependencies:
liquidlab-agency/module-base, Magento shipping modules - Purpose: Core Cargus shipping functionality
3. liquidlab-agency/module-cargus-old-awb
Legacy AWB (Air Waybill) management functionality.
- Package Name:
liquidlab-agency/module-cargus-old-awb - Dependencies:
liquidlab-agency/module-base, Magento sales/UI modules - Purpose: Display and manage historical AWB data
4. liquidlab-agency/module-cargusshipgo
Advanced Cargus shipping with Ship & Go functionality.
- Package Name:
liquidlab-agency/module-cargusshipgo - Dependencies:
liquidlab-agency/module-base, Magento checkout modules - Purpose: Enhanced shipping options with pickup point selection
🚀 Installation Options
Install Complete Suite (Recommended)
composer require liquidlab-agency/magento2-urgent-cargus
⚙️ Configuration Requirements
PHP Requirements
- PHP: ^8.2|^8.3
- Magento: 2.4.x compatible
Magento Module Dependencies
magento/framework: ^103.0magento/module-backend: ^102.0magento/module-shipping: ^100.4magento/module-sales: ^103.0- Additional modules as specified in individual composer.json files
🔧 Post-Installation Steps
1. Enable Modules
bin/magento module:enable Urgent_Base
bin/magento module:enable Urgent_Cargus
bin/magento module:enable Urgent_CargusOldAwb
bin/magento module:enable Urgent_CargusShipGo
2. Run Setup
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush
3. Configure Shipping Methods
Navigate to Stores > Configuration > Sales > Shipping Methods and configure the Cargus shipping options.
📝 Version Management
Semantic Versioning
- Major (1.x.x): Breaking changes
- Minor (x.1.x): New features, backward compatible
- Patch (x.x.1): Bug fixes, backward compatible
Release Process
- Update version in all
composer.jsonfiles - Tag release in repository
- Update
packages.jsonwith new version - Test installation in clean environment
🐛 Troubleshooting
Common Issues
Dependency Resolution
# Clear composer cache
composer clear-cache
# Update dependencies
composer update liquidlab-agency/magento2-urgent-cargus
Module Not Found
# Verify repository configuration
composer config repositories
# Check authentication
composer config --list --global
Installation Conflicts
# Check for conflicts
composer why-not liquidlab-agency/magento2-urgent-cargus
# Force reinstall
composer reinstall liquidlab-agency/magento2-urgent-cargus
📞 Support
For issues related to:
- Installation: Check composer configuration and authentication
- Dependencies: Verify Magento version compatibility
- Functionality: Refer to individual module documentation
📄 License
Proprietary - All rights reserved. This package is for private use only.
Author: Alexandru Marinescu ([email protected])
Version: 1.0.0
Last Updated: 2025-01-05
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.0.8 | stable | Fail | Magento 2.4.7 Details | 2026-07-13 16:16:56 |
| 1.0.7 | stable | Not tested | Not yet tested Details | 2025-10-14 11:50:47 |
| 1.0.6 | stable | Not tested | Not yet tested Details | 2025-09-12 12:54:25 |
| 1.0.5 | stable | Not tested | Not yet tested Details | 2025-09-11 18:44:55 |
| 1.0.4 | stable | Not tested | Not yet tested Details | 2025-09-11 16:52:11 |
| 1.0.3 | stable | Not tested | Not yet tested Details | 2025-09-10 13:36:49 |
| 1.0.2 | stable | Not tested | Not yet tested Details | 2025-09-10 07:25:00 |
| 1.0.1 | stable | Not tested | Not yet tested Details | 2025-08-06 19:46:15 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2025-08-05 06:35:41 |
Requires 2
| Package | Constraint |
|---|---|
| magento/framework | ^103.0 |
| php | ^8.2|^8.3 |
Replaces 4
| Package | Constraint |
|---|---|
| liquidlab-agency/module-base | * |
| liquidlab-agency/module-cargus | * |
| liquidlab-agency/module-cargus-old-awb | * |
| liquidlab-agency/module-cargusshipgo | * |
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.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 56 | 2 errors, 54 warnings (ruleset: Magento2), 19 auto-fixable with phpcbf |
| PHPMD | Warning | 75 | 75 rule violations (UnusedPrivateField:75) |
| Cpd | Warning | 1 | 1 duplicated chunk spanning 21 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Pass | 0 |
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 liquidlab-agency
View vendorMagento 2 module that fixes the Sameday shipping method to properly validate Country field, which triggers shipping address validation and saving
Romanian language pack for Hyva Checkout
Hyva Checkout compatibility module for InnoShip (https://innoship.com/)
Hyva Checkout compatibility module for EuroPayment_EuPlatesc
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.