PHPackages                             drmabuse/yii2-foundation-topbar - 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. drmabuse/yii2-foundation-topbar

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

drmabuse/yii2-foundation-topbar
===============================

Yii 2 Zurb Foundation Topbar widgets

0681JavaScript

Since Mar 13Pushed 12y ago1 watchersCompare

[ Source](https://github.com/brewing/yii2-foundation-topbar)[ Packagist](https://packagist.org/packages/drmabuse/yii2-foundation-topbar)[ RSS](/packages/drmabuse-yii2-foundation-topbar/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

yii2-foundation-topbar
======================

[](#yii2-foundation-topbar)

deeper Menu widget for yii2 from [http://foundation.zurb.com/docs/components/topbar.html](http://foundation.zurb.com/docs/components/topbar.html "http://foundation.zurb.com/docs/components/topbar.html")\##Requirements

yii2 php 5.4 &gt;internet Explorer 8

\##Usage

```

    use drmabuse\foundationTopbar\FoundationNavbar;
    use drmabuse\foundationTopbar\FoundationNav;

    FoundationNavbar::begin([
        'title' => [
            'name'      => Yii::$app->name,
            'nameUrl'   => Yii::$app->homeUrl,
        ],
        'options' => [
            'navOptions' => [
                'class' => 'special',
                'data-options' => 'is_hover:false'
            ],
            'titleAreaOptions' => [
                'class' => 'special1'
            ],
            'sectionOptions' => [
                'class' => 'special2'
            ]
        ],
        'contain' => [
            'class' => 'fixed'
        ]
    ]);

    $menuItems = [
        ['label' => 'Home', 'url' => [Yii::$app->homeUrl]],
        [
            'label' => 'Menü',
            'items' =>[
                ['label' => 'Home', 'url' => ['/site/index']],
                ['label' => 'About', 'url' => ['/site/about']],
                ['label' => 'Submenu2','items' => [
                    [
                        'label' => 'Verwaltung',
                        'url' => ['/mediating/mediatingimage/index']
                    ],
                    [
                        'label' => 'Neu +',
                        'url' => ['/mediating/mediatingimage/create'],
                    ]
                ]]
            ],
        ],
    ];

    if (Yii::$app->user->isGuest) {
        $menuItems[] = ['label' => 'Signup', 'url' => ['/site/signup']];
        $menuItems[] = ['label' => 'Login', 'url' => ['/site/login']];
    } else {
        $menuItems[] = ['label' => 'Logout (' . Yii::$app->user->identity->username . ')', 'url' => ['/site/logout']];
    }

    echo FoundationNav::widget([
        'options' => ['class' => 'right'],
        'items' => $menuItems,
        'encodeLabels' => false
    ]);

    FoundationNavbar::end();?>

```

Maybe you wanna overwrite or depends the Files

```

    'assetManager' => [
        'bundles' => [
            'drmabuse\foundationTopbar\assets\FoundationTopbarAssets' => [
                'depends' => [
                    'yii\web\YiiAsset',
                    'backend\assets\AppAsset'
                ],
            ]
        ],
    ],

```

\##Resources

- [Github page](https://github.com/brewing/yii2-foundation-topbar)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/drmabuse-yii2-foundation-topbar/health.svg)

```
[![Health](https://phpackages.com/badges/drmabuse-yii2-foundation-topbar/health.svg)](https://phpackages.com/packages/drmabuse-yii2-foundation-topbar)
```

###  Alternatives

[gamez/typed-collection

Type-safe collections based on Laravel Collections

45317.8k](/packages/gamez-typed-collection)

PHPackages © 2026

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