PHPackages                             slashworks/contao-alertbox-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. slashworks/contao-alertbox-bundle

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

slashworks/contao-alertbox-bundle
=================================

Show custom alertboxes on defined pages in Contao 4.

01PHP

Since Dec 16Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Contao Alertbox Bundle
======================

[](#contao-alertbox-bundle)

Easily manage alert boxes and hints that should be shown on specific pages.

Install
-------

[](#install)

Download the alertbox bundle:

```
composer require slashworks/contao-alertbox-bundle
```

Update the database by going to **/contao/install** or via CLI:

```
vendor/bin/contao-console contao:migrate
```

Usage
-----

[](#usage)

### Create alertboxes

[](#create-alertboxes)

Manage and create alertboxes from the new backend module "CONTENT &gt; Alertboxes". Select the pages where this alertbox will be shown. If you select a custom template, this will override your template selection in the front end module.

### Create and include front end module

[](#create-and-include-front-end-module)

Create a new front end module of type "Alertbox". This front end module has to be included on all the pages where your alertboxes should be shown. The easiest way is to add the front end module to your page layouts.

### General

[](#general)

Any styling or javascript interaction has to be included manually. You can edit the mod\_sw\_alertbox template or create new ones for every alertbox and make all your necessary changes.

Release
-------

[](#release)

Run the PHP-CS-Fixer and the unit test before releasing new versions:

```
vendor/bin/ecs check src/ tests/ --fix
vendor/bin/phpunit
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4116ae5d640366176109c5bf10fe373d47f375166b13921f5e3b74ed9c1a0bd1?d=identicon)[slashworks](/maintainers/slashworks)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/slashworks-contao-alertbox-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/slashworks-contao-alertbox-bundle/health.svg)](https://phpackages.com/packages/slashworks-contao-alertbox-bundle)
```

###  Alternatives

[salmanzafar/laravel-geocode

A Laravel Library to find Lat and Long of a given Specific Address

153.9k](/packages/salmanzafar-laravel-geocode)[thedmsgroup/mautic-segment-extras-bundle

Extends Mautic Lead Bundle's Lead List (Segment) functionality.

151.4k](/packages/thedmsgroup-mautic-segment-extras-bundle)

PHPackages © 2026

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