PHPackages                             vistart/yii2-models - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. vistart/yii2-models

Abandoned → [rhosocial/yii2-base-models](/?search=rhosocial%2Fyii2-base-models)Yii2-extension[Framework](/categories/framework)

vistart/yii2-models
===================

The Base Models for Yii 2 Applications

2.0.0(10y ago)04791[3 issues](https://github.com/vistart/yii2-models/issues)BSD-3-ClausePHPPHP &gt;=5.4.0

Since Aug 8Pushed 10y ago7 watchersCompare

[ Source](https://github.com/vistart/yii2-models)[ Packagist](https://packagist.org/packages/vistart/yii2-models)[ RSS](/packages/vistart-yii2-models/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (10)Used By (0)

Models for Yii 2
================

[](#models-for-yii-2)

The Models for Yii 2 Applications

[![Latest Stable Version](https://camo.githubusercontent.com/bdb98325233624b6096f0008c9552f9e0d4d03bbd5bbd32769dc62e5e390594b/68747470733a2f2f706f7365722e707567782e6f72672f766973746172742f796969322d6d6f64656c732f762f737461626c652e706e67)](https://packagist.org/packages/vistart/yii2-models)[![License](https://camo.githubusercontent.com/edd321a4ffefdcb9a42a21e5dd755e3d1429b5a5e50749dbfc6c26b55b84e0b4/68747470733a2f2f706f7365722e707567782e6f72672f766973746172742f796969322d6d6f64656c732f6c6963656e7365)](https://packagist.org/packages/vistart/yii2-models)[![Reference Status](https://camo.githubusercontent.com/bf47bb5dbd19adda01db552b21e8423392abc96f58b5f1800b26a03ab053cc65/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f766973746172743a796969322d6d6f64656c732f7265666572656e63655f62616467652e737667)](https://www.versioneye.com/php/vistart:yii2-models/references)[![Build Status](https://camo.githubusercontent.com/7daf20ffc88230431c48bd6d18b8b0fdefb70b3b289f8918aae675b1c7f099fb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f766973746172742f796969322d6d6f64656c732e737667)](http://travis-ci.org/vistart/yii2-models)[![Dependency Status](https://camo.githubusercontent.com/21886beea7931c8882014c056e2e2fb52eb090ce9e03b9cc2a096f42a2a18a0e/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f766973746172743a796969322d6d6f64656c732f6465762d6d61737465722f62616467652e706e67)](https://www.versioneye.com/php/vistart:yii2-models/dev-master)[![Code Coverage](https://camo.githubusercontent.com/4311028ac39bfdead317e01daaed34d2255023fa4ec99db13135fbfec1f5b589/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f766973746172742f796969322d6d6f64656c732f6261646765732f636f7665726167652e706e67)](https://scrutinizer-ci.com/g/vistart/yii2-models/)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/aeb54533f61169182cd64d584ed95820d8de34e4166c9824a127b735607c613b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f766973746172742f796969322d6d6f64656c732f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/vistart/yii2-models/)[![Code Climate](https://camo.githubusercontent.com/4779b99a8d33a0acb1ed9fb69f4064fd0708076d164f471a8504bae4acce1afe/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f766973746172742f796969322d6d6f64656c732e737667)](https://codeclimate.com/github/vistart/yii2-models)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

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
-----

[](#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
----------

[](#contact-us)

[![Join the chat at https://gitter.im/vistart/yii2-models](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/vistart/yii2-models?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

If you have any problems or good ideas about yii2-models, please discuss there, or send an email to . 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-models](https://camo.githubusercontent.com/e2bed85c2052f6a1dcc27e95f2e63a32b11f34ebba2b426791afb9bb864ebcc6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d766973746172742d677265656e2e7376673f7374796c653d666c6174)](https://vistart.name)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 99.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~30 days

Recently: every ~5 days

Total

9

Last Release

3684d ago

Major Versions

1.0.0 → 2.0.0-alpha12016-01-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/510602d1e442c16029b232024b7d9fb57362600a2e1112d4114aae3d909164f9?d=identicon)[vistart](/maintainers/vistart)

---

Top Contributors

[![vistart](https://avatars.githubusercontent.com/u/864657?v=4)](https://github.com/vistart "vistart (323 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

modelyii2extensionvistart

### Embed Badge

![Health badge](/badges/vistart-yii2-models/health.svg)

```
[![Health](https://phpackages.com/badges/vistart-yii2-models/health.svg)](https://phpackages.com/packages/vistart-yii2-models)
```

###  Alternatives

[miloschuman/yii2-highcharts-widget

Highcharts widget for Yii 2 Framework.

1761.5M14](/packages/miloschuman-yii2-highcharts-widget)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
