yiidhl Yii extension for faster and easier DHL integration.

  1. Quick start
  2. Bug tracker
  3. Installing the module
  4. Configuring
  5. Example usage
  6. Resources

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

1 0
4 followers
0 downloads
Yii Version: Unknown
License: GPL-2.0
Category: Others
Developed by: damnpoet
Created on: Jul 12, 2013
Last updated: 4 years ago