PHPackages                             marena/yii2-meta-trait - 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. [Database &amp; ORM](/categories/database)
4. /
5. marena/yii2-meta-trait

ActiveYii2-extension[Database &amp; ORM](/categories/database)

marena/yii2-meta-trait
======================

Providers WordPress-like meta table functionality for tables represented by an ActiveRecord class

1.0.0(3y ago)03.1kGPL-3.0+PHPPHP &gt;=5.4.0

Since Mar 2Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Yii2 Meta ActiveRecord
======================

[](#yii2-meta-activerecord)

Providers WordPress-like meta table functionality for tables represented by an ActiveRecord class

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist mipotech/yii2-meta-activerecord "*"

```

or add

```
"mipotech/yii2-meta-activerecord": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

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

```
