PHPackages                             techthom/cas - 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. techthom/cas

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

techthom/cas
============

Adds CAS support to Laravel 5.x - 11.x

1.6.6(1y ago)02.3k1MITPHPPHP &gt;=7.2.0

Since Nov 14Pushed 1y agoCompare

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

READMEChangelogDependencies (4)Versions (8)Used By (0)

CAS
===

[](#cas)

Simple CAS Authentication for Laravel 6-9.x.

This version of CAS, or Central Authentication Service, is designed to integrate with Laravel 6-8 projects that need to implement SSO.
Older version of Laravel may work, but are untested. This package was built for my necessity but can be easily used for anyone requiring CAS/SAML SSO in Laravel 6+. This package is different in mindset as the goal in this project is to be as minimal as possible while offering as much flexibility as needed.

This package offers and abstraction of [Apereo CAS](https://www.apereo.org/projects/cas) (phpCAS), a cross platform and open-source *CAS client* and *server* provider. Be sure to check them out if you intend to implement an SSO service other than AD.

Check out the [wiki](https://github.com/subfission/cas/wiki) for further details.

Updates
-------

[](#updates)

- Dropped support for phpCAS &lt;1.6.0 (dependency vulnerability)
- Support added for Laravel 9.x
- Support added for Laravel 8.x
- Support added for Laravel 7.x
- Updated for Laravel 6.x
- Dropped support for PHP 5.x
- Laravel 5.5 Package Discovery support
- CAS logout method supports redirection service as a secondary argument
- Supports additional CAS versions, including version 1,2,3
- Supports direct phpCAS calls for heavily customized CAS configurations
- Supports logon with custom URL redirects
- Supports logoff with redirect callbacks
- Updated to work with Laravel 5.2 (backwards compatible)
- Uses the latest phpCAS
- Supports verbose logging
- Session handling has been removed from CAS Manager and is moved strictly into the middleware
- You can now leverage the CAS sessions instead of relying on Laravel sessions
- More security fixes
- Cleaner codebase
- Backwards compatible (for the most part)
- More configuration options in the config file available
- Masquerading as a user now supported
- Tested and working with PHP 7.x

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.1% 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 ~150 days

Total

5

Last Release

679d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/39505096eb64013ff32e1a6396759893d42b8599ab05c27674e9c89f0f675506?d=identicon)[TechThom](/maintainers/TechThom)

---

Top Contributors

[![subfission](https://avatars.githubusercontent.com/u/8132423?v=4)](https://github.com/subfission "subfission (47 commits)")[![thomastecher](https://avatars.githubusercontent.com/u/91534188?v=4)](https://github.com/thomastecher "thomastecher (4 commits)")[![ganlvtech](https://avatars.githubusercontent.com/u/8651285?v=4)](https://github.com/ganlvtech "ganlvtech (2 commits)")[![coolsam726](https://avatars.githubusercontent.com/u/5610289?v=4)](https://github.com/coolsam726 "coolsam726 (2 commits)")[![techthom](https://avatars.githubusercontent.com/u/107846254?v=4)](https://github.com/techthom "techthom (2 commits)")[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (1 commits)")[![stephane-monnot](https://avatars.githubusercontent.com/u/6066368?v=4)](https://github.com/stephane-monnot "stephane-monnot (1 commits)")[![uyab](https://avatars.githubusercontent.com/u/149716?v=4)](https://github.com/uyab "uyab (1 commits)")[![vitorhugomattos](https://avatars.githubusercontent.com/u/2721565?v=4)](https://github.com/vitorhugomattos "vitorhugomattos (1 commits)")[![wpeisert](https://avatars.githubusercontent.com/u/15231891?v=4)](https://github.com/wpeisert "wpeisert (1 commits)")[![abejenaru](https://avatars.githubusercontent.com/u/1703377?v=4)](https://github.com/abejenaru "abejenaru (1 commits)")[![wudi](https://avatars.githubusercontent.com/u/3753615?v=4)](https://github.com/wudi "wudi (1 commits)")[![antoninguyot](https://avatars.githubusercontent.com/u/17387249?v=4)](https://github.com/antoninguyot "antoninguyot (1 commits)")[![defrox](https://avatars.githubusercontent.com/u/5087774?v=4)](https://github.com/defrox "defrox (1 commits)")[![flartet](https://avatars.githubusercontent.com/u/1814609?v=4)](https://github.com/flartet "flartet (1 commits)")[![kberzinch](https://avatars.githubusercontent.com/u/10482109?v=4)](https://github.com/kberzinch "kberzinch (1 commits)")

---

Tags

laravellaravel 6laravel 7laravel 8laravel 9laravel 10laravel 11SSOcasphpCAS

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/techthom-cas/health.svg)

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

###  Alternatives

[ip2location/ip2location-laravel

Lookup for visitor's IP information, such as country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type.

83516.9k1](/packages/ip2location-ip2location-laravel)[ip2location/ip2proxy-laravel

Allows user to query an IP address if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.

1063.2k](/packages/ip2location-ip2proxy-laravel)[itsmurumba/laravel-mpesa

Laravel Package for Mpesa Daraja API

191.6k](/packages/itsmurumba-laravel-mpesa)[xavrsl/cas

Add CAS server SSO authentication to Laravel 4 and 5

7736.8k](/packages/xavrsl-cas)

PHPackages © 2026

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