PHPackages                             litto/message - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. litto/message

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

litto/message
=============

Flash Message for showing Errors in PHP applications

v2.0(4y ago)091proprietaryPHPPHP &gt;=5.3.6

Since Feb 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/litto/message)[ Packagist](https://packagist.org/packages/litto/message)[ RSS](/packages/litto-message/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

Message Library
===============

[](#message-library)

Display Message Simple Library for PHP projects like Errors, Warning, Success , Notices.etc..

\##How to Install?

Install Using Composer or Direcly you can download from the Github Code You can install via composer by using this command:-

composer require litto/message:v2.0

\##How to Use?

1. Always remember to start session in your application using session-start();
2. Copy the Message.php in Vendor folder or in your folder of your choice
3. Include The file using autoload or using include function
4. For Setting Message pass like:-

$message = new Message('Your Message Text','Messagetype string'); $message-&gt;setMessage();

Message Type Strings - error,message,warning

5. To Display call it like:-

showMessage(); $message-&gt;clearmessage(); ?&gt; 6. The message display will be using the boostrap alert styles. if you want to change the design class, you can chnage in the Message.php file

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1564d ago

Major Versions

v1.0 → v2.02022-02-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0409ad96d8dabd00048f79a63785982e4ed1c05a4e6ab52f6ff12201a7c5dd8?d=identicon)[Iamlitto](/maintainers/Iamlitto)

---

Top Contributors

[![litto](https://avatars.githubusercontent.com/u/941390?v=4)](https://github.com/litto "litto (12 commits)")

### Embed Badge

![Health badge](/badges/litto-message/health.svg)

```
[![Health](https://phpackages.com/badges/litto-message/health.svg)](https://phpackages.com/packages/litto-message)
```

###  Alternatives

[humanmade/mu-plugins-loader

A WordPress must-use plugin autoloader for mu-plugins in directories

1122.3k](/packages/humanmade-mu-plugins-loader)[caouecs/bootstrap3

Bootstrap 3 for Laravel 4

111.9k](/packages/caouecs-bootstrap3)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
