PHPackages                             stupidkitty/banner - 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. stupidkitty/banner

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

stupidkitty/banner
==================

Banner module for Yii2

3.1(5y ago)0241MITPHPPHP &gt;=7.4

Since Feb 7Pushed 4y agoCompare

[ Source](https://github.com/stupidkitty/banner)[ Packagist](https://packagist.org/packages/stupidkitty/banner)[ RSS](/packages/stupidkitty-banner/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Banners
=======

[](#banners)

Yii2 banners module

App configure module
--------------------

[](#app-configure-module)

```
'modules' => [
    'banner' => [
        'class' => SK\BannerModule\Module::class,
    ],
],
'container' => [
    'singletons' => [
        'SK\BannerModule\Banner' => [
            'class' => \SK\BannerModule\Banner::class,
            'templatesPath' => '@app/views/banners' // path for ad spots templates
        ]
    ]
]

```

Migrations
----------

[](#migrations)

```
config:
'controllerMap' => [
    'migrate' => [
        'class' => yii\console\controllers\MigrateController::class,
        'migrationNamespaces' => [],
        'migrationPath' => [
            '@vendor/stupidkitty/banner/src/Migration',
        ],
    ],
],

```

or composer:

```
"scripts": {
    "post-update-cmd": [
        "yes | php yii migrate --migrationPath=@vendor/stupidkitty/banner/src/Migration"
    ],
    "post-install-cmd": [
        "yes | php yii migrate --migrationPath=@vendor/stupidkitty/banner/src/Migration"
    ]
}

```

Usage
-----

[](#usage)

In template:

```

// or multiple

// Spot template. Template should exists.

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~207 days

Total

6

Last Release

1845d ago

Major Versions

1.0.1 → 2.02020-04-27

2.1 → 3.02021-06-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41638120?v=4)[stupidkitty](/maintainers/stupidkitty)[@stupidkitty](https://github.com/stupidkitty)

---

Top Contributors

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

---

Tags

yii2bannedad spot

### Embed Badge

![Health badge](/badges/stupidkitty-banner/health.svg)

```
[![Health](https://phpackages.com/badges/stupidkitty-banner/health.svg)](https://phpackages.com/packages/stupidkitty-banner)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1454.6k](/packages/dmstr-yii2-cookie-consent)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

1911.7k](/packages/imanilchaudhari-yii2-currency-converter)

PHPackages © 2026

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