PHPackages                             avanza-git/laravel-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. avanza-git/laravel-cas

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

avanza-git/laravel-cas
======================

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

2.0.3(2mo ago)01.1k↑513.3%MITPHPPHP &gt;=7.2.0CI failing

Since Jul 20Pushed 2mo agoCompare

[ Source](https://github.com/avanza-git/laravel-cas)[ Packagist](https://packagist.org/packages/avanza-git/laravel-cas)[ RSS](/packages/avanza-git-laravel-cas/feed)WikiDiscussions 2.0 Synced today

READMEChangelog (4)Dependencies (10)Versions (6)Used By (0)

Repository Archival Notice – Feb 2025
=====================================

[](#repository-archival-notice--feb-2025)

As of June 2024, the apereo/phpCAS repository is no longer actively maintained or updated and we have seen no progress on finding new maintainers. As a result, this codebase remains in a stagnant state with end-of-life (EOL) dependencies. To mitigate security risks for new projects, this repository is now scheduled for immediate archival.

We strongly recommend exploring alternative CAS solutions for future development.

- IT

---

CAS
===

[](#cas)

Simple CAS Authentication for Laravel 6-13.x.

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

ChangeLog
---------

[](#changelog)

### Release 5.0.0

[](#release-500)

- Support added for Laravel 11.x
- Added phpCAS log control
- Refactor internal design to support tests
- Add GitHub actions to run tests and linting

### Release 4 and earlier

[](#release-4-and-earlier)

- 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

40

—

FairBetter than 86% of packages

Maintenance84

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 51.6% 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 ~67 days

Total

5

Last Release

81d ago

Major Versions

1.0.0 → 2.0.12025-07-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/74a095394f23af8054026e5fbc8d218d96d52af25fea7b1723d087b53ef60c2d?d=identicon)[avanza](/maintainers/avanza)

---

Top Contributors

[![subfission](https://avatars.githubusercontent.com/u/8132423?v=4)](https://github.com/subfission "subfission (48 commits)")[![tepeds](https://avatars.githubusercontent.com/u/162032891?v=4)](https://github.com/tepeds "tepeds (16 commits)")[![hadiyahaya](https://avatars.githubusercontent.com/u/106661351?v=4)](https://github.com/hadiyahaya "hadiyahaya (7 commits)")[![m0stwan1ed](https://avatars.githubusercontent.com/u/9297258?v=4)](https://github.com/m0stwan1ed "m0stwan1ed (4 commits)")[![coolsam726](https://avatars.githubusercontent.com/u/5610289?v=4)](https://github.com/coolsam726 "coolsam726 (2 commits)")[![smaosa](https://avatars.githubusercontent.com/u/275793777?v=4)](https://github.com/smaosa "smaosa (2 commits)")[![ganlvtech](https://avatars.githubusercontent.com/u/8651285?v=4)](https://github.com/ganlvtech "ganlvtech (2 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)")[![dstepe](https://avatars.githubusercontent.com/u/2804725?v=4)](https://github.com/dstepe "dstepe (1 commits)")[![flartet](https://avatars.githubusercontent.com/u/1814609?v=4)](https://github.com/flartet "flartet (1 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)")

---

Tags

laravellaravel 6laravel 7laravel 8laravel 9laravel 10laravel 11laravel 12SSOcasphpCASlaravel-13

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avanza-git-laravel-cas/health.svg)

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

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k38.2M84](/packages/aws-aws-sdk-php-laravel)[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.

82548.8k1](/packages/ip2location-ip2location-laravel)[itsmurumba/laravel-mpesa

Laravel Package for Mpesa Daraja API

208.2k](/packages/itsmurumba-laravel-mpesa)[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.

1070.7k](/packages/ip2location-ip2proxy-laravel)[workos/workos-php-laravel

WorkOS PHP Library for Laravel

372.0M](/packages/workos-workos-php-laravel)[goodway/laravel-nats

Nats jetstream queue driver with client for Laravel

345.9k](/packages/goodway-laravel-nats)

PHPackages © 2026

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