PHPackages                             n2ref/coreui-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. [Framework](/categories/framework)
4. /
5. n2ref/coreui-panel

ActiveFramework[Framework](/categories/framework)

n2ref/coreui-panel
==================

PHP framework for web applications

1.0.4(1y ago)022GPL-3.0-or-laterPHPPHP &gt;=8.0

Since Apr 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/n2ref/coreui-panel-php)[ Packagist](https://packagist.org/packages/n2ref/coreui-panel)[ Docs](https://github.com/n2ref/coreui-panel-php)[ RSS](/packages/n2ref-coreui-panel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

CoreUI Panel
============

[](#coreui-panel)

### Composer install

[](#composer-install)

`composer install n2ref/coreui-panel`

### Example usage

[](#example-usage)

```
    $panel = new \CoreUI\Panel('panel-id');
    $panel->setTitle('Component Panel', 'CoreUI Framework');
    $panel->addControlButton('Help');

    $panel->setTabsType($panel::TABS_TYPE_TABS);
    $panel->setTabsPosition($panel::TABS_POS_TOP_LEFT);
    $panel->setTabsFill($panel::TABS_FILL_JUSTIFY);
    $panel->setTabsWidth(200);

    $panel->addTab('Home',    'tab1', 'data/tab1.json')->setActive(true);
    $panel->addTab('Profile', 'tab2', 'data/tab2.json');
    $panel->addTab('Disabled')->setDisabled(true);

    $tab_dropdown = $panel->addDropdown('Dropdown');
    $tab_dropdown->addItem('Tab title 3')->setDisabled(true);
    $tab_dropdown->addItem('Tab title 4', 'tab4', 'data/tab3.json');
    $tab_dropdown->addDivider();
    $tab_dropdown->addItem('Tab title 5', 'tab5', 'data/tab4.json');

    // Переопределение активного таба
    $panel->setActiveTab('tab2');

    $panel->setContent('Your content 1');

    echo json_encode($panel->toArray());
```

Output

```
{
    "component": "coreui.panel",
    "id": "panel-id",
    "title": "Component Panel",
    "subtitle": "CoreUI Framework",
    "controls": [
      { "type": "button", "attr": { "class": "btn btn-secondary" }, "content": "Help" }
    ],
    "tabs": {
      "type": "tabs",
      "position": "top-left",
      "fill": "justify",
      "width": 200,
      "items": [
        {"id": "tab1", "title": "Home", "url": "data/tab1.json"},
        {"id": "tab2", "title": "Profile", "active": true, "url": "data/tab2.json"},
        {"id": "tab3", "title": "Disabled", "disabled": true},
        {
          "title": "Dropdown",
          "type": "dropdown",
          "items": [
            {"id": "tab4", "title": "Tab title 3", "disabled": true},
            {"id": "tab5", "title": "Tab title 4", "url": "data/tab3.json"},
            {"type": "divider"},
            {"id": "tab6","title": "Tab title 5", "url": "data/tab4.json"}
          ]
        }
      ]
    },
    "content": "Your content 1"
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~29 days

Recently: every ~35 days

Total

6

Last Release

624d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d46eec372620664574541ea54a3278872c687d2529c2b0aa91d8f6f677e5299?d=identicon)[n2ref](/maintainers/n2ref)

---

Top Contributors

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

---

Tags

frameworkcoreui

### Embed Badge

![Health badge](/badges/n2ref-coreui-panel/health.svg)

```
[![Health](https://phpackages.com/badges/n2ref-coreui-panel/health.svg)](https://phpackages.com/packages/n2ref-coreui-panel)
```

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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