PHPackages                             xm/flash-bundle - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. xm/flash-bundle

ActiveSymfony-bundle[Localization &amp; i18n](/categories/localization)

xm/flash-bundle
===============

Makes adding &amp; translating flash messages in Symfony simple.

1.1.1(8y ago)03141MITPHPPHP ^5.6 || ^7.0

Since Jul 18Pushed 8y ago2 watchersCompare

[ Source](https://github.com/xmmedia/XMFlashBundle)[ Packagist](https://packagist.org/packages/xm/flash-bundle)[ Docs](https://github.com/xmmedia/XMFlashBundle)[ RSS](/packages/xm-flash-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (1)

XMFlashBundle
=============

[](#xmflashbundle)

Makes adding &amp; translating flash messages in Symfony simple.

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

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ php composer.phar require xm/flash-bundle
```

This command requires [Composer](https://getcomposer.org/download/).

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
