PHPackages                             drexlerux/yii2-icheck - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. drexlerux/yii2-icheck

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

drexlerux/yii2-icheck
=====================

Yii2 ICheck

v1.0.1(8y ago)027MITPHPPHP &gt;=5.6.0

Since Sep 7Pushed 8y agoCompare

[ Source](https://github.com/drexlerux/yii2-icheck)[ Packagist](https://packagist.org/packages/drexlerux/yii2-icheck)[ RSS](/packages/drexlerux-yii2-icheck/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (1)Used By (0)

Drexlerux - Yii2 ICheck
=======================

[](#drexlerux---yii2-icheck)

### Description:

[](#description)

### Check Boxes to verification customize and radio buttons.

[](#check-boxes-to-verification-customize-and-radio-buttons)

### [DEMO](http://icheck.fronteed.com/)

[](#demo)

---

Setup:

---

```
php composer.phar require "drexlerux/yii2-icheck" "*"

```

or

```
composer require drexlerux/yii2-icheck

```

or add to composer.json

```
"drexlerux/yii2-icheck": "*"

```

### How to implement:

[](#how-to-implement)

---

```
use drexlerux\ui\ICheck;
```

```
STYLE_MIMIMAL (colors for STYLE_MIMIMAL - minimal (the black), red, green, blue, aero, grey, orange, yellow, pink, purple)

    field($model, 'checkbox', ['template' => '{label} {input}'])->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX,
        'style'  => ICheck::STYLE_MIMIMAL,
        'color'  => 'green'                  // Color theme
    ]) ?>
    field($model, 'checkbox2')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_MIMIMAL,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'minimal',              // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

    field($model, 'checkbox3')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_MIMIMAL,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'red',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

    field($model, 'radio')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO,
        'style'  => ICheck::STYLE_MIMIMAL,
        'color'  => 'green'                  // Color theme
    ]) ?>

    field($model, 'radio2')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_MIMIMAL,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'purple',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

    field($model, 'radio3')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_MIMIMAL,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'blue',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

STYLE_SQUARE (Colors for STYLE_SQUARE - square (the black), red, green, blue, aero, grey, orange, yellow, pink, purple)

    field($model, 'checkbox4', ['template' => '{label} {input}'])->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX,
        'style'  => ICheck::STYLE_SQUARE,
        'color'  => 'square'                  // Color theme
    ]) ?>
    field($model, 'checkbox5')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_SQUARE,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'green',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'checkbox6')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_SQUARE,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'red',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

    field($model, 'radio4')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO,
        'style'  => ICheck::STYLE_SQUARE,
        'color'  => 'blue'                  // Color theme
    ]) ?>
    field($model, 'radio5')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_SQUARE,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'yellow',               // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'radio6')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_SQUARE,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'aero',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

STYLE_FLAT (Colors for STYLE_SQUARE - flat (the black), red, green, blue, aero, grey, orange, yellow, pink, purple)

    field($model, 'checkbox7', ['template' => '{label} {input}'])->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX,
        'style'  => ICheck::STYLE_FLAT,
        'color'  => 'flat'                  // Color theme
    ]) ?>
    field($model, 'checkbox8')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_FLAT,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'green',                // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'checkbox9')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_FLAT,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'red',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

    field($model, 'radio7')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO,
        'style'  => ICheck::STYLE_FLAT,
        'color'  => 'blue'                      // Color theme
    ]) ?>
    field($model, 'radio8')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_FLAT,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'yellow',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'radio9')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_FLAT,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'aero',                     // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

STYLE_LINE (Colors for STYLE_LINE - line (the black), red, green, blue, aero, grey, orange, yellow, pink, purple)

    field($model, 'checkbox10')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_LINE,
        'items'    => [1 => 'Вася'],
        'color'  => 'yellow',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return '
                        '.$label.'';
            },
        ]]) ?>
    field($model, 'checkbox11')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_LINE,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'red',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return '
                        '.$label.'';
            },
        ]]) ?>

    field($model, 'radio10')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_LINE,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'color'  => 'pink',                  // Color theme
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return '
                        '.$label.'';
            },
        ]]) ?>

STYLE_POLARIS

    field($model, 'checkbox12', ['template' => '{label} {input}'])->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX,
        'style'  => ICheck::STYLE_POLARIS,
    ]) ?>
    field($model, 'checkbox13')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_POLARIS,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'checkbox14')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_POLARIS,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

    field($model, 'radio11')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO,
        'style'  => ICheck::STYLE_POLARIS,
    ]) ?>
    field($model, 'radio12')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_POLARIS,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'radio13')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_POLARIS,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

STYLE_FUTURICO

    field($model, 'checkbox15', ['template' => '{label} {input}'])->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX,
        'style'  => ICheck::STYLE_FUTURICO,
    ]) ?>
    field($model, 'checkbox16')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_FUTURICO,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'checkbox17')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_CHECBOX_LIST,
        'style'  => ICheck::STYLE_FUTURICO,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

    field($model, 'radio14')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO,
        'style'  => ICheck::STYLE_FUTURICO,
    ]) ?>
    field($model, 'radio15')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_FUTURICO,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>
    field($model, 'radio16')->widget(ICheck::className(), [
        'type'  => ICheck::TYPE_RADIO_LIST,
        'style'  => ICheck::STYLE_FUTURICO,
        'items'    => [1 => 'Item 1', 2 => 'Item 2', 3 => 'Item 3']
        'options' => [
            'item' => function ($index, $label, $name, $checked, $value){
                return ' '.$label.'';
            }
        ]]) ?>

```

---

### License:

[](#license)

### [MIT](https://en.wikipedia.org/wiki/MIT_License)

[](#mit)

---

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3169d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e971a829e008d26b4f23c1f312e90b0005849d66aec657b7f9cca4e7c5a840b0?d=identicon)[drexlerux](/maintainers/drexlerux)

---

Top Contributors

[![drexlerux](https://avatars.githubusercontent.com/u/29631825?v=4)](https://github.com/drexlerux "drexlerux (4 commits)")

---

Tags

yii2iCheckphpnt

### Embed Badge

![Health badge](/badges/drexlerux-yii2-icheck/health.svg)

```
[![Health](https://phpackages.com/badges/drexlerux-yii2-icheck/health.svg)](https://phpackages.com/packages/drexlerux-yii2-icheck)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
