PHPackages                             ahebrank/emergency\_alerts - 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. ahebrank/emergency\_alerts

Abandoned → [drupal/emergency\_alerts](/?search=drupal%2Femergency_alerts)Drupal-module[Utility &amp; Helpers](/categories/utility)

ahebrank/emergency\_alerts
==========================

Configurable emergency alert blocks

2875662.x-dev(9y ago)2121PHP

Since May 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ahebrank/emergency_alerts)[ Packagist](https://packagist.org/packages/ahebrank/emergency_alerts)[ RSS](/packages/ahebrank-emergency-alerts/feed)WikiDiscussions 8.x-2.x Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

CONTENTS OF THIS FILE
---------------------

[](#contents-of-this-file)

- Introduction
- Requirements
- Installation
- Configuration
- Maintainers

INTRODUCTION
------------

[](#introduction)

The Emergency Alerts module provides emergency alerts. These are the important announcements you might see at the top of academic sites.

- For a full description of the module, visit the project page: [https://www.drupal.org/project/emergency\_alerts](https://www.drupal.org/project/emergency_alerts)
- To submit bug reports and feature suggestions, or to track changes: [https://www.drupal.org/project/issues/emergency\_alerts](https://www.drupal.org/project/issues/emergency_alerts)

REQUIREMENTS
------------

[](#requirements)

This module requires no modules outside of Drupal core.

INSTALLATION
------------

[](#installation)

- Install the Emergency Alerts module as you would normally install a contributed Drupal module. Visit  for further information.

CONFIGURATION
-------------

[](#configuration)

```
1. Navigate to Administration > Extend and enable the module.
2. Navigate to admin/config/emergency_alerts to configure.
3. Navigate to admin/structure/block to place the block.

```

(optional) Add region `emergency_alert` to your theme and in templates. For example (in theme.info.yml),

```
regions:
  content: Content
  sidebar: Sidebar
  footer: Footer Nav
  emergency_alert: 'Emergency alert'
```

Place the `Emergency Alert` block created by this module in the region you added above or in any other region.

Copy template `html--emergency-alert.html.twig` (for full-page alert) to your theme and edit (but keep the `page.emergency_alert` region)

Copy template `emergency-alert.html.twig` to your theme and edit as needed.

Add styling for the alert region div with classes:

- `.emergency-alert.announcement`
- `.emergency-alert.warning`
- `.emergency-alert.danger`

MAINTAINERS
-----------

[](#maintainers)

- Andy Hebrank (ahebrank) -

Supporting organization:

- New City -

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

3338d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

drupaldrupal-8drupal-module

### Embed Badge

![Health badge](/badges/ahebrank-emergency-alerts/health.svg)

```
[![Health](https://phpackages.com/badges/ahebrank-emergency-alerts/health.svg)](https://phpackages.com/packages/ahebrank-emergency-alerts)
```

###  Alternatives

[derrabus/ereg-shim

Replacement for the ereg legacy php extension.

11103.0k](/packages/derrabus-ereg-shim)

PHPackages © 2026

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