PHPackages                             mentalrob/laravel-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. mentalrob/laravel-steam-auth

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

mentalrob/laravel-steam-auth
============================

Steam Auth for Laravel 7

v1.0.1(6y ago)04MITPHP

Since Apr 5Pushed 5y agoCompare

[ Source](https://github.com/mentalrob/laravel-steam-auth)[ Packagist](https://packagist.org/packages/mentalrob/laravel-steam-auth)[ RSS](/packages/mentalrob-laravel-steam-auth/feed)WikiDiscussions master Synced today

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

Steam Auth for Laravel 8
========================

[](#steam-auth-for-laravel-8)

[![Latest Stable Version](https://camo.githubusercontent.com/4bb49b6a9354af8aa224f385322084d9ad942e4c504ff7e54f024c0e29cadc5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696c7a72762f6c61726176656c2d737465616d2d617574682e737667)](https://packagist.org/packages/ilzrv/laravel-steam-auth)[![Total Downloads](https://camo.githubusercontent.com/efac2de4c6b38eec219491c7d633171993b45bc6c15fa4c083cbc7092129b0c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696c7a72762f6c61726176656c2d737465616d2d617574682e737667)](https://packagist.org/packages/ilzrv/laravel-steam-auth)[![License](https://camo.githubusercontent.com/b29aec58952f473a2ef68473e364f82d76e4ae5fea4016cc93562a6dd1c42434/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f696c7a72762f6c61726176656c2d737465616d2d617574682e737667)](https://packagist.org/packages/ilzrv/laravel-steam-auth)

Package allows you to implement Steam authentication in your Laravel project.

Requirements
------------

[](#requirements)

- Laravel 8+
- Guzzle HTTP 6.5+

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

[](#installation)

#### Install the package

[](#install-the-package)

```
composer require mentalrob/laravel-steam-auth
```

#### Publish the config file

[](#publish-the-config-file)

```
php artisan vendor:publish --provider="Ilzrv\LaravelSteamAuth\ServiceProvider"
```

#### Setup Steam API Key(s)

[](#setup-steam-api-keys)

Add your Steam API key to your `.env` file. You can find it [here](http://steamcommunity.com/dev/apikey).

*if you want to use multiple API keys just list them separated by commas*

```
STEAM_AUTH_API_KEYS=YourSteamApiKey1,YourSteamApiKey2

```

Example
-------

[](#example)

In `routes/web.php`:

```
Route::get('login', 'Auth\SteamAuthController@login');
```

Create a controller `SteamAuthController.php`:

```
