PHPackages                             friendsofsilverstripe/backendmessages - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. friendsofsilverstripe/backendmessages

ActiveSilverstripe-vendormodule[Mail &amp; Notifications](/categories/mail)

friendsofsilverstripe/backendmessages
=====================================

DRY way to create message boxes in SilverStripe backend.

6.0.0(11mo ago)1015.4k↓16.7%62BSD-3-ClausePHPPHP ^7.2 || ^8.0CI failing

Since Oct 27Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/FriendsOfSilverStripe/backendmessages)[ Packagist](https://packagist.org/packages/friendsofsilverstripe/backendmessages)[ Docs](https://github.com/friendsofsilverstripe)[ Fund](https://www.buymeacoffee.com/spekulatius)[ GitHub Sponsors](https://github.com/spekulatius)[ RSS](/packages/friendsofsilverstripe-backendmessages/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (21)Used By (2)

[Generate SilverStripe backend messages](https://github.com/FriendsOfSilverStripe/backendmessages) with one simple call. Type less, do more.
[![Build Status](https://camo.githubusercontent.com/1d1c244a40de3b516bb4bed9a88f51990b94baa9175a9af1da0000cce8af901d/68747470733a2f2f6170692e7472617669732d63692e6f72672f467269656e64734f6653696c7665725374726970652f6261636b656e646d657373616765732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/FriendsOfSilverStripe/backendmessages) [![Latest Stable Version](https://camo.githubusercontent.com/bc2e5535a366496e8dbfd4610e74bda7da2e18aa4f1f7f649fd9f155624e7301/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653696c7665725374726970652f6261636b656e646d657373616765732f76657273696f6e2e737667)](https://github.com/FriendsOfSilverStripe/backendmessages/releases) [![Latest Unstable Version](https://camo.githubusercontent.com/a62b89d3abbc6ee87016323ca339d5bda4761604f2dddee93f6fc97d237f90bf/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653696c7665725374726970652f6261636b656e646d657373616765732f762f756e737461626c652e737667)](https://packagist.org/packages/FriendsOfSilverStripe/backendmessages) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/34b4eadcb9c8c795b2c62eaae8e4118cca0e083518a1d7321a4e6151adb900fe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f467269656e64734f6653696c7665725374726970652f6261636b656e646d657373616765732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/FriendsOfSilverStripe/backendmessages/?branch=master) [![Total Downloads](https://camo.githubusercontent.com/4a780e651ac1d553c9a6448c98320052e3f64548b7d3b346568dd6885a1b74f5/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653696c7665725374726970652f6261636b656e646d657373616765732f646f776e6c6f6164732e737667)](https://packagist.org/packages/FriendsOfSilverStripe/backendmessages) [![License](https://camo.githubusercontent.com/8ad3685ae8b292e15c56dc69d62346149c8e5ad12a4ffd01984f048cf580a1cf/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653696c7665725374726970652f6261636b656e646d657373616765732f6c6963656e73652e737667)](https://github.com/FriendsOfSilverStripe/backendmessages/blob/master/license.md)
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#generate-silverstripe-backend-messages-with-one-simple-call-type-less-do-more-----)

### Requirements

[](#requirements)

- SilverStripe Framework ^3.0 or ^4.0

### Installation

[](#installation)

```
composer require friendsofsilverstripe/backendmessages

```

### Usage

[](#usage)

Within any FieldList you can call any of the following static methods to create a message box:

```
use FriendsOfSilverStripe\Backendmessages\ErrorMessage;
use FriendsOfSilverStripe\Backendmessages\WarningMessage;
use FriendsOfSilverStripe\Backendmessages\SuccessMessage;
use FriendsOfSilverStripe\Backendmessages\NoticeMessage;
use FriendsOfSilverStripe\Backendmessages\Message;

// [...]

FieldList::create(
	ErrorMessage::create('Ehh, something went wrong.'),
	WarningMessage::create('Be careful with this!'),
	SuccessMessage::create('Yeah, that went through just fine.'),
	NoticeMessage::create('This is a useful hint.'),
	Message::generic('Some more information.')
);

```

generates

[![](https://raw.githubusercontent.com/friendsofsilverstripe/backendmessages/master/images/screenshots/messages.png)](https://raw.githubusercontent.com/friendsofsilverstripe/backendmessages/master/images/screenshots/messages.png)

#### Allow HTML in the backend messages

[](#allow-html-in-the-backend-messages)

Add the following to your config.yml

```
FriendsOfSilverStripe\Backendmessages\MessageBoxField:
  allow_html: true

```

MISC: [Future ideas/development, issues](https://github.com/FriendsOfSilverStripe/backendmessages/issues), [Contributing](https://github.com/FriendsOfSilverStripe/backendmessages/blob/master/CONTRIBUTING.md), [License](https://github.com/FriendsOfSilverStripe/backendmessages/blob/master/license.md)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#misc-future-ideasdevelopment-issues-contributing-license)

This project is supported by [bring your own ideas Ltd.](https://bringyourownideas.com). Bring Your Own Ideas Ltd. helps you to make your project ideas a reality.

[![bring your own ideas](https://camo.githubusercontent.com/8a9e929f2185ff4a6473681da09630159a4143d54aadd6d1960812aa7d5687d5/68747470733a2f2f6272696e67796f75726f776e69646561732e636f6d2f696d616765732f62796f692d6c696768742d62756c622d7472616e73706172656e742d6261636b67726f756e642e706e67)](https://bringyourownideas.com)

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance52

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% 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 ~185 days

Recently: every ~476 days

Total

20

Last Release

339d ago

Major Versions

0.2.2 → 1.0.02016-07-09

1.0.0 → 3.0.02016-10-21

3.0.0 → 4.0.02017-12-10

4.1.3 → 5.0.02022-06-07

5.1.0 → 6.0.02025-06-13

PHP version history (4 changes)0.1.0PHP &gt;=5.3.2

4.0.3PHP ^7

4.1.2PHP ^7.2

5.0.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8433587?v=4)[Peter Thaleikis](/maintainers/spekulatius)[@spekulatius](https://github.com/spekulatius)

---

Top Contributors

[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (55 commits)")[![elliot-sawyer](https://avatars.githubusercontent.com/u/354793?v=4)](https://github.com/elliot-sawyer "elliot-sawyer (3 commits)")[![christohill](https://avatars.githubusercontent.com/u/2646218?v=4)](https://github.com/christohill "christohill (1 commits)")

---

Tags

messagesnotificationssilverstripesilverstripe-adminmessagenotificationsilverstripecmswarning

### Embed Badge

![Health badge](/badges/friendsofsilverstripe-backendmessages/health.svg)

```
[![Health](https://phpackages.com/badges/friendsofsilverstripe-backendmessages/health.svg)](https://phpackages.com/packages/friendsofsilverstripe-backendmessages)
```

###  Alternatives

[mouse0270/bootstrap-growl

This is a simple pluging that turns standard Bootstrap alerts into "Growl-like" notifications.

2.2k119.1k](/packages/mouse0270-bootstrap-growl)[lekoala/silverstripe-mandrill

Adds mandrill in the SilverStripe CMS

1827.3k](/packages/lekoala-silverstripe-mandrill)[sheadawson/silverstripe-timednotices

Display notice banners in the cms interface over a given time period. Good for notifying cms users of scheduled updates or downtime etc.

1212.6k2](/packages/sheadawson-silverstripe-timednotices)[agorlov/discordmsg

Little class to send Discord message

1154.6k](/packages/agorlov-discordmsg)

PHPackages © 2026

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