rhosocial/yii2-base-models

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

The Base Models for Yii 2 Applications.

Installs: 305

Dependents: 10

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:yii2-extension

1.1.0 2017-06-07 12:19 UTC

This package is auto-updated.

Last update: 2021-06-07 23:47:44 UTC


README

The Base Models for Yii 2 Applications

Latest Stable Version License Reference Status Build Status Dependency Status Code Coverage Scrutinizer Quality Score Code Climate

Installation

The preferred way to install this extension is through composer. Either run

php composer.phar require --prefer-dist rhosocial/yii2-base-models "*"

or add

"rhosocial/yii2-base-models": "*"

to the require section of your composer.json file.

If you want to use Redis or MongoDB ActiveRecord, please add

"yiisoft/yii2-redis": "*"

or

"yiisoft/yii2-mongodb": "~2.1.0"

to the require section of your composer.json file by yourself.

Note: The MongoDB models need PHP MongoDB extension 1.2.0 or above.

Usage

Once the extension is installed, simply use it in your code by :

use rhosocial\base\models\models\BaseEntityModel;

class Example extends BaseEntityModel
{
...
}

further detailed usage seen in code file notes.

Contact Us

Join the chat at https://gitter.im/rhosocial/yii2-base-models

If you have any problems or good ideas about yii2-base-models, please discuss there, or send an email to i@vistart.me. Thank you!

If you want to send an email with your issues, please briefly introduce yourself first, for instance including your title and github homepage.

yii2-base-models