2017 © Pedro Peláez
 

yii2-extension yii2-behavior-jsonfield

JSON field Behavior

image

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

The README.md

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"

Configure

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',
        ],
    ]);
}

The Versions

09/03 2018

dev-master

9999999-dev

JSON field Behavior

  Sources   Download

BSD-3-Clause

The Requires

 

json yii2 behvior

09/03 2018

1.3.0

1.3.0.0

JSON field Behavior

  Sources   Download

BSD-3-Clause

The Requires

 

json yii2 behvior

08/03 2018

1.2.0

1.2.0.0

JSON field Behavior

  Sources   Download

BSD-3-Clause

The Requires

 

json yii2 behvior

08/03 2018

1.1.0

1.1.0.0

JSON field Behavior

  Sources   Download

BSD-3-Clause

The Requires

 

json yii2 behvior

15/02 2018

1.0.0

1.0.0.0

JSON field Behavior

  Sources   Download

BSD-3-Clause

The Requires

 

json yii2 behvior