unti1x/yii-phealng PhealNG Wrapper for Yii Framework

yii-phealng

PhealNG wrapper for Yii Framework

Installation

via Composer

composer require unti1x/yii-phealng

or modify composer.json:

{
    "require": {
        "unti1x/yii-phealng": "dev-master"
    }
}

and then

composer install

manual

Download and extract into your project's protected/extensions folder or wherever you want. Note that original PhealNG also required.

Configuration

In your application config in components section:

[
    'phealng' => [
        'class' => 'ext.YiiPhealNG',
        'pheal_class' => 'path/to/Pheal',
        'config' => [
            'keyID' => 'YOUR KEY ID HERE',
            'vCode' => 'YOUT VERIFICATION CODE HERE',
            'scope' => 'KEY SCOPE'
        ]
    ]
]

Usage

$pheal = Yii::app()->phealng;
// use it like you have direct access to Pheal object
var_dump($pheal->accountScope->ApiKeyInfo()->toArray())

License

CC-BY-SA 4.0 but I don't really care.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



CC-BY-SA-4.0 license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
24 total downloads