PHPackages                             academy01/semej - 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. academy01/semej

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

academy01/semej
===============

Simple package to show alert messages using session

v1.0.0.x-dev(2y ago)429MITPHP

Since Jul 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mhnobakht/Semej)[ Packagist](https://packagist.org/packages/academy01/semej)[ RSS](/packages/academy01-semej/feed)WikiDiscussions v1.0.0 Synced yesterday

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

Semej (Session Message Manager)
===============================

[](#semej-session-message-manager)

show alert messages using easily using `Semej`

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

[](#installation)

Install package using composer:

```
composer require academy01/semej
```

then add autoload

```
require 'vendor/autoload.php';
```

OR, just include `Semej.php` file in to your document and Enjoy!

```
include_once "dist/Semej.php";
```

Usage
-----

[](#usage)

Set arguments (`Status`, `Title`, `Body`)

```
Semej::set('false', 'Error 404', 'File Not Found!');
```

print `status`

```
Semej::status();
```

print `title`

```
Semej::title();
```

print `Body`

```
Semej::message();
```

delete `session`

```
Semej::unset();
```

### print complete alert

[](#print-complete-alert)

this method require to `bootstrap CDN` included! with this method you can show the full alert message in your document. in the method, valid `status` value is on of These: `info` `primary` `danger` `dark` `warning` `success` `secondary` `light`

```
// set message like this
Semej::set('danger', 'error', 'file not found!');

// and show message like this
Semej::show();
```

### alert message using sweet alert

[](#alert-message-using-sweet-alert)

this method require to `sweetalert js cdn` included! with thie method you can alert the body of message in your document.

```
Semej::alert();
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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

1080d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98ce2ef28d2083496859584b153a9dfeee2298e6b2ed3e0e96c41b28ca1aff91?d=identicon)[mhnobakht](/maintainers/mhnobakht)

---

Top Contributors

[![mhnobakht](https://avatars.githubusercontent.com/u/80899303?v=4)](https://github.com/mhnobakht "mhnobakht (15 commits)")

### Embed Badge

![Health badge](/badges/academy01-semej/health.svg)

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

###  Alternatives

[scandipwa/source

ScandiPWA

54861.2k3](/packages/scandipwa-source)

PHPackages © 2026

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