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.7k1[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 1mo ago

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

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity27

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

1997d 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

[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[rahul900day/laravel-captcha

Different types of Captcha implementation for Laravel Application.

10715.9k](/packages/rahul900day-laravel-captcha)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)[descope/descope-php

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)[njoguamos/laravel-turnstile

A laravel wrapper for https://developers.cloudflare.com/turnstile/

2315.9k2](/packages/njoguamos-laravel-turnstile)

PHPackages © 2026

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