yiidhl

Yii extension for faster and easier DHL integration.
5 followers

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);

Resources

Total 1 comment

#14033 report it
androok at 2013/07/12 02:15pm
I filed an issue on github

Looks great! I filed an issue on github for the one problem I saw.

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet