vistart / yii2-models
The Base Models for Yii 2 Applications
Installs: 479
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Type:yii2-extension
Requires
- php: >=5.4.0
- vistart/helpers: ^1.1.1
- yiisoft/yii2: >=2.0.6
Suggests
- yiisoft/yii2-mongodb: Required if you want to use mongo ActiveRecord and ActiveQuery.
- yiisoft/yii2-redis: Required if you want to use redis ActiveRecord and ActiveQuery.
This package is not auto-updated.
Last update: 2022-02-01 12:50:02 UTC
README
The Models for Yii 2 Applications
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist vistart/yii2-models "*"
or add
"vistart/yii2-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": "*"
to the require section of your composer.json
file by yourself.
Usage
Once the extension is installed, simply use it in your code by :
use vistart\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-models, please discuss there, or send an email to i@vistart.name. 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.