Skip to content

dietervyncke/oak-flash-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

oak-flash-message

Simple Flash messages for oak

Installation

composer require dietervyncke/oak-flash-message

Example usage

Add a message to the FlashNotifier

<?php

use Tnt\FlashMessage\Facade\Flash;

Flash::message('Thank you for your interest' );

Get all messages from the FlashNotifier

<?php

use Tnt\FlashMessage\Facade\Flash;

// Default message
$flashMessages = Flash::getMessages();