Phlash

A simple PHP flash message library.
Title Phlash
Date January 3rd, 2021
Client Personal Project
Work Development, Design
Tools used PHP
Status Completed
Link https://github.com/artbyrab/phlash
Credits
  • Lightning image - Pexels

Phlash is a very simple PHP flash messages library. Phlash does not define how your flash messages look or whether you use javascript to close them or not. Instead, Phlash just provides the very raw tools to quickly add and get flash messages in your PHP app.

Features

  • Flash messages
    • Add one or more flash messages with a type
      • Define your own types like warning, info, danger or anything you desire
    • Get
      • Get your flash messages to show in a view
      • Render any way you like including choosing your own div layouts and naming conventions
    • Clear
      • Clear the flash messages after they have been shown