PHPackages                             is7/yii2-bootstrap-panel - 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. [Admin Panels](/categories/admin)
4. /
5. is7/yii2-bootstrap-panel

ActiveYii2-extension[Admin Panels](/categories/admin)

is7/yii2-bootstrap-panel
========================

Yii2 Bootstrap Panel

v0.2.0(4y ago)034MITPHP

Since May 8Pushed 4y agoCompare

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

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

yii2-bootstrap-panel
====================

[](#yii2-bootstrap-panel)

Yii2 Bootstrap panel widget.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require is7/yii2-bootstrap-panel "dev-master"

```

or add

```
"is7/yii2-bootstrap-panel": "dev-master"

```

to the `require` section of your `composer.json` file then run composer update.

Options
-------

[](#options)

- **title** title displayed in the head section of the panel.
- **titleOptions** the tag options in terms of name-value pairs.
- **content** content displayed in the body section of the panel.
- **footer** content displayed in the footer section of the panel.
- **context** context of the panel. Defaults to 'default'.

    - info
    - default
    - danger
    - primary
    - success
- **collapsible** whether the panel is collapsible. Defaults to false.
- **collapsed** whether or not the panel is initially collapsed. Defaults to false.
- **buttons** array of buttons, that will be added to the title.
- **minimizable** whether to add minimize button, which collapse panel to minimum size. Defaults to false
- **panelOptions** the tag options in terms of name-value pairs.

Examples
--------

[](#examples)

### Basic Example

[](#basic-example)

```
use is7\bootstrap\Panel;

echo Panel::widget([
    'title' => 'My Panel',
    'content' => '...',
    'footer' => 'footer content'
]);
```

### Extended example

[](#extended-example)

```
use is7\bootstrap\Panel;

echo Panel::begin([
    'title'=>'My Panel',
    'collapsible' => true,
    'context' => 'danger',
    'footer'=>'footer content'
]);

// the body

Panel::end();
```

### Panel with buttons

[](#panel-with-buttons)

```
use is7\bootstrap\Panel;

echo Panel::widget([
    'title'=>'My Panel',
    'content' => '...',
    'context' => 'success',
    'collapsible' => true,
    'minimizable' => true,
    'buttons' => [
        [
            'options' => [
                'class' => 'btn btn-default delete-button',
                'title' => 'Delete Panel'
            ],
            'icon' => 'trash' // Will be converted to the glyphicon-trash icon. HTML tag can be used instead
        ],
    ]
]);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Every ~655 days

Total

2

Last Release

1539d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

yii2bootstrapcollapsepanel

### Embed Badge

![Health badge](/badges/is7-yii2-bootstrap-panel/health.svg)

```
[![Health](https://phpackages.com/badges/is7-yii2-bootstrap-panel/health.svg)](https://phpackages.com/packages/is7-yii2-bootstrap-panel)
```

###  Alternatives

[luyadev/luya-module-admin

Administration core module for all LUYA admin modules

48179.0k24](/packages/luyadev-luya-module-admin)[fancyecommerce/fec_admin

fancy ecommerce

6312.1k1](/packages/fancyecommerce-fec-admin)[deyraka/yii2-material-dashboard

Material Dashboard Theme for Yii 2.0

121.9k](/packages/deyraka-yii2-material-dashboard)

PHPackages © 2026

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