rhosocial/yii2-base-models
Composer 安装命令:
composer require rhosocial/yii2-base-models
包简介
The Base Models for Yii 2 Applications.
README 文档
README
The Base Models for Yii 2 Applications
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
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.
统计信息
- 总下载量: 399
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-or-later
- 更新时间: 2016-12-28