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

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

yjtec/laravel-cas
=================

laravel cas client

1.0.4(6y ago)122PHP

Since Sep 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yjtec/laravel-cas)[ Packagist](https://packagist.org/packages/yjtec/laravel-cas)[ RSS](/packages/yjtec-laravel-cas/feed)WikiDiscussions master Synced 2w ago

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

1.在AUTH GUARD中添加
================

[](#1在auth-guard中添加)

1.1 config-&gt;auth.php配置文件中添加
------------------------------

[](#11-config-authphp配置文件中添加)

驱动为cas

```
    'store' =>[
        'driver' =>'cas',
        'provider' => 'store',
    ]

```

服务的提供者为eloquent （通过主键id来查询对应的登陆账号信息）

```
'providers' => [
    'store' => [
        'driver' => 'eloquent',
        'model' => App\Models\StoreAccout::class
    ]
],

```

> 中间件中使用过

```
Auth::guard('store')->check()

```

2.单独使用验证ticket
==============

[](#2单独使用验证ticket)

app('cas')-&gt;check(string $ticket); 通过返回登陆的携带信息 不通过返回false

```
[
    'login_data' => [
        'id' => 'name',
        'uname' => '全景智慧城市'
    ],
    'client' => 'store'
]

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

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

Total

5

Last Release

2478d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48311842?v=4)[Yjtec](/maintainers/Yjtec)[@yjtec](https://github.com/yjtec)

---

Top Contributors

[![kidkang](https://avatars.githubusercontent.com/u/22092546?v=4)](https://github.com/kidkang "kidkang (5 commits)")[![kidkang89](https://avatars.githubusercontent.com/u/288277526?v=4)](https://github.com/kidkang89 "kidkang89 (5 commits)")

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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