eluhr/yii2-widgets2-addons

There is no license information available for the latest version (0.2.0) of this package.

Adds some helpful features to dmstr/yii2-widgets2-module

0.2.0 2023-01-31 09:31 UTC

This package is auto-updated.

Last update: 2024-10-29 06:25:48 UTC


README

This extension adds some useful functionality to the Yii2 Widgets 2 module.

Installation

The preferred way to install this extension is through composer.

Either run

composer require eluhr/yii2-widgets2-addons

or add

"eluhr/yii2-widgets2-addons": "*"

to the required section of your composer.json file.

Configuration

Add the following to your config/web.php:

use eluhr\widgets2\addons\Module;
[
    'modules' => [
        'widgets-addons' => [
            'class' => Module::class
        ]
    ]
]

Usage

Add the Widget to your view:

use eluhr\widgets2\addons\widgets\CellLiveEditor;

echo CellLiveEditor::widget();