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

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

manyhub/sso-client-php
======================

v0.2.1(7y ago)210.4k—0%3PHPPHP &gt;=5.6

Since Nov 2Pushed 7y ago2 watchersCompare

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

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

Manyhub SSO-Connect
===================

[](#manyhub-sso-connect)

Ce dépôt permet à tout partenaire de Manymore de pouvoir s'authentifier via le SSO.

Ce composant est totalement autonome et peut s'utiliser dans n'importe quel projet écrit en PHP.

L'installation de ce composant se fait via [composer](https://getcomposer.org) :

`php composer.phar require manyhub/sso-client-php`

Dépendances
-----------

[](#dépendances)

Ce composant nécessite PHP 5.6 au minimum ainsi que les bibliothèques suivantes :

- guzzlehttp/guzzle (pour la communication HTTP)
- monolog/monolog (pour la gestion des logs)
- symfony/console (dans le cas où on veut tester en mode console)
- paragonie/random\_compat (pour la génération aléatoire du nonce oAuth)

Utilisation
-----------

[](#utilisation)

### Tester en mode console

[](#tester-en-mode-console)

` php bin/console manyhub:oauth:try   `

Ces 3 paramètres sont obligatoires :

- `key` : le consumer\_key qui vous a été attribué
- `secret` : le secret\_key qui vous a été attribué
- `login` : le login de l'utilisateur à auto-logguer

D'autres paramètres sont optionnels mais néanmoins disponibles :

- `--env`=\[prod|staging\] : par défaut "prod". Pour tester sur l'environnement de recette, il faut utiliser "staging"
- `--callback` : par défaut "" mais vous pouvez spécifier votre URL ici
- `--application`=\[prisme|nexus|risk\] : par défaut "prisme" mais en fonction du type d'utilisateur, l'application choisie ne sera pas la même
- `--crypto` : par défaut "HMAC-SHA1" qui est le seul utilisé actuellement
- `--crypto_version` : par défaut "1.0' qui est la seule version utilisée actuellement

### Intégration dans les scripts PHP

[](#intégration-dans-les-scripts-php)

Pour l'intégration dans vos scripts PHP, voici un exemple :

```
# monscript.php

require __DIR__ . '/vendor/autoload.php';

use GuzzleHttp\Client;
use Manyhub\SSO\Client\Component\Signer\Signer;
use Manyhub\SSO\Client\Component\SSOTokenClient;

$client = new SSOTokenClient(new Client(), new Signer());
$result = $client->tryAuth(
       'get',
       $urlSSO,
       $key,
       $secret,
       'HMAC-SHA1',
       '1.0',
       $callback,
       $login,
       $application
);

// Tout se trouve dans $result['redirect_url'] :
// echo $result['redirect_url'];
header('Location: ' . $result['redirect_url']);
exit();
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~399 days

Total

3

Last Release

2684d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a314dca700b8ab31e9794de2730b95c6cc514fbc63ff0a5fc985b0f0cdce1f5a?d=identicon)[tdel](/maintainers/tdel)

---

Top Contributors

[![tdel](https://avatars.githubusercontent.com/u/3877852?v=4)](https://github.com/tdel "tdel (5 commits)")[![kissifrot](https://avatars.githubusercontent.com/u/105998?v=4)](https://github.com/kissifrot "kissifrot (2 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[ymirapp/cli

Ymir command-line tool

2619.6k](/packages/ymirapp-cli)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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