PHPackages                             monolyth/booby - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. monolyth/booby

ActiveLibrary[Queues &amp; Workers](/categories/queues)

monolyth/booby
==============

Flash message storage system for Monolyth unframework

1.2.2(6y ago)03061MITPHPPHP &gt;=7.3

Since Sep 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/monolyth-php/booby)[ Packagist](https://packagist.org/packages/monolyth/booby)[ RSS](/packages/monolyth-booby/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (9)Used By (1)

Booby
=====

[](#booby)

Generic flash message storage system

"Flash messages" are those one-off messages a web application might want to show to a User, e.g. "Changes saved successfully". The developer wants to add these messages and be ensured they get shown exactly once, whenever (between page loads, after redirect, on the desktop when generated in an Ajax request etc.).

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

[](#installation)

### Composer (recommended)

[](#composer-recommended)

```
$ composer require monolyth/booby
```

### Manual

[](#manual)

1. Clone or download the repository;
2. Add `/path/to/booby/src` for namespace `Monolyth\Booby` in your autoloader.

Usage
-----

[](#usage)

Adding a message is simple:

```
