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

ActiveLibrary

olehcherenkov/cas
=================

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

1.0.2(1y ago)0578↓100%MITPHPPHP &gt;=7.2.0

Since Aug 27Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

CAS
===

[](#cas)

Simple CAS Authentication for Laravel 6-10.x.

This version of CAS, or Central Authentication Service, is designed to integrate with Laravel 6-10 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)

- Support added for Laravel 10.x
- 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

29

—

LowBetter than 60% of packages

Maintenance40

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

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

Every ~241 days

Total

3

Last Release

505d ago

### Community

Maintainers

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

---

Top Contributors

[![subfission](https://avatars.githubusercontent.com/u/8132423?v=4)](https://github.com/subfission "subfission (47 commits)")[![ocherenkov](https://avatars.githubusercontent.com/u/31883713?v=4)](https://github.com/ocherenkov "ocherenkov (3 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)")[![ipimpat](https://avatars.githubusercontent.com/u/450038?v=4)](https://github.com/ipimpat "ipimpat (1 commits)")[![kberzinch](https://avatars.githubusercontent.com/u/10482109?v=4)](https://github.com/kberzinch "kberzinch (1 commits)")[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (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)")

---

Tags

laravellaravel 6laravel 7laravel 8laravel 9SSOcasphpCAS

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[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)[prevailexcel/laravel-nowpayments

A Laravel Package for NOWPayments

1414.2k](/packages/prevailexcel-laravel-nowpayments)

PHPackages © 2026

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