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

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

arslanfarrukh/top-banner
========================

Adds a Banner on top of every page to show campaigns, alerts etc.

1.0.1(3y ago)08OSL-3.0PHPPHP &gt;=7.1.0

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ArslanUS90/TopBanner)[ Packagist](https://packagist.org/packages/arslanfarrukh/top-banner)[ RSS](/packages/arslanfarrukh-top-banner/feed)WikiDiscussions main Synced 1mo ago

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

TopBanner
=========

[](#topbanner)

### Features

[](#features)

- It displays an advertising section on the top of your web pages.
- This advertising section provides a clickable link to open and explore more about the new features or sales/discounts/offers.
- Once the user closes the top banner by clicking on the cross (X) button, then the top banner will not appear again on the same browser for users.
- Admin can create new top banners to display on webpages and he can set their duration for advertisement.
- Admin can change/create theme templates for top banners.

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

[](#installation)

1. Please run the following command

```
composer require arslanfarrukh/top-banner
```

2. Update the composer if required

```
composer update
```

3. Enable module

```
php bin/magento module:enable ArslanFarrukh_Core
php bin/magento module:enable ArslanFarrukh_TopBanner
php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento cache:flush
```

4.If your website is running in product mode the you need to deploy static content and then clear the cache

```
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile
```

\#####This extension is compatible with all the versions of Magento 2.3.\* and 2.4.\*. ###Tested on following instances: #####multiple instances i.e. 2.3.7-p3 and 2.4.5-p1

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1116d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2751049265324074a06a28154531176c21e220f0e3592bb831389756727bcf49?d=identicon)[ArslanUS90](/maintainers/ArslanUS90)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[thanks-to-it/wp-dich

121.1k](/packages/thanks-to-it-wp-dich)

PHPackages © 2026

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