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)0965↓38.5%MITPHPPHP ^8.1CI failing

Since Aug 21Pushed 4mo 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 1mo ago

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

46

—

FairBetter than 93% of packages

Maintenance56

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity81

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

144d ago

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

1.2.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/72ad425c743522a807fd15e2a7b0ada9c2a2127ecca76fbef37cf9292022006a?d=identicon)[megaads-vn](/maintainers/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

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[jakyeru/larascord

Larascord is a package that allows you to authenticate users in your Laravel application using Discord.

6913.4k](/packages/jakyeru-larascord)

PHPackages © 2026

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