PHPackages                             ec-doris/php-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. ec-doris/php-cas

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

ec-doris/php-cas
================

Adds CAS support to Laravel 5.x, 6.x, 7.x &amp; 8.x

v4.0.6(3y ago)08.7k2MITPHPPHP &gt;=7.2.0

Since Apr 28Pushed 3y agoCompare

[ Source](https://github.com/ec-doris/cas)[ Packagist](https://packagist.org/packages/ec-doris/php-cas)[ RSS](/packages/ec-doris-php-cas/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (8)Dependencies (3)Versions (32)Used By (0)

CAS
===

[](#cas)

Simple CAS Authentication for Laravel 6-8.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 [Apero 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 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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 69.4% 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 ~106 days

Recently: every ~233 days

Total

27

Last Release

1277d ago

Major Versions

v1.1.0 → v2.0.02016-01-21

v2.1.1 → v3.0.02019-12-06

v3.0.0 → 4.0.02020-03-11

3.0.1 → 4.0.22020-04-28

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.0

v3.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4be861415e3435916b569e77904f55b4f50a807ccadf795aa85c52b0f0a8e06e?d=identicon)[raphdom](/maintainers/raphdom)

---

Top Contributors

[![subfission](https://avatars.githubusercontent.com/u/8132423?v=4)](https://github.com/subfission "subfission (43 commits)")[![angeliquevd](https://avatars.githubusercontent.com/u/3462620?v=4)](https://github.com/angeliquevd "angeliquevd (8 commits)")[![ganlvtech](https://avatars.githubusercontent.com/u/8651285?v=4)](https://github.com/ganlvtech "ganlvtech (2 commits)")[![smaosa](https://avatars.githubusercontent.com/u/275793777?v=4)](https://github.com/smaosa "smaosa (2 commits)")[![coolsam726](https://avatars.githubusercontent.com/u/5610289?v=4)](https://github.com/coolsam726 "coolsam726 (2 commits)")[![wudi](https://avatars.githubusercontent.com/u/3753615?v=4)](https://github.com/wudi "wudi (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)")[![uyab](https://avatars.githubusercontent.com/u/149716?v=4)](https://github.com/uyab "uyab (1 commits)")[![abejenaru](https://avatars.githubusercontent.com/u/1703377?v=4)](https://github.com/abejenaru "abejenaru (1 commits)")

---

Tags

laravellaravel 6laravel 7laravel 8laravel 9SSOcasphpCAS

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ec-doris-php-cas/health.svg)

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

###  Alternatives

[xavrsl/cas

Add CAS server SSO authentication to Laravel 4 and 5

7736.8k](/packages/xavrsl-cas)[mostafaznv/recaptcha

Laravel package for Google Recaptcha v3

2127.5k](/packages/mostafaznv-recaptcha)[itsmurumba/laravel-mpesa

Laravel Package for Mpesa Daraja API

191.6k](/packages/itsmurumba-laravel-mpesa)

PHPackages © 2026

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