dreamfactory / lib-php-common-yii
DreamFactory Services Platform(tm) Yii Components Library
Installs: 6 913
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 12
Forks: 0
Open Issues: 0
Requires
- dreamfactory/lib-php-common: ~1.5.0
- dreamfactory/php-utils: *
- dreamfactory/yii: ~1.1.13.10
- kisma/kisma: ~0.2
Requires (Dev)
- phpunit/dbunit: @stable
- phpunit/phpunit: @stable
- phpunit/phpunit-selenium: @stable
- phpunit/phpunit-story: @stable
This package is auto-updated.
Last update: 2016-02-07 06:27:31 UTC
README
DreamFactory Yii Components Library v1.5.15
This library is a set of small set of components used by the DreamFactory Services Platform™ for use with the Yii Framework.
Add a line to your "require" section in your composer configuration:
"require": {
"dreamfactory/lib-php-common-yii": "~1.5.0"
}
Run a composer update:
$ composer update
Helpers
The library is full of mainly helper classes to make Yii less verbose and a little less greedy. Have a look at Utility\Pii.php and see how it may save you some time.
use DreamFactory\Yii\Utility\Pii;
if ( Pii::guest() ) {
$this->redirect( Pii::user()->loginUrl );
}