PHPackages                             spanky/flasher - 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. spanky/flasher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

spanky/flasher
==============

v0.0.3(11y ago)520MITPHP

Since May 24Pushed 11y ago1 watchersCompare

[ Source](https://github.com/samdjstevens/flasher)[ Packagist](https://packagist.org/packages/spanky/flasher)[ RSS](/packages/spanky-flasher/feed)WikiDiscussions master Synced 1w ago

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

Flasher
=======

[](#flasher)

A simple PHP (5.3+) package to ease the process of displaying feedback to users of your website as they interact with it.

This package comes in handy when you want to provide some feedback to the user on the next page load, after they complete certain actions on your site. For example, a messaging confirming that they have successfully signed up, or deleted their account.

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

[](#installation)

The easiest and best way to install the package is via [Composer](http://getcomposer.org). Add the `spanky/flasher` package to your requirements, and `composer install`.

```
{
    "require": {
        "spanky/flasher": "dev-master"
    }
}
```

Once the package has been installed, ensure the Composer autoloader is required before trying to use Flasher.

```
    require 'vendor/autoload.php';
```

Usage
-----

[](#usage)

To get up and running, first we need to make an instance of the `Spanky\Flasher\FlasherManager` class.

To do so, simply call the `make()` method on the `Spanky\Flasher\Factory` class.

```
