PHPackages                             srayner/civuser - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. srayner/civuser

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

srayner/civuser
===============

ZF2 authentication module

1254PHP

Since Mar 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/srayner/civuser)[ Packagist](https://packagist.org/packages/srayner/civuser)[ RSS](/packages/srayner-civuser/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/d861e2f469e6706335f45761648258e0ed656041544e9e6392cd8da5d3020db8/68747470733a2f2f706f7365722e707567782e6f72672f737261796e65722f636976757365722f762f737461626c65)](https://packagist.org/packages/srayner/civuser)[![Total Downloads](https://camo.githubusercontent.com/b6e549bbee97a7d7bb5eea2e1921e193cfe99c47c4e8ef6ed2bb0275ca787e84/68747470733a2f2f706f7365722e707567782e6f72672f737261796e65722f636976757365722f646f776e6c6f616473)](https://packagist.org/packages/srayner/civuser)[![Latest Unstable Version](https://camo.githubusercontent.com/aa229a04663bd11f0924606e1db138c782528d02fe1f921c1c20994ef421477a/68747470733a2f2f706f7365722e707567782e6f72672f737261796e65722f636976757365722f762f756e737461626c65)](https://packagist.org/packages/srayner/civuser)[![License](https://camo.githubusercontent.com/6a79a52a09c77e88e1c2661ca9b7d1d2468a168123e8b71d2710c4fe3e35a5a2/68747470733a2f2f706f7365722e707567782e6f72672f737261796e65722f636976757365722f6c6963656e7365)](https://packagist.org/packages/srayner/civuser)

CivUser - Authentication Module
===============================

[](#civuser---authentication-module)

Introduction
------------

[](#introduction)

CivUser is a ZF2 module for simple authentication. It can authenticate against a database table or an LDAP directory, such as Microsoft Active Directory.

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

[](#installation)

Install via composer. Just add this module to your composer.json file. Then run composer install.

Post Installation
-----------------

[](#post-installation)

Copy the local.php.dist file into your applications configuration directory and rename it to civuser.local.php

Change the setting to suit. Use either the dbtable config or the ldap config (not both).

Documentation
-------------

[](#documentation)

Four routes are configured;

- /login
- /logout
- /profile
- /change-password

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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.

### Community

Maintainers

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

---

Top Contributors

[![srayner](https://avatars.githubusercontent.com/u/630491?v=4)](https://github.com/srayner "srayner (43 commits)")

### Embed Badge

![Health badge](/badges/srayner-civuser/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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