PHPackages                             aceer/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. [Framework](/categories/framework)
4. /
5. aceer/message

ActiveLibrary[Framework](/categories/framework)

aceer/message
=============

PHP classes to send a message, can be used in Anax MVC

v1.0(10y ago)032MITPHPPHP &gt;=5.4

Since Jun 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Aceer/message)[ Packagist](https://packagist.org/packages/aceer/message)[ Docs](https://github.com/aceer/message)[ RSS](/packages/aceer-message/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

CMessage
========

[](#cmessage)

[![Build Status](https://camo.githubusercontent.com/eec256fa327138525d8d64ee66fea9992559888641e229ce220e91fdb6a2ae3c/68747470733a2f2f7472617669732d63692e6f72672f41636565722f6d6573736167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Aceer/message.svg?branch=master)[![Build Status](https://camo.githubusercontent.com/f5814069ff48600e84eb56a1330dead250d41f5e6da9a7c248842e2d62d98367/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f41636565722f6d6573736167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Aceer/message/)[![Build Status](https://camo.githubusercontent.com/ec653f042a8d0c96c9c4fcf402887ca53953a790f0056be66a9da6e6c6cd5ced/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f41636565722f6d6573736167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Aceer/message/)

This is a class to show messages with PHP and Javascript. Use it with ANAX MVC.

You can choose how long you what the message to show or if the message will stay all the time.

=========== User guide:
-----------------------

[](#user-guide)

Just download the class and include it in the php autoloader. After that create a new object of the class, ex:

```
$message = new /Aceer/Message/CMessage();

```

Then choose what kind of message you want to send (success,danger,warning,info).

```
$message->success("You have successfully logged in!");

```

You can also supply how long the message will display before it disappear and if value is inputed the message will not disappear.

```
$message->success("You have successfully logged in!",3000);
// 3000 = 3 seconds

```

There are 4 type of messages to send:

```
- danger
	CSS class = 'alert alert-danger';
- success
	CSS class = 'alert alert-success';
- info
	CSS class = 'alert alert-info';
- warning
	CSS class = 'alert alert-warning';

```

Thay use Twitter Bootstrap css standard but if you want you can make your own default css class values:

```
$message = new /Aceer/Message/CMessage(
	[
		"success" => "some css class",
		"danger" => "some css class",
		"warning" => "some css class",
		"info" => "some css class",
	]);

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3980d ago

### Community

Maintainers

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

---

Top Contributors

[![Aceer](https://avatars.githubusercontent.com/u/11210312?v=4)](https://github.com/Aceer "Aceer (36 commits)")

---

Tags

messageframeworkmvcanax

### Embed Badge

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

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

PHPackages © 2026

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