PHPackages                             ijagjeet/php-simple-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. ijagjeet/php-simple-sso

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

ijagjeet/php-simple-sso
=======================

Simple PHP SSO

v1.0.0(3y ago)215MITPHPPHP &gt;=7.1.3

Since Feb 17Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP Simple SSO skeleton
=======================

[](#php-simple-sso-skeleton)

[![Latest Stable Version](https://camo.githubusercontent.com/9f2ba01c490124c32e5faa7b838c986bab82b395079c92ddf05d048ab94f35d1/68747470733a2f2f706f7365722e707567782e6f72672f696a61676a6565742f7068702d73696d706c652d73736f2f762f737461626c65)](https://packagist.org/packages/ijagjeet/php-simple-sso) [![Total Downloads](https://camo.githubusercontent.com/b4f11d4d8f06a747d1d170207b9cf715088e13f551bef49d40449933dce4cce7/68747470733a2f2f706f7365722e707567782e6f72672f696a61676a6565742f7068702d73696d706c652d73736f2f646f776e6c6f616473)](https://packagist.org/packages/ijagjeet/php-simple-sso) [![Latest Unstable Version](https://camo.githubusercontent.com/86a6bc4e47188c65a140a47ebb891b566f22804c95a3d0787465b46173d7f236/68747470733a2f2f706f7365722e707567782e6f72672f696a61676a6565742f7068702d73696d706c652d73736f2f762f756e737461626c65)](https://packagist.org/packages/ijagjeet/php-simple-sso) [![License](https://camo.githubusercontent.com/1e7de323aaec2b3d3be8adbe7ae1e9ee241722999e95df6c1ca0a9c43be2d32e/68747470733a2f2f706f7365722e707567782e6f72672f696a61676a6565742f7068702d73696d706c652d73736f2f6c6963656e7365)](https://packagist.org/packages/ijagjeet/php-simple-sso) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/bde3155ba584581ccbd737e757335b77a2b665bcdea5b75b8c4978aff943c6a8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696a61676a6565742f7068702d73696d706c652d73736f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ijagjeet/php-simple-sso/?branch=master) [![Build Status](https://camo.githubusercontent.com/74bf31fa2445fd9e854671c19fd2c6ee14c5b3e0fc9da4aef8d7f8fe5b357537/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696a61676a6565742f7068702d73696d706c652d73736f2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ijagjeet/php-simple-sso/build-status/master) [![Code Intelligence Status](https://camo.githubusercontent.com/74a7152692a05ef9d6b80984a4783fa08bbf4b3270c50647f6a84b2611494125/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696a61676a6565742f7068702d73696d706c652d73736f2f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

### Words meanings

[](#words-meanings)

- ***SSO*** - Single Sign-On.
- ***Server*** - page which works as SSO server, handles authentications, stores all sessions data.
- ***Broker*** - your page which is used visited by clients/users.
- ***Client/User*** - your every visitor.

### How it works?

[](#how-it-works)

Client visits Broker and unique token is generated. When new token is generated we need to attach Client session to his session in Broker so he will be redirected to Server and back to Broker at this moment new session in Server will be created and associated with Client session in Broker's page. When Client visits other Broker same steps will be done except that when Client will be redirected to Server he already use his old session and same session id which associated with Broker#1.

Usage
=====

[](#usage)

This is only a skeleton package so you need to write a little bit extra code to get it working.

You can see [examples in docs/examples directory](docs/examples) and try to use it for your project. Also there is available [Laravel package](https://github.com/ijagjeet/laravel-sso) which is written based on this package.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1177d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55f0c124b30a4717bf761794ac43dc75d401037c7109ba76bc85f7f0caed5e9c?d=identicon)[ijagjeet](/maintainers/ijagjeet)

---

Top Contributors

[![ijagjeet](https://avatars.githubusercontent.com/u/46004289?v=4)](https://github.com/ijagjeet "ijagjeet (1 commits)")

---

Tags

AuthenticationSSOlogin

### Embed Badge

![Health badge](/badges/ijagjeet-php-simple-sso/health.svg)

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

###  Alternatives

[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M66](/packages/auth0-auth0-php)[zefy/laravel-sso

Simple PHP SSO integration for Laravel

1033.0k](/packages/zefy-laravel-sso)[zefy/php-simple-sso

Simple PHP SSO

209.6k17](/packages/zefy-php-simple-sso)

PHPackages © 2026

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