PHPackages                             mouf/security.userservice - 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. [Security](/categories/security)
4. /
5. mouf/security.userservice

ActiveMouf-library[Security](/categories/security)

mouf/security.userservice
=========================

A set of PHP class to manage log-in and log-out of web applications and that integrates with Mouf.

v3.0.1(3y ago)0207.5k3[1 issues](https://github.com/thecodingmachine/security.userservice/issues)13MITPHPPHP ^8

Since Jun 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/thecodingmachine/security.userservice)[ Packagist](https://packagist.org/packages/mouf/security.userservice)[ Docs](https://github.com/thecodingmachine/security.userservice)[ RSS](/packages/mouf-securityuserservice/feed)WikiDiscussions 3.0 Synced 1mo ago

READMEChangelog (2)Dependencies (16)Versions (7)Used By (13)

UserService: Managing users with Mouf
=====================================

[](#userservice-managing-users-with-mouf)

This package is part of the [Mouf PHP framework](http://mouf-php.com) and contains objects and interfaces to manage users' authentication.

It allows you to manage logged users. UserService does authentication, not authorization. If you want to manage users rights, have a look at the [Right Service](http://mouf-php.com/packages/mouf/security.rightsservice/README.md).

Simply put, UserService:

- manages the user's session for you
- allows you to login / logout (`login()` and `logoff()` methods)
- knowns if the current user is logged or not (`isLogged()`)
- allows you to retrieve the current logged user (`getLoggedUser()`)

&gt; Install UserService: \[Installation\](doc/usersserviceInstallation.md)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 67.4% 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 ~517 days

Recently: every ~586 days

Total

7

Last Release

1259d ago

Major Versions

2.2.x-dev → v3.0.02022-12-06

PHP version history (2 changes)v2.0.0PHP &gt;=5.3.0

v3.0.0PHP ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (29 commits)")[![nguyenk](https://avatars.githubusercontent.com/u/2227554?v=4)](https://github.com/nguyenk "nguyenk (7 commits)")[![cbalda](https://avatars.githubusercontent.com/u/6704490?v=4)](https://github.com/cbalda "cbalda (4 commits)")[![homersimpsons](https://avatars.githubusercontent.com/u/16977446?v=4)](https://github.com/homersimpsons "homersimpsons (2 commits)")[![alexisprevot](https://avatars.githubusercontent.com/u/11993949?v=4)](https://github.com/alexisprevot "alexisprevot (1 commits)")

---

Tags

securityuserUser management

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mouf-securityuserservice/health.svg)

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

###  Alternatives

[codeconsortium/ccdn-user-security-bundle

CCDN User Security Bundle

60100.7k](/packages/codeconsortium-ccdn-user-security-bundle)[maba/gentle-force-bundle

Symfony bundle that integrates gentle-force library for limiting both brute-force attempts and ordinary requests, using leaky/token bucket algorithm, based on Redis

53517.6k1](/packages/maba-gentle-force-bundle)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

845.7k](/packages/tommyknocker-pdo-database-class)[perimeterx/php-sdk

PerimeterX SDK for PHP

1885.2k](/packages/perimeterx-php-sdk)[websoftwares/throttle

Ban identifier after certain amount of requests in a given timeframe.

1249.7k](/packages/websoftwares-throttle)

PHPackages © 2026

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