cornernote/yii2-link-behavior

Link behavior for Yii2.

Maintainers

Package info

github.com/cornernote/yii2-link-behavior

Type:yii2-behavior

pkg:composer/cornernote/yii2-link-behavior

Statistics

Installs: 144

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2018-11-30 03:59 UTC

This package is auto-updated.

Last update: 2026-02-19 21:15:49 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

Link behavior for Yii2.

Installation

The preferred way to install this extension is through composer.

Either run

$ composer require cornernote/yii2-link-behavior "*"

or add

"cornernote/yii2-link-behavior": "*"

to the require section of your composer.json file.

Usage

In your ActiveRecord class:

public function behaviors() {
    return [
        \cornernote\linkbehavior\LinkBehavior::className(),
        // or
        [
            'class' => \cornernote\linkbehavior\LinkBehavior::className(),
        ],
    ];
}