PHPackages                             i-lateral/silverstripe-sessionmessenger - 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. i-lateral/silverstripe-sessionmessenger

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

i-lateral/silverstripe-sessionmessenger
=======================================

A session based message notification for Silverstripe templates

1.3(6y ago)32.0k34BSD-3-ClausePHP

Since Jun 2Pushed 4y ago2 watchersCompare

[ Source](https://github.com/i-lateral/silverstripe-sessionmessenger)[ Packagist](https://packagist.org/packages/i-lateral/silverstripe-sessionmessenger)[ Docs](http://github.com/i-lateral/silverstripe-sessionmessenger)[ RSS](/packages/i-lateral-silverstripe-sessionmessenger/feed)WikiDiscussions 1 Synced 2mo ago

READMEChangelogDependencies (1)Versions (6)Used By (4)

Silverstripe Session Messanger
==============================

[](#silverstripe-session-messanger)

[![Travis Support](https://camo.githubusercontent.com/3abdd75b98d35368316171555038125a9e7d929a24c6c0defe0142e051356740/68747470733a2f2f7472617669732d63692e6f72672f692d6c61746572616c2f73696c7665727374726970652d73657373696f6e6d657373656e6765722e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/3abdd75b98d35368316171555038125a9e7d929a24c6c0defe0142e051356740/68747470733a2f2f7472617669732d63692e6f72672f692d6c61746572616c2f73696c7665727374726970652d73657373696f6e6d657373656e6765722e7376673f6272616e63683d6d6173746572)

Session based messaging module for Silverstripe (framework and CMS).

Author
------

[](#author)

This module was created by [i-lateral](http://www.i-lateral.com).

Installation
------------

[](#installation)

Install this module either by downloading and adding to:

\[silverstripe-root\]/sessionmessenger

Then run:

Or alternativly add to your projects composer.json

Usage
-----

[](#usage)

Once installed, you send a session message at any time using:

```
Controller->setSessionMessage("success", "Message text");

```

You can then render messages into your template using the varible:

```
$SessionMessage

```

Adding extra css classes to your message
----------------------------------------

[](#adding-extra-css-classes-to-your-message)

By default the message displays the classes "message" and "message-{$Type}"

You can also add extra classes to the message (for custom styling) by using the following config variables:

```
SessionMessenger.extra_classes
SessionMessenger.success_classes
SessionMessenger.error_classes
SessionMessenger.info_classes

```

Extra Classes adds the classes you specify to all versions of the message

Success Classes adds the classes only when the message's type is set to "success"

Error Classes adds the classes only when the message's type is set to "error"

Info Classes adds the classes only when the message's type is set to "info"

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 87% 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 ~505 days

Recently: every ~471 days

Total

6

Last Release

1468d ago

Major Versions

1.x-dev → 2.x-dev2022-05-04

### Community

Maintainers

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

---

Top Contributors

[![mlewis-everley](https://avatars.githubusercontent.com/u/687143?v=4)](https://github.com/mlewis-everley "mlewis-everley (20 commits)")[![Makreig](https://avatars.githubusercontent.com/u/6011781?v=4)](https://github.com/Makreig "Makreig (1 commits)")[![ryanwachtl](https://avatars.githubusercontent.com/u/341209?v=4)](https://github.com/ryanwachtl "ryanwachtl (1 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (1 commits)")

---

Tags

notificationsilverstripesessionMessenger

### Embed Badge

![Health badge](/badges/i-lateral-silverstripe-sessionmessenger/health.svg)

```
[![Health](https://phpackages.com/badges/i-lateral-silverstripe-sessionmessenger/health.svg)](https://phpackages.com/packages/i-lateral-silverstripe-sessionmessenger)
```

###  Alternatives

[silverstripe/mimevalidator

Checks uploaded file content roughly matches a known MIME type for the file extension.

102.0M9](/packages/silverstripe-mimevalidator)[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.

1312.6k2](/packages/sheadawson-silverstripe-timednotices)[friendsofsilverstripe/backendmessages

DRY way to create message boxes in SilverStripe backend.

1015.4k2](/packages/friendsofsilverstripe-backendmessages)[diecoding/yii2-toastr

Simple flash toastr notifications for Yii2

1328.8k](/packages/diecoding-yii2-toastr)

PHPackages © 2026

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