Download the PHP package alhoqbani/smsa-webservice without Composer
On this page you can find all versions of the php package alhoqbani/smsa-webservice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alhoqbani/smsa-webservice
More information about alhoqbani/smsa-webservice
Files in alhoqbani/smsa-webservice
Package smsa-webservice
Short Description smsaexpress.com tracking web service (soap api)
License MIT
Homepage https://github.com/alhoqbani/smsa-webservice
Informations about the package smsa-webservice
smsa-webservice
SMSAExpress tracking web service.
Under development. Don't use for production.
This library provides fluent and intuitive mechanism to interact with [SMSAExpress][link-smsa] eCommerce Web API: [SMSAwebService][link-smsa-webservice].
Through this API you can cretate new shipments, track shipments, and cancel shipments programmatically.
The API follows SOAP protocol specifications, and it's not straight forward to follow or use with PHP.
This is unoffocial libary and has no affiliation with [SMSAExpress][link-smsa]. Usage of [SMSAwebService][link-smsa-webservice] is subject to its terms and conditions.
Credentials:
Before using the API you need to obtain a passKey
from [SMSAExpress][link-smsa].
Install
Via Composer
Usage
Get Status:
Get current Status of Shipment by Air waybill Number
Get Tracking
Get Tracking of Shipment by Air waybill Number
Get AWB Print in PDF
Get AWB Print in PDF
Create new shipment:
Create Shipment and get SMSA AWB Number
You create an object of Shipment
and pass it to $smsa->createShipment()
The shipment requeires an instance of Customer
and optionally a Shipper
object.
To add additional fields
Cancel shipment:
Cancel a Shipment by Air waybill Number
Get Cities
Get List of Cities for Retails list
Get Retails
Get Retails list by each city
Example App
You can check this repository for an example app built with Laravel.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Not yet :(
TODO
- [ ] Testing!!
- [ ] Complete remaining operations.
Contributing
Please see CODE_OF_CONDUCT for details.
Credits
- Hamoud Alhoqbani
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
[link-smsa]: http://smsaexpress.com
[link-smsa-webservice]: http://track.smsaexpress.com/SECOM/SMSAwebService.asmx