PHPackages                             struktal/struktal-infomessages - 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. struktal/struktal-infomessages

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

struktal/struktal-infomessages
==============================

PHP library for displaying info messages to the user

1.0.0(10mo ago)01.5k↑292.3%1MITPHPPHP &gt;=8.2.0CI passing

Since Aug 23Pushed 10mo agoCompare

[ Source](https://github.com/Struktal/struktal-infomessages)[ Packagist](https://packagist.org/packages/struktal/struktal-infomessages)[ RSS](/packages/struktal-struktal-infomessages/feed)WikiDiscussions main Synced 3d ago

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

Struktal-InfoMessages
=====================

[](#struktal-infomessages)

This is a PHP library for displaying info messages to the user across

Installation
------------

[](#installation)

To install this library, include it in your project using Composer:

```
composer require struktal/struktal-infomessages
```

Usage
-----

[](#usage)

You can create info messages using the methods in the `struktal\InfoMessage\InfoMessageHandler` class:

```
use struktal\InfoMessage\InfoMessageHandler;
$infoMessageHandler = new InfoMessageHandler();
$infoMessageHandler->info("Your info message here");
$infoMessageHandler->warning("Your warning message here");
$infoMessageHandler->error("Your error message here");
$infoMessageHandler->success("Your success message here");
```

You can access the messages again using the `getMessages` method:

```
$messages = $infoMessageHandler->getMessages();
foreach($messages as $message) {
    echo $message->getType()->name . ": " . $message->getMessage() . "\n";
}
```

License
-------

[](#license)

This software is licensed under the MIT license. See the [LICENSE](LICENSE) file for more information.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance54

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

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

316d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49905418?v=4)[Jens Ostertag](/maintainers/JensOstertag)[@JensOstertag](https://github.com/JensOstertag)

---

Top Contributors

[![JensOstertag](https://avatars.githubusercontent.com/u/49905418?v=4)](https://github.com/JensOstertag "JensOstertag (1 commits)")

---

Tags

infomessage

### Embed Badge

![Health badge](/badges/struktal-struktal-infomessages/health.svg)

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

PHPackages © 2026

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