PHPackages                             hobsrkmsocialite/steam - 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. hobsrkmsocialite/steam

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

hobsrkmsocialite/steam
======================

Steam OpenID Provider for Laravel Socialite

1.0(1y ago)01.3kMITPHPPHP ^8.0

Since Jun 9Pushed 1y agoCompare

[ Source](https://github.com/hobsRKM/Steam)[ Packagist](https://packagist.org/packages/hobsrkmsocialite/steam)[ RSS](/packages/hobsrkmsocialite-steam/feed)WikiDiscussions master Synced 1mo ago

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

Steam
=====

[](#steam)

```
composer require socialiteproviders/steam
```

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

Add configuration to `config/services.php`
------------------------------------------

[](#add-configuration-to-configservicesphp)

```
'steam' => [
  'client_id' => null,
  'client_secret' => env('STEAM_CLIENT_SECRET'),
  'redirect' => env('STEAM_REDIRECT_URI'),
  'allowed_hosts' => [
    'example.com',
  ]
],
```

### allowed\_hosts

[](#allowed_hosts)

Set this for protect against authorization domain spoofing. When the user returns from the Steam login page, along with the OpenID validation, the return\_to parameter will be checked against the available domains in `allowed_hosts`.

If you don't specify the setting, then fraudsters have the opportunity to enter the application under other users

Issue resolved in [SocialiteProviders/Providers#817](https://github.com/SocialiteProviders/Providers/pull/817)

By default this protection is disabled. It will only be active when allowed hosts is not equal to an empty array.

### force\_https

[](#force_https)

Set this property to force HTTPS scheme when redirecting from Steam OAuth.

If you do not set it, the scheme will be inferred from your server settings.

```
'steam' => [
  'client_id' => null,
  'client_secret' => env('STEAM_CLIENT_SECRET'),
  'redirect' => env('STEAM_REDIRECT_URI'),
  'force_https' => true,  // This will force HTTPS scheme
  'allowed_hosts' => [
    'example.com',
  ]
],
```

Add provider event listener
---------------------------

[](#add-provider-event-listener)

Configure the package's listener to listen for `SocialiteWasCalled` events.

Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\Steam\SteamExtendSocialite::class.'@handle',
    ],
];
```

Usage
-----

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('steam')->redirect();
```

Returned User fields
--------------------

[](#returned-user-fields)

- `id`
- `nickname`
- `name`
- `avatar`

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

699d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ee056f6b641e137bfa6642a4a54c3c6d8c46cea97a8116b70abd9d1687764a3?d=identicon)[hobsRKM](/maintainers/hobsRKM)

---

Top Contributors

[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (13 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (10 commits)")[![autaut03](https://avatars.githubusercontent.com/u/10583125?v=4)](https://github.com/autaut03 "autaut03 (4 commits)")[![hobsRKM](https://avatars.githubusercontent.com/u/11420858?v=4)](https://github.com/hobsRKM "hobsRKM (3 commits)")[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (2 commits)")[![michaloravec](https://avatars.githubusercontent.com/u/22096293?v=4)](https://github.com/michaloravec "michaloravec (2 commits)")[![Max13](https://avatars.githubusercontent.com/u/531249?v=4)](https://github.com/Max13 "Max13 (1 commits)")[![saundefined](https://avatars.githubusercontent.com/u/4685504?v=4)](https://github.com/saundefined "saundefined (1 commits)")[![sofwar](https://avatars.githubusercontent.com/u/7130905?v=4)](https://github.com/sofwar "sofwar (1 commits)")[![antonkomarev](https://avatars.githubusercontent.com/u/1849174?v=4)](https://github.com/antonkomarev "antonkomarev (1 commits)")[![strd0x](https://avatars.githubusercontent.com/u/61651824?v=4)](https://github.com/strd0x "strd0x (1 commits)")[![bbashy](https://avatars.githubusercontent.com/u/1149200?v=4)](https://github.com/bbashy "bbashy (1 commits)")[![bytestream](https://avatars.githubusercontent.com/u/1788397?v=4)](https://github.com/bytestream "bytestream (1 commits)")[![fkrzski](https://avatars.githubusercontent.com/u/75097934?v=4)](https://github.com/fkrzski "fkrzski (1 commits)")[![ilumos](https://avatars.githubusercontent.com/u/509407?v=4)](https://github.com/ilumos "ilumos (1 commits)")[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (1 commits)")

---

Tags

laravelprovidersocialiteOpenIdsteam

### Embed Badge

![Health badge](/badges/hobsrkmsocialite-steam/health.svg)

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

###  Alternatives

[socialiteproviders/steam

Steam OpenID Provider for Laravel Socialite

21536.2k1](/packages/socialiteproviders-steam)[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[socialiteproviders/instagram

Instagram OAuth2 Provider for Laravel Socialite

421.9M5](/packages/socialiteproviders-instagram)[kovah/laravel-socialite-oidc

OpenID Connect OAuth2 Provider for Laravel Socialite

2073.7k](/packages/kovah-laravel-socialite-oidc)[socialiteproviders/kakao

Kakao OAuth2 Provider for Laravel Socialite

10484.7k4](/packages/socialiteproviders-kakao)[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)
