PHPackages                             carbon/notification - 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. carbon/notification

ActiveNeos-carbon[Mail &amp; Notifications](/categories/mail)

carbon/notification
===================

This package provides a tiny fusion helper for notifications.

3.0.0(2y ago)5207.1k↓17.2%417GPL-3.0-or-later

Since Oct 21Pushed 2y ago2 watchersCompare

[ Source](https://github.com/CarbonPackages/Carbon.Notification)[ Packagist](https://packagist.org/packages/carbon/notification)[ Fund](https://www.paypal.me/Jonnitto/20eur)[ GitHub Sponsors](https://github.com/jonnitto)[ RSS](/packages/carbon-notification/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (24)Used By (17)

[![Latest stable version](https://camo.githubusercontent.com/c5b8c45f2dc3151f6ee904329741dae987cc2ff0429f6e636264dc9ef614da16/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f6e6f74696669636174696f6e2f762f737461626c65)](https://packagist.org/packages/carbon/notification) [![Total downloads](https://camo.githubusercontent.com/a71619b97449ce9d9e12ed85b82c3d4390c00ab4713028106162370c185a829b/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f6e6f74696669636174696f6e2f646f776e6c6f616473)](https://packagist.org/packages/carbon/notification) [![License](https://camo.githubusercontent.com/6b8d06bc125d816903a1445db8bec2aa6f2dbc02a8ab8ddf475b19f6a98569bd/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f6e6f74696669636174696f6e2f6c6963656e7365)](https://packagist.org/packages/carbon/notification) [![GitHub forks](https://camo.githubusercontent.com/5e071ab5acb2e301b89bf2cebe0ab72dd2fd74c361124f1f64b0c479596d50e5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f436172626f6e5061636b616765732f436172626f6e2e4e6f74696669636174696f6e2e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/CarbonPackages/Carbon.Notification/fork) [![GitHub stars](https://camo.githubusercontent.com/8b36d3f0913ee4002dcf357c904d359bf9e811bb4683086b55278332052097f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f436172626f6e5061636b616765732f436172626f6e2e4e6f74696669636174696f6e2e7376673f7374796c653d736f6369616c266c6162656c3d5374617273)](https://github.com/CarbonPackages/Carbon.Notification/stargazers) [![GitHub watchers](https://camo.githubusercontent.com/30d4cee6f31578093f2b409c1eec5a4b20078dcf78d1644e12851fc01578136a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f436172626f6e5061636b616765732f436172626f6e2e4e6f74696669636174696f6e2e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/CarbonPackages/Carbon.Notification/subscription)

Carbon.Notification Package for Neos CMS
========================================

[](#carbonnotification-package-for-neos-cms)

This package provides a tiny fusion helper for notifications:

Type `info`[![screenshot info](https://user-images.githubusercontent.com/4510166/77485458-7e505900-6e2d-11ea-88f9-2b579bb92d9e.png)](https://user-images.githubusercontent.com/4510166/77485458-7e505900-6e2d-11ea-88f9-2b579bb92d9e.png)

Type `warning`[![screenshot warning](https://user-images.githubusercontent.com/4510166/77485461-7ee8ef80-6e2d-11ea-98df-fab3a134b814.png)](https://user-images.githubusercontent.com/4510166/77485461-7ee8ef80-6e2d-11ea-98df-fab3a134b814.png)

Type `alert`[![screenshot alert](https://user-images.githubusercontent.com/4510166/77485453-7bedff00-6e2d-11ea-9795-97aab52ded6d.png)](https://user-images.githubusercontent.com/4510166/77485453-7bedff00-6e2d-11ea-9795-97aab52ded6d.png)

Type `success`[![screenshot success](https://user-images.githubusercontent.com/4510166/77485460-7ee8ef80-6e2d-11ea-8b1e-ce54cb3e9a7b.png)](https://user-images.githubusercontent.com/4510166/77485460-7ee8ef80-6e2d-11ea-8b1e-ce54cb3e9a7b.png)

Besides these four types, there is also the type `backend`, which on a document, which is in the colors of the Neos Backend, is ideal for a notification. [![screenshot backend](https://user-images.githubusercontent.com/4510166/77485456-7db7c280-6e2d-11ea-87f4-969713364f07.png)](https://user-images.githubusercontent.com/4510166/77485456-7db7c280-6e2d-11ea-87f4-969713364f07.png)

[Carbon.Notification:Tag](Resources/Private/Fusion/Components/Tag.fusion)
-------------------------------------------------------------------------

[](#carbonnotificationtag)

Adds a notification. `type` can be `alert`, `warning` (default), `info`, `success` or `backend`. You need to set `content` to get the notification showing. If you want to add/change a style, you can pass a key/value pair to it. For example, you want to alter the `padding` and want to change the `font-weight` to `bold` you can enter:

```
notification = Carbon.Notification:Tag {
    padding = '12px'
    font-weight = 'bold'

    content = 'Here comes your content'
}
```

With the `lang` attribute you can set an alternative language. Useful if your interface and website languages differ from each other.

[Carbon.Notification:Backend](Resources/Private/Fusion/Components/Backend.fusion)
---------------------------------------------------------------------------------

[](#carbonnotificationbackend)

A variant from `Carbon.Notification:Tag`. This notification gets only shown in the backend. Great for NodeTypes, who need input in the inspector. It has the same capabilities as [Carbon.Notification:Tag](Resources/Private/Fusion/Components/Tag.fusion), it is just extended with `@if.inBackend = ${node.context.inBackend}`

[Carbon.Notification:Data](Resources/Private/Fusion/Components/Data.fusion)
---------------------------------------------------------------------------

[](#carbonnotificationdata)

Add a notification to the backend view. You need to set `content` to get the notification showing. This is great for NodeTypes, who need input in the inspector. Add this prototype to `data-carbon-alert`, `data-carbon-warning`, `data-carbon-info` or `data-carbon-backend` to an element as attribute. You can also pass directly `data-carbon-*` to an element. If the HTML element has no content, the message is shown, otherwise, it will be hidden. This is done with the CSS selector `:not(:emtpy)`

A use-case for this if you want to show a notification if a content collection is empty.

[Carbon.Notification:Document](Resources/Private/Fusion/Components/Document.fusion)
-----------------------------------------------------------------------------------

[](#carbonnotificationdocument)

This sourounds `Carbon.Notification:Tag` with the needed `HTML` Markup for a document.

Customization
-------------

[](#customization)

Every notification load the default styles from the settings `Carbon.Notification.default`. If you want to change some values or add new ones, you can edit them in your `Settings.yaml`.

Per default, there are five types of notification configured. If you want to add your own types, you can extend the setting `Carbon.Notification.types` with your own entries.

For further details, please take a look at the file [`Settings.Carbon.yaml`](Configuration/Settings.Carbon.yaml)

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

[](#installation)

Most of the time you have to make small adjustments to a package (e.g. configuration in `Settings.yaml`). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site package located under `Packages/Sites/`. To install it correctly go to your theme package (e.g.`Packages/Sites/Foo.Bar`) and run following command:

```
composer require carbon/notification --no-update
```

The `--no-update` command prevent the automatic update of the dependencies. After the package was added to your theme `composer.json`, go back to the root of the Neos installation and run `composer update`. Et voilà! Your desired package is now installed correctly.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 92.1% 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 ~111 days

Recently: every ~178 days

Total

22

Last Release

797d ago

Major Versions

0.1.0 → 1.0.12017-12-07

0.1.x-dev → 1.2.22018-11-28

1.3.2 → 2.0.02020-03-24

v2.x-dev → 3.0.02024-03-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fec51ac160a110a31a72a54ac29e276a447d8306205a052d35491ac9cf0589b?d=identicon)[jonnitto](/maintainers/jonnitto)

---

Top Contributors

[![jonnitto](https://avatars.githubusercontent.com/u/4510166?v=4)](https://github.com/jonnitto "jonnitto (35 commits)")[![so-grimm](https://avatars.githubusercontent.com/u/119854907?v=4)](https://github.com/so-grimm "so-grimm (2 commits)")[![daniellienert](https://avatars.githubusercontent.com/u/642226?v=4)](https://github.com/daniellienert "daniellienert (1 commits)")

---

Tags

carbonneoscmsnotificationspackagehelpercarbonflowNeosFUSION

### Embed Badge

![Health badge](/badges/carbon-notification/health.svg)

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

###  Alternatives

[carbon/includeassets

Include your assets (css, js) in an easy way into Neos

14228.6k10](/packages/carbon-includeassets)[sandstorm/templatemailer

Neos and Flow package for simple handling of template-based emails, including CSS inlining

1147.3k2](/packages/sandstorm-templatemailer)

PHPackages © 2026

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