laravel-steam-login maintained by skyraptor
Last update
2021/05/21 20:05
License
Require
- ext-json *
- ext-libxml *
- ext-simplexml *
- php ^7.3|^8.0
- guzzlehttp/guzzle ^6.5.5|^7.0.1
- xpaw/steamid ^2.0.0
Last update
2021/03/12 17:12
License
Require
- php ^7.3|^8.0
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid ^2.0.0
- guzzlehttp/guzzle ^6.5.5|^7.0.1
Last update
2021/03/12 17:01
License
Require
- php ^7.3|^8.0
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.5.5|^7.0.1
Last update
2020/09/13 17:41
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3|^7.0.1
Last update
2020/09/09 19:06
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3|^7.0.1
Last update
2020/02/15 22:10
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2020/02/15 22:00
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/12/07 08:18
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/04/28 08:58
License
Require
- php ^7.0
- ext-curl *
- ext-json *
- ext-libxml *
- ext-simplexml *
- laravel/framework 5.5.x|5.6.x
Last update
2019/04/28 08:58
License
Require
- php ^7.0
- ext-curl *
- ext-json *
- ext-libxml *
- ext-simplexml *
- laravel/framework 5.5.x|5.6.x
Last update
2019/04/28 02:19
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/04/28 02:16
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/03/03 19:54
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/03/03 19:45
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/03/03 16:59
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/01/10 07:09
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/01/09 04:53
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2019/01/08 02:10
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2018/10/15 03:42
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2018/10/13 08:37
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2018/10/11 22:23
License
Require
- php ^7.0
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/10/11 02:27
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid dev-master
- guzzlehttp/guzzle ^6.3
Last update
2018/10/09 06:09
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid *
- guzzlehttp/guzzle ^6.3
Last update
2018/10/09 05:46
License
Require
- php ^7.1
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid *
- guzzlehttp/guzzle ^6.3
Last update
2018/10/08 21:09
License
Require
- php ^7.1
- ext-curl *
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid *
- guzzlehttp/guzzle ^6.3
Last update
2018/10/07 22:33
License
Require
- php ^7.1
- ext-curl *
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid *
- guzzlehttp/guzzle ^6.3
Last update
2018/10/07 21:55
License
Require
- php ^7.1
- ext-curl *
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid *
- guzzlehttp/guzzle ^6.3
Last update
2018/10/07 20:54
License
Require
- php ^7.1
- ext-curl *
- ext-json *
- ext-libxml *
- ext-simplexml *
- illuminate/http ^5.6
- illuminate/routing ^5.6
- illuminate/support ^5.6
- illuminate/container ^5.6
- xpaw/steamid *
- guzzlehttp/guzzle ^6.3
Last update
2018/04/11 00:59
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/04/06 01:26
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/04/06 01:26
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/02/18 04:15
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/02/16 15:18
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/02/16 15:03
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/02/16 14:57
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/02/05 08:46
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/02/05 03:53
License
Require
- php ^7.0
- ext-bcmath *
- ext-curl *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Last update
2018/01/31 05:01
License
Require
- php ^7.0
- ext-bcmath *
- illuminate/http 5.*
- illuminate/routing 5.*
- illuminate/support 5.*
Laravel Steam Login
A light package to provide easy authentication with the Steam API to your Laravel project.
Features
- Redirect users to the page they were on before logging in
SteamUserclass to easily retrieve a player's data- Included controller and routes for easy setup
Installation
- Install library
composer require skyraptor/laravel-steam-login
php artisan vendor:publish --force --provider skyraptor\LaravelSteamLogin\SteamLoginServiceProvider
- Add routes
routes/web.php
use App\Http\Controllers\Auth\SteamLoginController;
use skyraptor\LaravelSteamLogin\Facades\SteamLogin;
//...
SteamLogin::routes(['controller' => SteamLoginController::class]);
php artisan make:controller Auth\SteamLoginController
App\Http\Controllers\Auth\SteamLoginController.php
<?php
namespace App\Http\Controllers\Auth;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use skyraptor\LaravelSteamLogin\Http\Controllers\AbstractSteamLoginController;
use skyraptor\LaravelSteamLogin\SteamUser;
class SteamLoginController extends AbstractSteamLoginController
{
/**
* {@inheritdoc}
*/
public function authenticated(Request $request, SteamUser $steamUser)
{
// auth logic goes here
// e.g. $user = User::where('steam_account_id', $steamUser->accountId)->first();
}
}
Credits
Thanks to these libs which led me to make this
- https://github.com/kanalumaddela/laravel-steam-login (original author)
- https://github.com/Ehesp/Steam-Login (Parts of code used and re-purposed for laravel)
- https://github.com/invisnik/laravel-steam-auth
