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 today

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 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2429d 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)")

### 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

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)

PHPackages © 2026

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