Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Handle all system messages (alerts) easily with this lightweight package.
PHP
branch: master

This branch is 1 commit ahead, 3 commits behind dbpolito:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
classes
config
views
README.md
bootstrap.php

README.md

Messages Package

Message is a lightweight package that helps you to handle with Alerts of your system. Our default views are using Twitter Bootstrap

Default Types

  • Success
  • Info
  • Warning
  • Error

Add Messages

// Simply Add a New Message
Message::success('First Success Message');
Message::success('Second Success Message');

Message::info('Second Info Message');
Message::warning('Second Warning Message');
Message::error('Second Error Message');

// Clean all Messages and Add this Message
Message::success('First Success Message Again.', true);

Get Messages

// Get All Messages
Message::get();

// Get Success Messages
Message::get('success');

More Docs comming soon

Something went wrong with that request. Please try again.