PHPackages                             code-ken/simple-php-cas-client - 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. code-ken/simple-php-cas-client

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

code-ken/simple-php-cas-client
==============================

PHP Cas Client组件

0.2.3(8y ago)0834MITPHPPHP &gt;=7.1.0

Since Mar 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Code-Ken/SimplePHPCasClient)[ Packagist](https://packagist.org/packages/code-ken/simple-php-cas-client)[ Docs](https://github.com/Code-Ken/SimplePHPCasClient)[ RSS](/packages/code-ken-simple-php-cas-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

SimplePHPCasClient
==================

[](#simplephpcasclient)

[![](https://camo.githubusercontent.com/9d245815c30188a34e60692f24442c3fe7e92f9958d8a7a1d6f7463e7ed866b3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f73796d666f6e792f73796d666f6e792e737667)](https://camo.githubusercontent.com/9d245815c30188a34e60692f24442c3fe7e92f9958d8a7a1d6f7463e7ed866b3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f73796d666f6e792f73796d666f6e792e737667)[![](https://camo.githubusercontent.com/29be5147c4caf425627b9ac4d7db4719e3e97cdc9cd0e018e448f2c466065f8a/68747470733a2f2f696d672e736869656c64732e696f2f7465616d636974792f636f64656265747465722f62743432382e737667)](https://camo.githubusercontent.com/29be5147c4caf425627b9ac4d7db4719e3e97cdc9cd0e018e448f2c466065f8a/68747470733a2f2f696d672e736869656c64732e696f2f7465616d636974792f636f64656265747465722f62743432382e737667)[![](https://camo.githubusercontent.com/98703b2b9a06bfe859ca2b75a2db157e90e97c328774db65fbc7df0b8d699258/68747470733a2f2f696d672e736869656c64732e696f2f72656164746865646f63732f7069702f737461626c652e737667)](https://camo.githubusercontent.com/98703b2b9a06bfe859ca2b75a2db157e90e97c328774db65fbc7df0b8d699258/68747470733a2f2f696d672e736869656c64732e696f2f72656164746865646f63732f7069702f737461626c652e737667)[![](https://camo.githubusercontent.com/17e9757cbb55c60de819f19cd32613d4fc879fe79b5e6d9e8fbbb534328adee2/68747470733a2f2f696d672e736869656c64732e696f2f6475622f6c2f766962652d642e737667)](https://camo.githubusercontent.com/17e9757cbb55c60de819f19cd32613d4fc879fe79b5e6d9e8fbbb534328adee2/68747470733a2f2f696d672e736869656c64732e696f2f6475622f6c2f766962652d642e737667)

[中文文档](doc/README_CN.md)

SimplePHPCasClient is an authentication library that allows PHP applications to easily authenticate users via a CAS server.

SimplePHPCasClient is easier than [phpCAS](https://github.com/apereo/phpCAS).

But SimplePHPCasClient only implements the simplest cas login function.Follow-up will gradually improve.

EXAMPLE
-------

[](#example)

[Login](doc/example/login.php)

[Login](doc/example/login.php)

[LogOut](doc/example/logout.php)

[LogOutCallBack](doc/example/logout_callback.php)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

Recently: every ~13 days

Total

9

Last Release

2962d ago

### Community

Maintainers

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

---

Top Contributors

[![Code-Ken](https://avatars.githubusercontent.com/u/11750710?v=4)](https://github.com/Code-Ken "Code-Ken (29 commits)")

---

Tags

phpcas client

### Embed Badge

![Health badge](/badges/code-ken-simple-php-cas-client/health.svg)

```
[![Health](https://phpackages.com/badges/code-ken-simple-php-cas-client/health.svg)](https://phpackages.com/packages/code-ken-simple-php-cas-client)
```

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k181.3M2.2k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k172.8M347](/packages/symfony-security-http)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)[litesaml/lightsaml

SAML 2.0 PHP library

1066.0M19](/packages/litesaml-lightsaml)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2280.2k3](/packages/kinde-oss-kinde-auth-php)[forumify/forumify-platform

122.0k12](/packages/forumify-forumify-platform)

PHPackages © 2026

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