PHPackages                             ocdladefense/mw-oauth - 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. ocdladefense/mw-oauth

ActiveWordpress-theme[Authentication &amp; Authorization](/categories/authentication)

ocdladefense/mw-oauth
=====================

A mediawiki extension for OAuth.

v2.0.3(4y ago)046PHP

Since Nov 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ocdladefense/mw-oauth)[ Packagist](https://packagist.org/packages/ocdladefense/mw-oauth)[ RSS](/packages/ocdladefense-mw-oauth/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (23)Used By (0)

wiki-extension-oauth
====================

[](#wiki-extension-oauth)

### OAuth and Login Related Links.

[](#oauth-and-login-related-links)

1. [https://www.mediawiki.org/wiki/Extension:OAuth2\_Client](https://www.mediawiki.org/wiki/Extension:OAuth2_Client)
2.
3.  : Documentation for "WebRequest".
4. [https://www.mediawiki.org/wiki/Manual:SessionManager\_and\_AuthManager](https://www.mediawiki.org/wiki/Manual:SessionManager_and_AuthManager)
5.  : Documentation for OutputPage class.
6.  (Uses the "onBeforeInitialization", ) : pluggableAuth extension (oauth example).
7. [https://www.mediawiki.org/wiki/Manual:Database\_access](https://www.mediawiki.org/wiki/Manual:Database_access)
8.  : All available mediawiki hooks.
9.  : Documentation for the "BeforeInitialize" hook.

### MediaWiki defined database constants

[](#mediawiki-defined-database-constants)

DB\_REPLICA = -1 DB\_PRIMARY = -2 DB\_MASTER = DB\_PRIMARY

#### Features ???

[](#features-)

This automates the recommended code checkers for PHP and JavaScript code in Wikimedia projects (see [https://www.mediawiki.org/wiki/Continuous\_integration/Entry\_points](https://www.mediawiki.org/wiki/Continuous_integration/Entry_points)). To take advantage of this automation.

1. install nodejs, npm, and PHP composer
2. change to the extension's directory
3. `npm install`
4. `composer install`

Once set up, running `npm test` and `composer test` will run automated code checks.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~3 days

Total

20

Last Release

1583d ago

Major Versions

v1.0.1 → v2.0.32021-11-11

### Community

Maintainers

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

---

Top Contributors

[![ocdladefense](https://avatars.githubusercontent.com/u/6232180?v=4)](https://github.com/ocdladefense "ocdladefense (5 commits)")

### Embed Badge

![Health badge](/badges/ocdladefense-mw-oauth/health.svg)

```
[![Health](https://phpackages.com/badges/ocdladefense-mw-oauth/health.svg)](https://phpackages.com/packages/ocdladefense-mw-oauth)
```

###  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)[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)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)

PHPackages © 2026

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