PHPackages                             gtsciences/mw\_casauth - 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. gtsciences/mw\_casauth

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

gtsciences/mw\_casauth
======================

MediaWiki CAS auth plugin, adapted

3.0-beta1(4y ago)00[2 issues](https://github.com/konfuzed/CASAuth/issues)GPL-2.0-or-laterPHP

Since Feb 24Pushed 9mo agoCompare

[ Source](https://github.com/konfuzed/CASAuth)[ Packagist](https://packagist.org/packages/gtsciences/mw_casauth)[ RSS](/packages/gtsciences-mw-casauth/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

CASAuth Extension for Mediawiki
===============================

[](#casauth-extension-for-mediawiki)

This is compatible with version MediaWiki version 1.33

This differs from the original by offering a new CA Certificate setting that is implemented in the casSetup function.

It also adds a check in casLogin() to see whether a user is already authenticated through another web application before forcing the authentication. This ensures that the phpCAS:getUser() method is able to get the username in the event the user is already authenticated through another session, and prevents the user from needing to log out of their institution's applications before logging into the MediaWiki.

This is forked from the CWRUChielLab/CASAuth repo, both this version and the original seem to be compatible with newer versions of MediaWiki.

Below is the original README content from CWRUChielLab/CASAuth :

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

[](#introduction)

The CASAuth extension facilitates CAS authentication for your Mediawiki installation. This particular code is derived from work found [here](http://www.mediawiki.org/wiki/Extension:CASAuthentication).

This code is customized towards usage for private wikis, with the ability to restrict access to the wiki to specific usernames.

This extension is currently written for and tested against Mediawiki 1.27 and 1.23 with phpCAS 1.3.3. However, if you find it works well against a different version of Mediawiki and/or phpCAS, please feel free to let me know and I will keep track of it in this README.

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

[](#installation)

Assuming a working CAS system, installation should take under 15 minutes. Assume $WIKI is the directory for your wiki.

1. Create folder $WIKI/extensions/CASAuth/
2. Download this source code into that directory
3. Download the [phpCAS](https://wiki.jasig.org/display/CASC/phpCAS) extension and extract it to the folder $WIKI/extensions/CASAuth/CAS/
4. Add the following line to your LocalSettings.php

    ```
    require_once( "$IP/extensions/CASAuth/CASAuth.php" );
    ```
5. In the $WIKI/extensions/CASAuth/ directory, copy the CASAuthSettings.php.template file to CASAuthSettings.php and modify it for your environment.
6. You should now have working CAS authentication for your wiki!

Credits
-------

[](#credits)

Source code found here is derived from the extension found [here](http://www.mediawiki.org/wiki/Extension:CASAuthentication), originally written by Ioannis Yessios.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance41

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 61.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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1590d ago

### Community

Maintainers

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

---

Top Contributors

[![jpgill86](https://avatars.githubusercontent.com/u/241234?v=4)](https://github.com/jpgill86 "jpgill86 (19 commits)")[![amirdt22](https://avatars.githubusercontent.com/u/398975?v=4)](https://github.com/amirdt22 "amirdt22 (4 commits)")[![arusso](https://avatars.githubusercontent.com/u/561997?v=4)](https://github.com/arusso "arusso (3 commits)")[![konfuzed](https://avatars.githubusercontent.com/u/871930?v=4)](https://github.com/konfuzed "konfuzed (3 commits)")[![WEP11](https://avatars.githubusercontent.com/u/2349210?v=4)](https://github.com/WEP11 "WEP11 (2 commits)")

### Embed Badge

![Health badge](/badges/gtsciences-mw-casauth/health.svg)

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

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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