PHPackages                             waelwalid/laravel-aramex - 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. waelwalid/laravel-aramex

ActiveLibrary

waelwalid/laravel-aramex
========================

This package to integrate your application with Aramex services ( Shipping - Tracking - rate Calculation )

51913PHP

Since Dec 15Pushed 6y agoCompare

[ Source](https://github.com/waelwalid/laravel-aramex)[ Packagist](https://packagist.org/packages/waelwalid/laravel-aramex)[ RSS](/packages/waelwalid-laravel-aramex/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Aramex Integration!
===========================

[](#laravel-aramex-integration)

This package to integrate your application with Aramex services

1. Shipping - Done
2. Tracking - Soon
3. Rate calculation - Soon

Installation
============

[](#installation)

You can install the package via composer:

```
composer require waelwalid/laravel-aramex

```

Config
------

[](#config)

```
php artisan vendor:publish --tag=aramex

```

.ENV File
---------

[](#env-file)

```
AramexProduction = "test" OR "live"

```

This command line will copy XML Files of Aramex Soap Service to public directory and config file named aramex.php into config directory.

**-- public/vendor/aramex | config/aramex.php**

```

```

\#Shipment Request Exmaple:
---------------------------

[](#shipment-request-exmaple)

```
$shipmentData = array(
            'Shipments' => array(
                'Shipment' => array(
                    'Shipper'	=> array(
                        'Reference1' 	=> "",
                        'Reference2' 	=> "",
                        'AccountNumber' => "",
                        'PartyAddress'	=> array(
                            'Line1'					=> "",
                            'Line2' 				=> '',
                            'Line3' 				=> '',
                            'City'					=> '',
                            'StateOrProvinceCode'	=> '',
                            'PostCode'				=> '',
                            'CountryCode'			=> ''
                        ),
                        'Contact'		=> array(
                            'Department'			=> '',
                            'PersonName'			=> '',
                            'Title'					=> '',
                            'CompanyName'			=> '',
                            'PhoneNumber1'			=> '',
                            'PhoneNumber1Ext'		=> '',
                            'PhoneNumber2'			=> '',
                            'PhoneNumber2Ext'		=> '',
                            'FaxNumber'				=> '',
                            'CellPhone'				=> '',
                            'EmailAddress'			=> '',
                            'Type'					=> ''
                        ),
                    ),

                'Consignee'	=> array(

                    'Reference1'	=> '',
                    'Reference2'	=> '',
                    'AccountNumber' => '',
                    'PartyAddress'	=> array(
                        'Line1'					=> '',
                        'Line2'					=> '',
                        'Line3'					=> "",
                        'City'					=> '',
                        'StateOrProvinceCode'	=> '',
                        'PostCode'				=> "",
                        'CountryCode'			=> ''
                    ),

                    'Contact'		=> array(
                        'Department'			=> '',
                        'PersonName'			=> '',
                        'Title'					=> '',
                        'CompanyName'			=> "",
                        'PhoneNumber1'			=> '',
                        'PhoneNumber1Ext'		=> '',
                        'PhoneNumber2'			=> '',
                        'PhoneNumber2Ext'		=> '',
                        'FaxNumber'				=> '',
                        'CellPhone'				=> '',
                        'EmailAddress'			=> '',
                        'Type'					=> ''
                    ),
                ),

                'ThirdParty' => array(
                    'Reference1' 	=> '',
                    'Reference2' 	=> '',
                    'AccountNumber' => '',
                    'PartyAddress'	=> array(
                        'Line1'					=> '',
                        'Line2'					=> '',
                        'Line3'					=> '',
                        'City'					=> '',
                        'StateOrProvinceCode'	=> '',
                        'PostCode'				=> '',
                        'CountryCode'			=> ''
                    ),
                    'Contact'		=> array(
                        'Department'			=> '',
                        'PersonName'			=> '',
                        'Title'					=> '',
                        'CompanyName'			=> '',
                        'PhoneNumber1'			=> '',
                        'PhoneNumber1Ext'		=> '',
                        'PhoneNumber2'			=> '',
                        'PhoneNumber2Ext'		=> '',
                        'FaxNumber'				=> '',
                        'CellPhone'				=> '',
                        'EmailAddress'			=> '',
                        'Type'					=> ''
                    ),
                ),

                'Reference1' 				=> "1",
                'Reference2' 				=> '',
                'Reference3' 				=> '',
                'ForeignHAWB'				=> '',
                'TransportType'				=> 0,
                'ShippingDateTime' 			=> time(),
                'DueDate'					=> time(),
                'PickupLocation'			=> '',
                'PickupGUID'				=> '',
                'Comments'					=> "",
                'AccountingInstrcutions' 	=> '',
                'OperationsInstructions'	=> '',

                'Details' => array(
                    'Dimensions' => array(
                        'Length'				=> "",
                        'Width'					=> "",
                        'Height'				=> "",
                        'Unit'					=> "cm",

                    ),

                    'ActualWeight' => array(
                        'Value'					=> '',
                        'Unit'					=> ''
                    ),

                    'ProductGroup' 			=> 'EXP',
                    'ProductType'			=> 'PDX',
                    'PaymentType'			=> 'P',
                    'PaymentOptions' 		=> '',
                    'Services'				=> '',
                    'NumberOfPieces'		=>  1,
                    'DescriptionOfGoods' 	=> '',
                    'GoodsOriginCountry' 	=> '',

                    'CashOnDeliveryAmount' 	=> array(
                        'Value'					=> "",
                        'CurrencyCode'			=> ""
                    ),

                    'InsuranceAmount'		=> array(
                        'Value'					=> 0,
                        'CurrencyCode'			=> ''
                    ),

                    'CollectAmount'			=> array(
                        'Value'					=> "",
                        'CurrencyCode'			=> ""
                    ),

                    'CashAdditionalAmount'	=> array(
                        'Value'					=> 0,
                        'CurrencyCode'			=> ''
                    ),

                    'CashAdditionalAmountDescription' => '',

                    'CustomsValueAmount' => array(
                        'Value'					=> 0,
                        'CurrencyCode'			=> ''
                    ),

                    'Items' 				=> []
                ),
            ),
        ),

        'ClientInfo'  			=> config("aramex.client"),

        'Transaction' 			=> array(
            'Reference1'			=> "1",
            'Reference2'			=> '',
            'Reference3'			=> '',
            'Reference4'			=> '',
            'Reference5'			=> '',
        ),
        'LabelInfo'				=> array(
            'ReportID' 				=> 9201,
            'ReportType'			=> 'URL',
        ),
    );
-------------------------------------------------------------------------------------------

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use WaelWalid\LaravelAramex\Aramex;

class ShippingController extends Controller
{
    public function index(Request $request){

        try{
            $aramex = new Aramex();
            $result = $aramex->makeShipment($shipmentData);
            echo "";
            print_r($result);
            //IF SUCCESS
            //$result->Shipments->ProcessedShipment->ID;
    		//$result->Shipments->ProcessedShipment->ShipmentLabel->LabelURL;
        }catch(\Exception $exception){
            return $exception->getMessage() ."in : ".$exception->getFile();
        }

    }
}

```

More information about params types and values
----------------------------------------------

[](#more-information-about-params-types-and-values)

Please check Aramex soap service documentation via :

Donate
------

[](#donate)

If you like this package, don't hesitate to give it a [Start](https://github.com/waelwalid/laravel-aramex) or donate via [Paypal](https://paypal.me/WaelWalid) .

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/52c9ea2c2ba95470b86032dd95500cd165300a9a4e9a7527fdf766e3a9305c7d?d=identicon)[waelwalid](/maintainers/waelwalid)

---

Top Contributors

[![waelwalid](https://avatars.githubusercontent.com/u/11830470?v=4)](https://github.com/waelwalid "waelwalid (10 commits)")[![Wael-walid](https://avatars.githubusercontent.com/u/58699157?v=4)](https://github.com/Wael-walid "Wael-walid (2 commits)")

### Embed Badge

![Health badge](/badges/waelwalid-laravel-aramex/health.svg)

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

PHPackages © 2026

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