PHPackages                             lightair/lumen-auth-via-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. lightair/lumen-auth-via-steam

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

lightair/lumen-auth-via-steam
=============================

Lumen Steam Auth

v8.0.0(4y ago)023MITPHPPHP &gt;=7.2.0

Since Apr 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/LightAir/LumenAuthViaSteam)[ Packagist](https://packagist.org/packages/lightair/lumen-auth-via-steam)[ RSS](/packages/lightair-lumen-auth-via-steam/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Steam authentication for lumen 7.0.\*
=====================================

[](#steam-authentication-for-lumen-70)

This package is a Lumen 7.0.\* service provider which provides support for Steam OpenID and is very easy to integrate with any project that requires Steam authentication.

Installation Via Composer
-------------------------

[](#installation-via-composer)

Add this to your `composer.json` file, in the require object:

```
"lightair/lumen-auth-via-steam": "v7.0.*"
```

For v5.4 please use package v5.4.1

After that, run `composer install` to install the package.

In file bootstrap/app.php uncomment `$app->withFacades()` and add:

```
$app->register(LightAir\LumenAuthViaSteam\SteamServiceProvider::class);
```

Lastly, publish the config file.

```
php artisan vendor:publish

```

Usage example
-------------

[](#usage-example)

In `config/steam-auth.php`

```
return [

    /*
     * Redirect URL after login
     */
    'redirect_url' => '/login',
    /*
     *  API Key (http://steamcommunity.com/dev/apikey)
     */
    'api_key' => 'Your API Key',
    /*
     * Is using https?
     */
    'https' => false
];
```

In `routes/web.php`

```
$router->get('/login',  'AuthController@login');
```

In `AuthController`

```
namespace App\Http\Controllers;

use LightAir\LumenAuthViaSteam\SteamAuth;
use App\User;
use Auth;

class AuthController extends Controller
{
    /**
     * @var SteamAuth
     */
    private $steam;

    public function __construct(SteamAuth $steam)
    {
        $this->steam = $steam;
    }

    public function login()
    {
        if ($this->steam->validate()) {
            $info = $this->steam->getUserInfo();
            if (!is_null($info)) {
                $user = User::where('steamid', $info->steamID64)->first();
                if (is_null($user)) {
                    $user = User::create([
                        'username' => $info->personaname,
                        'avatar'   => $info->avatarfull,
                        'steamid'  => $info->steamID64
                    ]);
                }
            	Auth::login($user, true);
            	return redirect('/'); // redirect to site
            }
        }
        return $this->steam->redirect(); // redirect to Steam login page
    }
}
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 66.2% 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 ~398 days

Total

5

Last Release

1773d ago

Major Versions

v5.4.1 → v7.0.02020-03-17

v6.0.0 → v8.0.02021-08-21

PHP version history (3 changes)v5.4.0PHP &gt;=5.6.0

v7.0.0PHP &gt;=7.2.5

v6.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10094358?v=4)[LightAir](/maintainers/LightAir)[@LightAir](https://github.com/LightAir)

---

Top Contributors

[![invisnik](https://avatars.githubusercontent.com/u/7964397?v=4)](https://github.com/invisnik "invisnik (43 commits)")[![LightAir](https://avatars.githubusercontent.com/u/10094358?v=4)](https://github.com/LightAir "LightAir (6 commits)")[![Gummibeer](https://avatars.githubusercontent.com/u/6187884?v=4)](https://github.com/Gummibeer "Gummibeer (5 commits)")[![Mahmoudz](https://avatars.githubusercontent.com/u/1983984?v=4)](https://github.com/Mahmoudz "Mahmoudz (3 commits)")[![luukholleman](https://avatars.githubusercontent.com/u/1071025?v=4)](https://github.com/luukholleman "luukholleman (3 commits)")[![chriskonnertz](https://avatars.githubusercontent.com/u/4319323?v=4)](https://github.com/chriskonnertz "chriskonnertz (2 commits)")[![nikkiii](https://avatars.githubusercontent.com/u/891176?v=4)](https://github.com/nikkiii "nikkiii (1 commits)")[![RonMelkhior](https://avatars.githubusercontent.com/u/1017721?v=4)](https://github.com/RonMelkhior "RonMelkhior (1 commits)")[![timetorock](https://avatars.githubusercontent.com/u/6104856?v=4)](https://github.com/timetorock "timetorock (1 commits)")

---

Tags

authenticationlumensteamauthlumensteam

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lightair-lumen-auth-via-steam/health.svg)

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

###  Alternatives

[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)[invisnik/laravel-steam-auth

Laravel Steam Auth

167161.5k1](/packages/invisnik-laravel-steam-auth)[generationtux/jwt-artisan

JWT auth package for Laravel and Lumen

13953.4k](/packages/generationtux-jwt-artisan)[gghughunishvili/entrust

This package provides a flexible way to add Role-based Permissions to Laravel/Lumen 6

26542.9k](/packages/gghughunishvili-entrust)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2280.2k3](/packages/kinde-oss-kinde-auth-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

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

PHPackages © 2026

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