PHPackages                             kbkk/php-steam-auth - 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. kbkk/php-steam-auth

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

kbkk/php-steam-auth
===================

Sign in users with Steam (stateless OpenID)

0.2(5y ago)213.8k1[3 issues](https://github.com/kbkk/php-steam-auth/issues)[2 PRs](https://github.com/kbkk/php-steam-auth/pulls)MITPHPPHP &gt;=7.2.5

Since Sep 16Pushed 3y ago2 watchersCompare

[ Source](https://github.com/kbkk/php-steam-auth)[ Packagist](https://packagist.org/packages/kbkk/php-steam-auth)[ RSS](/packages/kbkk-php-steam-auth/feed)WikiDiscussions master Synced today

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

php-steam-auth
==============

[](#php-steam-auth)

Sign in users with Steam (stateless OpenID)
Probably needs to be rethinked

Requirements
============

[](#requirements)

- PHP &gt;=5.5
- Guzzle 6

Composer
========

[](#composer)

`composer require kbkk/php-steam-auth`

Usage example
=============

[](#usage-example)

```
$yourAppUrl = 'http://github.com/';
$returnTo = 'http://github.com/steam/verify';
$apiKey = 'Your Steam API Key';

$steamAuth = new \SteamAuth\SteamOpenId([
    'realm' => $yourAppUrl,
    'return_to' => $returnTo,
]);

$steamApi = new \SteamAuth\SteamApi($apiKey);

// redirect the user to steam sign in page
Redirect::url($steamAuth->getRedirectUrl());

// and verify the data when the user gets back to us
$steamid = $steamAuth->verifyAssertion($_GET); //false or steam id 64 as string

// fetch user profile
if($steamid)
    $user = $steamApi->getProfile($steamid);

// example output
array (size=17)
  'steamid' => string '76561197960435530' (length=17)
  'communityvisibilitystate' => int 3
  'profilestate' => int 1
  'personaname' => string 'Robin' (length=5)
  'lastlogoff' => int 1464428303
  'profileurl' => string 'http://steamcommunity.com/id/robinwalker/' (length=41)
  'avatar' => string 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1dd60a188883caf82d0cbfccfe6aba0af1732d4.jpg' (length=116)
  'avatarmedium' => string 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1dd60a188883caf82d0cbfccfe6aba0af1732d4_medium.jpg' (length=123)
  'avatarfull' => string 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1dd60a188883caf82d0cbfccfe6aba0af1732d4_full.jpg' (length=121)
  'personastate' => int 0
  'realname' => string 'Robin Walker' (length=12)
  'primaryclanid' => string '103582791429521412' (length=18)
  'timecreated' => int 1063407589
  'personastateflags' => int 0
  'loccountrycode' => string 'US' (length=2)
  'locstatecode' => string 'WA' (length=2)
  'loccityid' => int 3961
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~1533 days

Total

2

Last Release

2043d ago

PHP version history (2 changes)0.1PHP &gt;=5.5.0

0.2PHP &gt;=7.2.5

### Community

Maintainers

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

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![kbkk](https://avatars.githubusercontent.com/u/6276426?v=4)](https://github.com/kbkk "kbkk (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kbkk-php-steam-auth/health.svg)

```
[![Health](https://phpackages.com/badges/kbkk-php-steam-auth/health.svg)](https://phpackages.com/packages/kbkk-php-steam-auth)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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