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

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

kanalumaddela/laravel-steam-login
=================================

Steam Login/Auth package for Laravel/Lumen 5.5+ / 6.x+ / 7.x+ / 8.x+

2.5.2(5y ago)99.5k11[3 issues](https://github.com/kanalumaddela/laravel-steam-login/issues)[3 PRs](https://github.com/kanalumaddela/laravel-steam-login/pulls)MITPHPPHP ^7.3|^8.0

Since Jan 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/kanalumaddela/laravel-steam-login)[ Packagist](https://packagist.org/packages/kanalumaddela/laravel-steam-login)[ RSS](/packages/kanalumaddela-laravel-steam-login/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (4)Versions (36)Used By (0)

Steam Login/Auth for Laravel/Lumen 5.5+ / 6.x+ / 7.x+ / 8.x+
============================================================

[](#steam-loginauth-for-laravellumen-55--6x--7x--8x)

[![Maintainability](https://camo.githubusercontent.com/597168de0774ed5e3fa30dbcc70f71bbddb1b9f4c20051e2e3f0e0dcd36a88e2/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32633861396462333337326639633038303739312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/kanalumaddela/laravel-steam-login/maintainability)[![Packagist](https://camo.githubusercontent.com/00fe0c7a3a04b0f7afa4c5ab2fcbe896881a6c77aa597c2fd1d681791ccbfad3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b616e616c756d616464656c612f6c61726176656c2d737465616d2d6c6f67696e2e7376673f7374796c653d666c61742d737175617265266d61784167653d33363030)](https://packagist.org/packages/kanalumaddela/laravel-steam-login)[![Packagist version](https://camo.githubusercontent.com/bc046b74381bd28c0db050050380be4cc6bbec38d1f25ac4d1c65b98974208da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b616e616c756d616464656c612f6c61726176656c2d737465616d2d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kanalumaddela/laravel-steam-login)[![PHP from Packagist](https://camo.githubusercontent.com/71c299bfd3c81d4c99fc4a73c98fafc0326512dddd436c041b3400150f10d0cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b616e616c756d616464656c612f6c61726176656c2d737465616d2d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kanalumaddela/laravel-steam-login)[![GitHub stars](https://camo.githubusercontent.com/9bab9f892c09aa847642e801ba762e3838e53020f6f8a9f39a82bdd845012c2d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6b616e616c756d616464656c612f6c61726176656c2d737465616d2d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/kanalumaddela/laravel-steam-login/stargazers)[![GitHub forks](https://camo.githubusercontent.com/fa950b42cee72d0126d99571aa3fba7d7ee0e61622566df91553bd409b070e30/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6b616e616c756d616464656c612f6c61726176656c2d737465616d2d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/kanalumaddela/laravel-steam-login/network)[![GitHub issues](https://camo.githubusercontent.com/0b888f5a3ce468ee65cd321e6840a93200130e70f4eb1afda4d29a184ff7e198/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6b616e616c756d616464656c612f6c61726176656c2d737465616d2d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/kanalumaddela/laravel-steam-login/issues)[![GitHub license](https://camo.githubusercontent.com/8f88c7d48ac4e2915c4b1ce8425d0568d3bf5abcdf8313a1f613ead873a1e99f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b616e616c756d616464656c612f6c61726176656c2d737465616d2d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/kanalumaddela/laravel-steam-login/blob/master/LICENSE)

Make sure you have made/performed the appropriate migrations. I suggest doing whatever works best for you, but certain suggestions should be followed to avoid trouble.

VersionPHP VersionLaravel/Lumen VersionDocs1.x7.0+5.5+[Docs](https://github.com/kanalumaddela/laravel-steam-login/wiki/1.x)2.x7.1+5.6+[Docs](https://github.com/kanalumaddela/laravel-steam-login/wiki/2.x)3.x7.2+6.0+ / 7.0+ / 8.0+[Docs (I/P)](https://github.com/kanalumaddela/laravel-steam-login/wiki/3.x)Features
--------

[](#features)

- Laravel/Lumen supported
- Optionally redirect users to the previous page before logging in
- Included abstract controller and routes for easy setup
- `SteamUser`class to easily retrieve a player's data

\[3.x / 2.x\] Quick Setup
-------------------------

[](#3x--2x-quick-setup)

1. Install library

```
composer require kanalumaddela/laravel-steam-login

```

2. Publish files

```
php artisan vendor:publish --force --provider kanalumaddela\LaravelSteamLogin\SteamLoginServiceProvider

```

3. Create Controller

```
php artisan make:controller Auth\SteamLoginController

```

4. Add routes `routes/web.php`

```
use App\Http\Controllers\Auth\SteamLoginController;
use kanalumaddela\LaravelSteamLogin\Facades\SteamLogin;

//...

// If using steam login only, add ['include_login_route' => true]
// to also add a /login route,

SteamLogin::routes([
    'controller' => SteamLoginController::class,
]);
```

4. Edit Controller `App\Http\Controllers\Auth\SteamLoginController.php`

```
