PHPackages                             xjtuana/cas-proxy-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. xjtuana/cas-proxy-client

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

xjtuana/cas-proxy-client
========================

Cas Proxy Client. PHP version

v1.0.4(7y ago)01051MITPHP

Since Aug 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/xjtuana/cas-proxy-client-php)[ Packagist](https://packagist.org/packages/xjtuana/cas-proxy-client)[ RSS](/packages/xjtuana-cas-proxy-client/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (6)Used By (1)

Cas Proxy Client - PHP Version
==============================

[](#cas-proxy-client---php-version)

PHP Client for [xczh/cas-proxy](https://git.xjtuana.com/xczh/cas-proxy)

Version 对应版本
------------

[](#version-对应版本)

- `xjtuana/cas-proxy-client-php` v1.0 compatible with `xczh/cas-proxy` v1.1

Usage 使用方法
----------

[](#usage-使用方法)

- 通过Composer引入包（[Packagist](https://packagist.org/packages/xjtuana/cas-proxy-client)）

```
composer require xjtuana/cas-proxy-client ~1.0
```

- 示例代码

```
use Xjtuana\Cas\ProxyClient\ClientV1;
use Xjtuana\Cas\ProxyClient\CasProxyClientException;

$client = new ClientV1([
    'protocol' => 'https',
    'hostname' => 'ana.xjtu.edu.cn',
    'prefix' => '/casproxy',
]);

try {
    $user = $client->login();
} catch(CasProxyClientException $e) {
    echo $e->getMessage();
}

echo $user;
```

Related Packages 相关包
--------------------

[](#related-packages-相关包)

- [xjtuana/laravel-xjtuana](https://git.xjtuana.com/xjtuana/laravel-xjtuana)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~96 days

Total

5

Last Release

2794d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/12754befff2f24133419ca34325785000ae4f076b663f2295a57d7b6826772a1?d=identicon)[BochengZou](/maintainers/BochengZou)

---

Top Contributors

[![meteorlxy](https://avatars.githubusercontent.com/u/18205362?v=4)](https://github.com/meteorlxy "meteorlxy (11 commits)")

---

Tags

cas

### Embed Badge

![Health badge](/badges/xjtuana-cas-proxy-client/health.svg)

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

###  Alternatives

[apereo/phpcas

Provides a simple API for authenticating users against a CAS server

8031.4M33](/packages/apereo-phpcas)[ecphp/cas-bundle

A bundle for Symfony, providing authentication against a Central Authentication Service (CAS) server.

48132.1k1](/packages/ecphp-cas-bundle)[xavrsl/cas

Add CAS server SSO authentication to Laravel 4 and 5

7736.8k](/packages/xavrsl-cas)[ecphp/cas-lib

CAS Lib, a standard library for CAS authentication.

18166.9k4](/packages/ecphp-cas-lib)[ecphp/eu-login-bundle

A bundle for Symfony, providing authentication against European Commission authentication service.

2848.1k](/packages/ecphp-eu-login-bundle)

PHPackages © 2026

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