Simplified way to handle (add/display) Symfony flash messages. Client side scripts are written in pure JavaScript. https://packagist.org/packages/ras/flash-alert-bundle
Since this repo doesn't seem to be maintained anymore I forked the repo and made the fix there. (Also added fix to twig deprecation error from other issue reported)
The services.yml files doesn't allow key'd arguments in the latest version of symfony (3.3)
Example:
Broken:
services: ras_flash_alert.alert_reporter: class: Ras\Bundle\FlashAlertBundle\Model\AlertReporter arguments: alertManager: "@ras_flash_alert.alert_manager"
Fixed
services: ras_flash_alert.alert_reporter: class: Ras\Bundle\FlashAlertBundle\Model\AlertReporter arguments: ["@ras_flash_alert.alert_manager"]
Since this repo doesn't seem to be maintained anymore I forked the repo and made the fix there. (Also added fix to twig deprecation error from other issue reported)
https://github.com/edinchev/FlashAlertBundle