PHPackages                             fabio286/php-pwauth - 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. fabio286/php-pwauth

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

fabio286/php-pwauth
===================

A pwauth driver in PHP

10PHP

Since Jan 21Pushed 7y agoCompare

[ Source](https://github.com/Fabio286/php-pwauth)[ Packagist](https://packagist.org/packages/fabio286/php-pwauth)[ RSS](/packages/fabio286-php-pwauth/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP drivers for PAM authentication
==================================

[](#php-drivers-for-pam-authentication)

Requirements
------------

[](#requirements)

PAM authentication drivers works by passing username and password to the application **Pwauth**, so this application is required.

It's possible to install this application by running `sudo apt-get install pwauth` or via sources.

Pwauth sources available at:

Usage
-----

[](#usage)

Instantiate the `PWAuth` class and invoke the` Authenticate` method, passing it user and password.

```
$pwauth = new PWAuth;
$login = $pwauth->Authenticate('username', 'password');
```

It returns an associative array with user informations.

```
$login['user']    // Username
$login['uid']     // ID
$login['gid']     // Group ID
$login['comment'] // Comment
$login['dir']     // Directory
$login['shell']   // Shell

// GECOS FORMAT FIELDS
$login['name']     // Name
$login['building'] // Buolding
$login['phone']    // Phone
$login['other']    // Other
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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/3c877f4273be32d4c480933b052b1b274bc2edbd2a4f62483aa8ed1458bb9767?d=identicon)[Fabio286](/maintainers/Fabio286)

---

Top Contributors

[![Fabio286](https://avatars.githubusercontent.com/u/31471771?v=4)](https://github.com/Fabio286 "Fabio286 (8 commits)")

---

Tags

pam-authenticationphppwauth

### Embed Badge

![Health badge](/badges/fabio286-php-pwauth/health.svg)

```
[![Health](https://phpackages.com/badges/fabio286-php-pwauth/health.svg)](https://phpackages.com/packages/fabio286-php-pwauth)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)[better-futures-studio/filament-local-logins

This is my package filament-local-logins

1334.6k](/packages/better-futures-studio-filament-local-logins)

PHPackages © 2026

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