PHPackages                             devp-eu/tmcms-module-sessions - 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. devp-eu/tmcms-module-sessions

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

devp-eu/tmcms-module-sessions
=============================

Module Sessions for TMCms

2595PHP

Since Aug 6Pushed 8y ago3 watchersCompare

[ Source](https://github.com/devp-eu/tmcms-module-sessions)[ Packagist](https://packagist.org/packages/devp-eu/tmcms-module-sessions)[ RSS](/packages/devp-eu-tmcms-module-sessions/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Usage:

Check session

```
$session = ModuleSessions::check();
```

$session will be false or instance of SessionEntity class

Start session, example with ModuleClients

```
// Check supplied client data
$client = ModuleClients::checkAuthAndGetClient($email, $password);
if ($client) {
    // Start session and store logged-in user's ID
    ModuleSessions::start($client->getId(), $some_additional_data);
}
```

One of the most useful new functions is kicking other client's session to prevent multiple log-ins with one account

```
// Remove all old client's sessions to kick all previous log-ins
ModuleSessions::deleteAllClientSessions($client);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/22a1474541a7dfa85f66c0b18736dc851c4f4718174e13c5f3b6aff6728f080c?d=identicon)[devp.eu](/maintainers/devp.eu)

---

Top Contributors

[![neTpyceB](https://avatars.githubusercontent.com/u/3941619?v=4)](https://github.com/neTpyceB "neTpyceB (14 commits)")

### Embed Badge

![Health badge](/badges/devp-eu-tmcms-module-sessions/health.svg)

```
[![Health](https://phpackages.com/badges/devp-eu-tmcms-module-sessions/health.svg)](https://phpackages.com/packages/devp-eu-tmcms-module-sessions)
```

PHPackages © 2026

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