cornernote / yii2-link-behavior
Link behavior for Yii2.
Installs: 144
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-behavior
Requires
- yiisoft/yii2: *
Requires (Dev)
- phpunit/dbunit: ~1.0
- phpunit/phpunit: ~4.0
- scrutinizer/ocular: ~1.3
This package is auto-updated.
Last update: 2024-12-19 18:57:40 UTC
README
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(), ], ]; }