Yii extension for faster and easier DHL integration
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Yii extension for faster and easier DHL integration. Currently YiiDHL only supports DHL order tracking, but other features will be arriving soon.

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 extension

To install the extension, you need to copy the folder yiidhl to the protected/extensions folder on your Yii application.


To access the module, you need to modify the application configuration as follows:

return array(
    'import' => array(
    '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);


Richard González

Copyright and license

Copyright (c) 2013 Richard González Alberto.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA