PHPackages                             pmvc-plugin/auth - 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. pmvc-plugin/auth

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

pmvc-plugin/auth
================

PMVC authentication lib

0.1.14(8y ago)027MITPHP

Since Jul 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pmvc-plugin/auth)[ Packagist](https://packagist.org/packages/pmvc-plugin/auth)[ RSS](/packages/pmvc-plugin-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/eeec9331fee5a905fc492bc3b5ed19af880ec6ebd3f1ee6709de72f15ffa8d6a/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f617574682f762f737461626c65)](https://packagist.org/packages/pmvc-plugin/auth)[![Latest Unstable Version](https://camo.githubusercontent.com/38a722519f2cee096b45deeb8d3b42790ff5b349b638b183163dbd1aad341420/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f617574682f762f756e737461626c65)](https://packagist.org/packages/pmvc-plugin/auth)[![Build Status](https://camo.githubusercontent.com/adcc4606cd52947660371ce29821071a6ea50063c60cc1a22ca34a2d9678d82e/68747470733a2f2f7472617669732d63692e6f72672f706d76632d706c7567696e2f617574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pmvc-plugin/auth)[![License](https://camo.githubusercontent.com/ec73d25c628f34e4d93b62063c83acb72da7b24d8809c366a46888f6b86bba41/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f617574682f6c6963656e7365)](https://packagist.org/packages/pmvc-plugin/auth)[![Total Downloads](https://camo.githubusercontent.com/d0e2cee6c6cdd0e71af5fb5f382286a85b06a346c67b473756e0e327ab3f1177/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f617574682f646f776e6c6f616473)](https://packagist.org/packages/pmvc-plugin/auth)

auth
====

[](#auth)

Login Process
-------------

[](#login-process)

call loginBegin -&gt; ask third party server -&gt; call loginFinish -&gt; handle authorization result

Check Login status
------------------

[](#check-login-status)

1. isAuthorized
2. isRegisted

How work
--------

[](#how-work)

### 1. go to index

[](#1-go-to-index)

- Gen return url
- Ask third party remote server
- Third party server back return result to return url

### 2. Return url

[](#2-return-url)

- Check third party server run result
- if succcess redirect to success page else go to error page

### 3. Success page or Error page

[](#3-success-page-or-error-page)

Install with Composer
---------------------

[](#install-with-composer)

### 1. Download composer

[](#1-download-composer)

- mkdir test\_folder
- curl -sS  | php

### 2. Install by composer.json or use command-line directly

[](#2-install-by-composerjson-or-use-command-line-directly)

#### 2.1 Install by composer.json

[](#21-install-by-composerjson)

- vim composer.json

```
{
    "require": {
        "pmvc-plugin/auth": "dev-master"
    }
}

```

- php composer.phar install

#### 2.2 Or use composer command-line

[](#22-or-use-composer-command-line)

- php composer.phar require pmvc-plugin/auth

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3218d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f593111e77142a10224458b0436e6b2d6f3e537f924c03130f0208bd3c4477f?d=identicon)[HillLiu](/maintainers/HillLiu)

---

Top Contributors

[![HillLiu](https://avatars.githubusercontent.com/u/1877738?v=4)](https://github.com/HillLiu "HillLiu (37 commits)")

---

Tags

authenticationloginplug-inpmvc

### Embed Badge

![Health badge](/badges/pmvc-plugin-auth/health.svg)

```
[![Health](https://phpackages.com/badges/pmvc-plugin-auth/health.svg)](https://phpackages.com/packages/pmvc-plugin-auth)
```

###  Alternatives

[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M67](/packages/auth0-auth0-php)[crada/phalcon-user-plugin

User plugin for Phalcon PHP framework

1892.5k1](/packages/crada-phalcon-user-plugin)[org_heigl/hybridauth

Lightweight Authentication Module for Zend-Framework 2 using the hybridauth-library

211.9k](/packages/org-heigl-hybridauth)

PHPackages © 2026

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