Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismail Ashour committed Nov 7, 2019
1 parent f88433e commit 167c631
Show file tree
Hide file tree
Showing 72 changed files with 8,438 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/vendor
/.idea
composer.lock
package-lock.json
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Laravel Aramex.

28 changes: 28 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "extremesa/aramex",
"description": "",
"keywords": [
],
"license": "MIT",
"require": {
"php": ">=7.1.0",
"laravel/framework": "^5.8"
},
"autoload": {
"psr-4": {
"ExtremeSa\\Aramex\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"ExtremeSa\\Aramex\\AramexServiceProvider"
]
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
59 changes: 59 additions & 0 deletions config/aramex.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?php

return [
'mode' => env('ARAMEX_MODE', 'test'),

'test' => [
'country_code' => '',
'entity' => '',
'number' => '',
'pin' => '',
'username' => '',
'password' => ''
],
'live' => [
'country_code' => env('ARAMEX_COUNTRY_CODE'),
'entity' => env('ARAMEX_ENTITY'),
'number' => env('ARAMEX_NUMBER'),
'pin' => env('ARAMEX_PIN'),
'username' => env('ARAMEX_USERNAME'),
'password' => env('ARAMEX_PASSWORD'),
],

'shipper' => [
'name' => '',
'email' => '',
'mobile' => '',
'company' => '',
'address' => [
'line1' => '',
'line2' => ' ',
'post_code' => '',
'city' => '',
'country_code' => '',
'state_or_province_code' => ''
]
],

'third_party' => [
'name' => '',
'email' => '',
'mobile' => '',
'company' => '',
'address' => [
'line1' => '',
'line2' => '',
'post_code' => '',
'city' => '',
'country_code' => '', //should be same account country code
'state_or_province_code' => ''
]
],

'kit' => [
'height' => '',
'width' => '',
'length' => '',
'weight' => ''
]
];
159 changes: 159 additions & 0 deletions resources/lang/en/en.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
<?php

return [
'SH001' => 'Under processing at operations facility',
'SH003' => 'Out for Delivery',
'SH004' => 'Out for Delivery - Partial',
'SH005' => 'Delivered',
'SH006' => 'Collected by Consignee',
'SH007' => 'Will be Delivered by Postal Services',
'SH008' => 'Shipment on Hold',
'SH012' => 'Picked Up From Shipper',
'SH014' => 'Record created.',
'SH022' => 'Departed Operations facility – In Transit',
'SH033' => 'Attempted Delivery - Consignee Rejected the Shipment Due to Delay / Awaiting Shipper Instructions',
'SH034' => 'Documents Delivered to Consignee/Broker for Self Clearance & Delivery',
'SH035' => 'Awaiting Clearance from Consignee/Broker to Arrange Delivery',
'SH041' => 'Cleared from Customs',
'SH043' => 'Invalid Identity proof document',
'SH044' => 'Delay - Delivery Rescheduled',
'SH047' => 'Received at Origin Facility',
'SH069' => 'Returned to Shipper',
'SH070' => 'Redirected to New Delivery Address',
'SH071' => 'Please Contact Local Office to Verify Your Shipment Status',
'SH073' => 'Shipment Forwarded to Beyond/Remote Area Sorting Location',
'SH074' => 'Delay - Pending Payment',
'SH076' => 'Delay - Delivery Rescheduled',
'SH077' => 'Forwarded to Aramex office',
'SH110' => 'Forwarded to Delivery Office',
'SH154' => 'Delivered - Partial Delivery',
'SH156' => 'Held - Pending KYC Document',
'SH157' => 'Delay - Unable to Deliver',
'SH158' => 'Held in Customs - Pending Clearance',
'SH160' => 'Under processing at operations facility',
'SH162' => 'Delay - Uncontrollable Due to Carrier',
'SH163' => 'On Hold - Pending Customs Value Confirmation',
'SH164' => 'Held for Consignee Pickup',
'SH203' => 'Record Created',
'SH222' => 'Arrived at Destination and Documents Recovered',
'SH228' => 'Shipment Consol Update',
'SH230' => 'Consignee/Broker Notified of Shipment Arrival',
'SH234' => 'Shipment is Delivered in Letter Box',
'SH236' => 'Document delivered.',
'SH237' => 'Please Contact Local Office to Verify Your Shipment Status',
'SH247' => 'Supporting Document Returned to Shipper',
'SH249' => 'SMS Sent to Consignee to Contact Aramex and Set Delivery Address',
'SH250' => 'Shipper Contacted',
'SH251' => 'Third Party Customer Contacted',
'SH252' => 'Shipment Forwarded to Beyond/Remote Area Sorting Location',
'SH257' => 'Unable to Notify Consignee/Broker',
'SH259' => 'Entry into Warehouse',
'SH260' => 'Exit from Warehouse',
'SH261' => '"Consignee contacted to set delivery',
'SH270' => 'Email Sent to Consignee',
'SH271' => 'SMS Sent to Consignee',
'SH272' => 'Forwarded to Final Destination',
'SH273' => 'Delivery Scheduled',
'SH275' => 'On Hold - Operations Facility',
'SH278' => 'Data received.',
'SH279' => 'Shop&Ship Update',
'SH280' => 'Confiscated by Customs Authorities',
'SH281' => 'Customs\' Documents Out for Delivery',
'SH294' => 'On Hold - Customer Mobile Cannot be Reached',
'SH295' => 'Delivery Address Corrected',
'SH296' => 'Delivery Address Corrected',
'SH299' => 'Shipment Not Received from Shipper',
'SH308' => 'Pickup Scheduled',
'SH312' => 'Pickup Re-Scheduled',
'SH313' => 'Pickup Cancelled',
'SH314' => 'Pickup Completed',
'SH369' => 'SMS Sent to Consignee',
'SH375' => 'On Hold - Awaiting Correct Delivery Address',
'SH376' => 'Delay - Delivery Rescheduled for Next Business Day',
'SH381' => 'Shipment On-Hold',
'SH382' => 'Shipment Update',
'SH383' => 'Credit Card Payment - Completed',
'SH406' => 'Received at Origin Facility',
'SH407' => 'Returned to Shipper',
'SH408' => 'Document delivered.',
'SH410' => 'Customer contact Attempts Completed',
'SH434' => 'Received at Origin Facility',
'SH438' => 'Shipment transferred to other vessel',
'SH442' => 'Booking Received from client',
'SH443' => 'Booking Request created',
'SH444' => 'Booking Request sent to carrier',
'SH445' => 'Equipment release received',
'SH446' => 'B/L Instructions Created/Sent to carrier',
'SH447' => 'B/L Instructions sent to carrier',
'SH448' => 'Shipment pickup arranged',
'SH449' => 'Commercial documents is been received',
'SH450' => 'Export Customs clearance completed',
'SH451' => 'Shipment released to carrier / Co-loader',
'SH452' => 'Shipment gated in',
'SH453' => 'Vessel Delayed',
'SH454' => 'Vessel arrived',
'SH455' => 'Shipment short shipped / partial shipment received',
'SH456' => 'Customer notified',
'SH457' => 'Shipment Customer update',
'SH458' => 'Shipment Customer update',
'SH459' => 'Delivery order released',
'SH460' => 'On-carriage arranged',
'SH461' => 'Shipment in transit to final destination',
'SH462' => 'Held by Customs',
'SH463' => 'Shipment Customer update',
'SH464' => 'Customs Cleared',
'SH465' => 'Sailing reschduled- Please contact local office',
'SH466' => 'Shipment under customs clearance process',
'SH467' => 'Held in Customs - Awaiting Customer Instructions',
'SH468' => 'Held in Customs - Awaiting Commercial Invoice/Clearance Documents',
'SH469' => 'Customs Clearance - In Progress',
'SH470' => 'Held in Customs - Awaiting Duty and Tax Payment',
'SH471' => 'Held in Customs - Misdeclaration by Shipper / Urgent Customer Instructions Required',
'SH472' => 'Held in Customs - Unacceptable Commodities',
'SH473' => 'Held in Customs - Requires Governmental Approvals',
'SH474' => 'To be Returned to Shipper',
'SH475' => 'Forwarded to Aramex office',
'SH479' => 'Unable to Notify Consignee/Broker',
'SH480' => 'On Hold - Payment not Ready / Delivery Rescheduled',
'SH484' => 'Shipment Delivery Method Set as Aramex Locker',
'SH491' => 'SMS Reminder Sent to Pick up Shipment from Aramex Locker',
'SH492' => 'Consignee Pickup Time Exceeded - Shipment is no Longer Available at Aramex Locker',
'SH493' => 'Delivery Method Changed - Shipment will be Moved from Aramex Locker',
'SH494' => 'Shipment Picked up by Aramex Courier from Locker',
'SH495' => 'Shipment Scanned at Operations Facility',
'SH496' => 'Shipment Picked up by Consignee',
'SH498' => 'Customer Contact Attempts Completed - Pending Return to Shipper',
'SH499' => 'Shipment Held at Aramex Locker for Consignee Pick up',
'SH504' => 'Delivery Method Changed - Shipment is Oversize',
'SH505' => 'Auto-Payment Cancelled',
'SH513' => 'Shipment Delivery Auto-scheduled',
'SH515' => 'Courier Called Customer – Number Unreachable',
'SH516' => 'Customer Called Courier - Responded',
'SH517' => 'Trip Request Created',
'SH518' => 'Tools Ready for Shipping',
'SH519' => 'Destination GL Provided',
'SH521' => 'Upon Consignee Request At Local Office - Shipment To Be Scheduled For Delivery',
'SH529' => 'Shipment Delivery Method Set as Drop-off',
'SH530' => 'SMS Reminder Sent to Pick up Shipment from the Drop-off location',
'SH531' => 'Consignee Pickup Time Exceeded - Shipment is no Longer Available at the Drop-off location',
'SH532' => 'Shipment dropped off by the courier at the drop off location as per customer request',
'SH533' => 'Shipment Held at the Drop off location for Consignee Pick up',
'SH534' => 'Shipment Picked up from the Drop-off location',
'SH537' => 'Shipment Delivery Method Set as Park and Parcel',
'SH538' => 'Delivery Review – Please contact Local Office for Shipment Status',
'SH539' => 'Delivery Review – Please contact Local Office for Shipment Status',
'SH540' => 'Shipment arrived / Clearance In Progress',
'SH542' => 'Clearance Process Pending- Requires Value Verification / Urgent Customer Instructions Required',
'SH543' => 'Clearance Completed/ Awaiting gate pass',
'SH544' => 'Clearance Process Pending- Incomplete Information / Urgent Customer Instructions Required',
'SH546' => 'Clearance Process Pending- Incomplete Information / Urgent Customer Instructions Required',
'SH547' => 'Clearance Process Pending- Incomplete Information / Urgent Customer Instructions Required',
'SH548' => 'Clearance In Progress',
'SH549' => 'Clearance In Progress- Awaiting Duty and Tax Payment',
'SH556' => 'Customer Contacted Successfully',
'SH559' => 'Shipment Returned to Shipper',
'SH560' => 'Awaiting Customer Collection-Will Be Returned In 2 Days',
'SH562' => 'Customer Approved SNS Shipment E-Invoice Goods Value',
'SH563' => 'Customer Approved SNS Shipment Goods Value- No E-Invoice',
'SH570' => '',
];
Loading

0 comments on commit 167c631

Please sign in to comment.