Quick start ¶
To quick start get the files from https://github.com/damnpoet/yiidhl,
or clone the repo: git clone https://github.com/damnpoet/yiidhl.git
.
Bug tracker ¶
Have a bug or a feature request? Please open a new issue. Before opening any issue, please search for existing issues and read the Issue Guidelines, written by Nicolas Gallagher.
Installing the module ¶
To install the module, you need to copy the folder yiidhl to the protected/extensions folder on your Yii application.
Configuring ¶
To access the module, you need to modify the application configuration as follows:
return array(
...
'import => array(
...
'ext.yiidhl.models.*',
),
'components' => array(
'dhl' => array(
'class' => 'ext.yiidhl.YiiDHL',
'testMode' => true,
'useProxy' => true,
'proxyHost' => 'host:8080',
'proxyAuth' => 'username:password',
),
...
)
);
Example usage ¶
$dhlOrderInfo = Yii::app()->dhl->find($trackingNumber);
I filed an issue on github
Looks great! I filed an issue on github for the one problem I saw.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.