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

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

cloee/sso-pterodactyl
=====================

Allows clients from BetterPterodactyl (paymenter) login to their Pterodactyl account with a single redirect

1.0.0(2mo ago)13↓100%MITPHPPHP ^8.0|^8.1|^8.2|^8.3

Since Mar 9Pushed 2mo agoCompare

[ Source](https://github.com/Sachin-Cloee/sso-pterodactyl)[ Packagist](https://packagist.org/packages/cloee/sso-pterodactyl)[ RSS](/packages/cloee-sso-pterodactyl/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a4562bb3bbd14261d321d87262fda39fd8fbf9673ac621bb16df3a46de5d2edf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77656d782f73736f2d707465726f64616374796c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wemx/sso-pterodactyl)[![Total Downloads](https://camo.githubusercontent.com/90874e4db99d596875660d43438db245a1244b33ab989bef34e28410989a8307/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77656d782f73736f2d707465726f64616374796c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wemx/sso-pterodactyl)

Laravel SSO
===========

[](#laravel-sso)

Laravel SSO is a package for implementing Single Sign-On (SSO) authorizations in your Laravel project. This package allows you to authorize users on a Laravel panel from another website.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Laravel 10 or higher

Installation
------------

[](#installation)

To install the package, use Composer:

```
composer require cloee/sso-pterodactyl
```

Configuration
-------------

[](#configuration)

1. Publish the configuration file by running the following command:

```
php artisan vendor:publish --tag=sso-wemx
```

This command will publish the config/sso-wemx.php file, where you can set the secret key for SSO authorization.

2. Generate new SSO key

```
php artisan wemx:generate
```

Make sure to paste the SSO key on your WemX application

Usage
-----

[](#usage)

1. Generate a access token for using a GET request from your application
2. Redirect the user to the SSO redirect with their token

```
public function loginPanel()
{
    $response = Http::get("https://panel.example.com/sso-wemx/", [
        'sso_secret' => "xxxxxxx",
        'user_id' => 1
    ]);

    if (!$response->successful()) {
        $message = $response['success'] && !$response['success']
            ? $response['message']
            : 'Something went wrong, please contact an administrator.';

        return redirect()->back()->withError($message);
    }

    return redirect()->intended($response['redirect']);
}
```

After being redirected to the /sso-login route, the user will be automatically authorized on the Laravel panel if their email address matches a record in the database.

Support
-------

[](#support)

If you have any questions or issues, please create a new issue in the project repository on GitHub.

License
-------

[](#license)

This project is licensed under the MIT License. See the [LICENSE](https://github.com/Sachin-Cloee/sso-pterodactyl/blob/main/LICENSE) file for details.

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance94

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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

61d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93ef712c1bf2c74bbdf6628b6a45b527754e83aa6f899924598ada09b93f8863?d=identicon)[cloee-dev](/maintainers/cloee-dev)

---

Top Contributors

[![Mubeen142](https://avatars.githubusercontent.com/u/58806240?v=4)](https://github.com/Mubeen142 "Mubeen142 (18 commits)")[![GIGABAIT93](https://avatars.githubusercontent.com/u/59637348?v=4)](https://github.com/GIGABAIT93 "GIGABAIT93 (4 commits)")[![Sachin-Cloee](https://avatars.githubusercontent.com/u/246071323?v=4)](https://github.com/Sachin-Cloee "Sachin-Cloee (4 commits)")[![PadowYT2](https://avatars.githubusercontent.com/u/71085027?v=4)](https://github.com/PadowYT2 "PadowYT2 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[stechstudio/laravel-jwt

Helper package that makes it easy to generate, consume, and protect routes with JWT tokens in Laravel

126117.6k](/packages/stechstudio-laravel-jwt)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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