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

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

megaads/sso-client
==================

Sso client package for laravel

1.2.4(1y ago)01.2k↓80%MITPHPPHP ^8.1CI failing

Since Aug 21Pushed 6mo ago5 watchersCompare

[ Source](https://github.com/megaads-vn/sso-client)[ Packagist](https://packagist.org/packages/megaads/sso-client)[ RSS](/packages/megaads-sso-client/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (3)Versions (65)Used By (0)

MEGAADS SSO CLIENT PACKAGE
==========================

[](#megaads-sso-client-package)

- Install ```
    composer require megaads/sso-client

    ```
- Registry app service provider in project app.php config file ```
    Megaads\SsoClient\SsoClientServiceProvider::class

    ```
- Make laravel auth. ```
        php artisan make:auth
        php artisan migrate

    ```
- Publish package config file ```
    php artisan vendor:publish --provider="Megaads\SsoClient\SsoClientServiceProvider" --tag=config --force

    ```

After file publish open and edit file config

- Registry custom authentication middleware in `Kernel.php` file ```
    'sso' => \Megaads\SsoClient\Middleware\CustomAuthenticate::class,

    ```
- Change middleware on `Kernel.php` like below: ```
    protected $middleware = [
        \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
        \App\Http\Middleware\TrimStrings::class,
        \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,

        //Add bellow lines👇🏻
        \App\Http\Middleware\EncryptCookies::class,
        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
        \Illuminate\Session\Middleware\StartSession::class,
        \Illuminate\View\Middleware\ShareErrorsFromSession::class,
        \App\Http\Middleware\VerifyCsrfToken::class
    ];

    ```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance51

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 94.1% 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 ~39 days

Recently: every ~75 days

Total

60

Last Release

190d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.4.0

1.2.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17486691?v=4)[MegaAds.vn](/maintainers/megaads-vn)[@megaads-vn](https://github.com/megaads-vn)

---

Top Contributors

[![bachnx23](https://avatars.githubusercontent.com/u/7134491?v=4)](https://github.com/bachnx23 "bachnx23 (64 commits)")[![tienanhbui](https://avatars.githubusercontent.com/u/22376801?v=4)](https://github.com/tienanhbui "tienanhbui (3 commits)")[![2751997nam](https://avatars.githubusercontent.com/u/38351667?v=4)](https://github.com/2751997nam "2751997nam (1 commits)")

### Embed Badge

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

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

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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