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

ActiveSymfony-bundle

wucdbm/banner-bundle
====================

A simple banner manager Symfony2

v3.4.2(8y ago)032GPL-3.0CSSPHP ~7.1

Since Dec 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wucdbm/banner-bundle)[ Packagist](https://packagist.org/packages/wucdbm/banner-bundle)[ RSS](/packages/wucdbm-banner-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (11)Used By (0)

banner-bundle
=============

[](#banner-bundle)

Usage
-----

[](#usage)

Having properly configured uglifycss and uglifyjs is a requirement for production.

Add this bundle to your AppKernel.php `new \Wucdbm\Bundle\BannerBundle\WucdbmBannerBundle()`

In your config.yml, add `WucdbmBannerBundle` to your assetic bundles, as well as your doctrine mapping (if not automatic)

Execute `app/console doctrine:schema:update --dump-sql` and after verifying what is being executed, execute again with --force. Alternatively, use doctrine migrations via the DoctrineMigrations bundle.

Once this has been done, you can start using the bundle. Simply register it in your routing.yml in a protected area such as admin, like so:

```
wucdbm_banner:
    resource: "@WucdbmBannerBundle/Resources/config/routing.yml"
    prefix: /banners

```

You can create a link to the builder using `{{ path('wucdbm_banner_dashboard') }}`, or embed it into your admin UI via an iframe like so ``

The User Interface is pretty self-explanatory. You create banners and positions. Banners contain the JavaScript or HTML code. This can also be used for tracking or anything external you would like to add to your website via a UI in your admin section without thinking too much about its implementation. Positions are placed in your code on your pages, like this `{{ 'YourPositionName'|banner }}` (There is also a twig function) You can also print a link to the same page you're at, but with positions in debug mode, but only if your user has the `ROLE_ADMIN` role using `{{ showBannerPositionsUrl() }}`If a position is lacking a banner, is inactive, the banner is inactive, or any other error, if you have `ROLE_ADMIN`, you will get an error message

Caching
-------

[](#caching)

If you need cache: Alias your own `Psr\Cache\CacheItemPoolInterface` to `wucdbm_banner.cache`, for example:

`` where the `app.cache` service is an instance of `Psr\Cache\CacheItemPoolInterface`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Recently: every ~157 days

Total

10

Last Release

3078d ago

PHP version history (3 changes)v3.0.1PHP ~5.5

v3.0.7PHP ~5.5|~7.0

v3.4.0PHP ~7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/56129a0e9c0044d2857f405e0cf44b1c8f53bc86503dfc1c0ac3829401333c5e?d=identicon)[wucdbm](/maintainers/wucdbm)

---

Top Contributors

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

---

Tags

wucdbm

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

PHPackages © 2026

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