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

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

xigemall/laravel-sso
====================

xigemall laravel-sso

1.0.0(7y ago)043PHP

Since Mar 14Pushed 7y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

laravel-sso
===========

[](#laravel-sso)

install
-------

[](#install)

`composer require xigemall/laravel-sso`

configure
---------

[](#configure)

`php artisan vendor:publish --provider="Xigemall\LaravelSso\LaravelSsoServiceProvider"`

add to your config/auth.php
---------------------------

[](#add-to-your-configauthphp)

```
'guards' => [
    'api' => [
        'driver' => 'sso',
        'provider' => 'sso',
    ],
],
'providers' => [
    'sso' => [
        'driver' => 'sso',
    ]
],
```

update to your config/sso.php
-----------------------------

[](#update-to-your-configssophp)

```
return [
    // 单点登录地址
    'url' => env('OA_URL', 'http://localhost'),

    // 自增key (字段的名称) 默认id
    'increment_key' => 'staff_sn',

    // 密码字段 默认password
    'password' => 'password',

    //获取用户接口地址
    'get_user_info_path' => '/api/staff/',

    // 获取当前用户接口地址
    'get_current_user_path' => '/api/current-user/',
];
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

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

Unknown

Total

1

Last Release

2616d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/02f296630d7bc5c4230718e63a91cb15368798329d42e849a0ee1810897bc292?d=identicon)[xigemall](/maintainers/xigemall)

---

Top Contributors

[![xigemall](https://avatars.githubusercontent.com/u/29243444?v=4)](https://github.com/xigemall "xigemall (10 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/xigemall-laravel-sso/health.svg)](https://phpackages.com/packages/xigemall-laravel-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)
