PHPackages                             forci/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. forci/banner-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

forci/banner-bundle
===================

A simple banner manager Symfony3/4

v0.1.1(8y ago)18GPL-3.0CSSPHP &gt;=7.1.3

Since Dec 14Pushed 8y ago2 watchersCompare

[ Source](https://github.com/forci/banner-bundle)[ Packagist](https://packagist.org/packages/forci/banner-bundle)[ RSS](/packages/forci-banner-bundle/feed)WikiDiscussions master Synced today

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

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

[](#banner-bundle)

Usage
-----

[](#usage)

Add this bundle to your AppKernel.php `new \Forci\Bundle\BannerBundle\ForciBannerBundle()`

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:

```
forci_banner:
    resource: "@ForciBannerBundle/Resources/config/routing.yml"
    prefix: /banners

```

You can create a link to the builder using `{{ path('forci_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 `forci_banner.cache`, for example:

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

TODO
====

[](#todo)

- Tests!

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

3070d ago

### Community

Maintainers

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

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

---

Top Contributors

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

---

Tags

wucdbmforcibanner bundle

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

PHPackages © 2026

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