PHPackages                             cuonic/phpauth - 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. cuonic/phpauth

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

cuonic/phpauth
==============

Easy to use PHP Authentication library

13294[3 issues](https://github.com/liamjack/PHPAuth/issues)PHP

Since Jul 3Pushed 7y ago8 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

PHPAuth
=======

[](#phpauth)

About
-----

[](#about)

PHP 7 compatible library for authenticating users using session cookies.

Features
--------

[](#features)

- Login
- Sign up
- Activate account
- Change email address
- Change password
- Delete account
- View active sessions
- Revoke active session
- View security logs
- Logout

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

[](#requirements)

- `>= php v7.0`

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

[](#installation)

`composer require liamjack/phpauth:dev-master`

Usage
-----

[](#usage)

```
require_once('vendor/autoload.php');

$database = new \PHPAuth\Database\MySQL(
    $db_host,
    $db_user,
    $db_pass,
    $db_name
);

$phpauth = new \PHPAuth\PHPAuth($database);

```

See also
--------

[](#see-also)

- [PHPAuth-API](https://github.com/liamjack/PHPAuth-API)A simple REST API layer on top of PHPAuth

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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/114cbac28b4f30337eb16bf7ed83f75175061c808c577b03e97c13a9e629a0a9?d=identicon)[liamjack](/maintainers/liamjack)

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

---

Top Contributors

[![kheera](https://avatars.githubusercontent.com/u/3609493?v=4)](https://github.com/kheera "kheera (5 commits)")[![liamjack](https://avatars.githubusercontent.com/u/821228?v=4)](https://github.com/liamjack "liamjack (1 commits)")

---

Tags

authenticationlibraryphp7phpauthsecurity

### Embed Badge

![Health badge](/badges/cuonic-phpauth/health.svg)

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

###  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)
