yii2-extension yii2-behavior-jsonfield
JSON field Behavior
mirkhamidov/yii2-behavior-jsonfield
JSON field Behavior
- Friday, March 9, 2018
- by miroff
- Repository
- 1 Watchers
- 0 Stars
- 11 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 5 Versions
- 0 % Grown
Behavior for JSON field
Installation
The preferred way to install this extension is through composer., (*1)
Either run, (*2)
composer require mirkhamidov/yii2-behavior-jsonfield "dev-master"
add behavior entry to you model, (*3)
/** @inheritdoc */
public function behaviors() {
return ArrayHelper::merge(parent::behaviors(), [
'interestsJson' => [
'class' => JsonFieldBehavior::class,
'field' => 'interests',
],
'languagesJson' => [
'class' => JsonFieldBehavior::class,
'field' => 'languages',
],
]);
}
dev-master
9999999-dev
JSON field Behavior
Sources
Download
BSD-3-Clause
The Requires
json
yii2
behvior
1.3.0
1.3.0.0
JSON field Behavior
Sources
Download
BSD-3-Clause
The Requires
json
yii2
behvior
1.2.0
1.2.0.0
JSON field Behavior
Sources
Download
BSD-3-Clause
The Requires
json
yii2
behvior
1.1.0
1.1.0.0
JSON field Behavior
Sources
Download
BSD-3-Clause
The Requires
json
yii2
behvior
1.0.0
1.0.0.0
JSON field Behavior
Sources
Download
BSD-3-Clause
The Requires
json
yii2
behvior