PHPackages                             longtugame/sso - 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. longtugame/sso

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

longtugame/sso
==============

sso login

v3.4(3y ago)123MITPHPPHP &gt;=7.4

Since Nov 27Pushed 3y agoCompare

[ Source](https://github.com/zl-php/longtugame-sso)[ Packagist](https://packagist.org/packages/longtugame/sso)[ RSS](/packages/longtugame-sso/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (8)Used By (0)

longtugame sso
==============

[](#longtugame-sso)

基于 Laravel 开发 longtugame sso 功能模块

安装
--

[](#安装)

```
composer require longtugame/sso
```

Laravel 项目内使用
-------------

[](#laravel-项目内使用)

```
# 发布配置文件
php artisan vendor:publish --provider="Longtugame\Sso\LongtuSsoServiceProvider"

# 控制器使用
use Longtugame\Sso\Facades\LongtuSso;

# 返回一个数组格式，只包含用户数据
$user = LongtuSso::setCode($code)->decrypt();

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

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

Recently: every ~5 days

Total

7

Last Release

1453d ago

Major Versions

2.1 → v3.02022-04-27

PHP version history (3 changes)2.0PHP ^7.1

v3.0PHP ^7.4

v3.2PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/fca6b6d9c0b5cfa9c98c5b2cad4228e90e2096fec04f210b3182e34b8c21984a?d=identicon)[zl-php](/maintainers/zl-php)

---

Top Contributors

[![zl-php](https://avatars.githubusercontent.com/u/19991986?v=4)](https://github.com/zl-php "zl-php (8 commits)")

### Embed Badge

![Health badge](/badges/longtugame-sso/health.svg)

```
[![Health](https://phpackages.com/badges/longtugame-sso/health.svg)](https://phpackages.com/packages/longtugame-sso)
```

###  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)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[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)

PHPackages © 2026

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