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

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

captbrogers/steam-login
=======================

A simple PHP Steam login and validation package

v1.0.0(8y ago)021MITPHPPHP &gt;=5.6.0

Since Aug 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/captbrogers/steam-login)[ Packagist](https://packagist.org/packages/captbrogers/steam-login)[ RSS](/packages/captbrogers-steam-login/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP Steam Login
===============

[](#php-steam-login)

Forked from Ehesp/Steam-Login to focus on being specific and updated for Laravel.

This package enables you to easily log users in via Steam, using their OpenID service. However, this package does not require that you have the OpenID PHP module installed!

Note: The package can also easily be used with the Laravel 5.3+ PHP Framework.

Installation
------------

[](#installation)

Begin by installing this package via Composer:

```
{
    "require": {
        "captbrogers/steam-login": "~1.0"
    }
}

```

### Add Service Provider and Facade

[](#add-service-provider-and-facade)

If you're using the Laravel 5.3+ PHP Framework, add the following to your `config/app.php` file's providers array:

```
Captbrogers\SteamLogin\Laravel\SteamLoginServiceProvider::class,
```

And the following to your aliases array in the same file:

```
'SteamLogin' => Captbrogers\SteamLogin\Laravel\Facades\SteamLogin::class,
```

You now have access to the `SteamLogin` facade.

Usage
-----

[](#usage)

Before starting, please note you're unable to redirect a user to the Steam OpenID login portal. In other words, they must be able to click the link themselves.

Use the `SteamLogin` class and create a new instance of it:

```
// view.blade.php
Login via Steam!
```

To validate the Steam Login:

```
// routes/web.php
Route::get('/', function()
{
    return SteamLogin::validate();
});
```

Changing the return URL
-----------------------

[](#changing-the-return-url)

The return URL must be a valid URL which contains either the http or https URI scheme.

If you want your users to be sent to a specific URL/route after login, this is easily done. Simply add the URL as a parameter in the `url()` method:

```
// config/services.php
'steam' => [
    'login' => 'http://mywebsite.com/login',
],
```

Then simply access this in the `url` method:

```
SteamLogin::url(config(('services.steam.login'));
```

To Do
-----

[](#to-do)

- Add PHPUnit tests

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3245d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/510171dcd64a10158884a8789215cb0fa68ccce4d819b9359b8ffb80fc4fd550?d=identicon)[captbrogers](/maintainers/captbrogers)

---

Top Contributors

[![captbrogers](https://avatars.githubusercontent.com/u/1094989?v=4)](https://github.com/captbrogers "captbrogers (2 commits)")

---

Tags

steam

### Embed Badge

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

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

###  Alternatives

[invisnik/laravel-steam-auth

Laravel Steam Auth

167161.5k1](/packages/invisnik-laravel-steam-auth)[socialiteproviders/steam

Steam OpenID Provider for Laravel Socialite

20576.9k2](/packages/socialiteproviders-steam)[xpaw/steam-openid

A correct and simple implementation of OpenID authentication for Steam

5525.0k](/packages/xpaw-steam-openid)[ehesp/steam-login

A simple PHP Steam login and validation package

4420.8k](/packages/ehesp-steam-login)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1517.7k](/packages/truckersmp-steam-socialite)[vikas5914/steam-auth

A simple PHP Steam login and User Detail package

192.2k](/packages/vikas5914-steam-auth)

PHPackages © 2026

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