skyraptor/laravel-steam-login
Steam Login package for Laravel 5.5+
1,990
| Install | |
|---|---|
composer require skyraptor/laravel-steam-login |
|
| Latest Version: | 2.7.1 |
| PHP: | ^7.3|^8.0 |
| License: | MIT |
| Last Updated: | May 21, 2021 |
| Links: | GitHub · Packagist |
Maintainer: bumbummen99
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
Related Packages
kanalumaddela/laravel-steam-login
Steam Login/Auth package for Laravel/Lumen 5.5+ / 6.x+ / 7.x+ / 8.x+
9,838
9
auth0/login
Auth0 Laravel SDK. Straight-forward and tested methods for implementing authenti...
5,760,910
274
nyoncode/wire-module-auth
The signed-out screens for wire: login, password reset, email verification and t...
195
0
themonkeys/laravel-google-auth
Laravel Authentication Driver for Google OAuth authentication
1,863
43
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 2.7.1 | ^7.3| | MIT | ||
| 2.7.0 | ^7.3| | MIT | ||
| 2.6.0 | ^7.1 | MIT | ||
| 2.5.2 | ^7.1 | MIT | ||
| 2.5.1 | ^7.1 | MIT | ||
| 2.5.0 | ^7.1 | MIT | ||
| 2.4.0 | ^7.1 | MIT | ||
| 2.3.2 | ^7.1 | ^5.6 | MIT | |
| 2.3.1 | ^7.1 | ^5.6 | MIT | |
| 2.3.0 | ^7.1 | ^5.6 | MIT | |
| 2.2.1 | ^7.1 | ^5.6 | MIT | |
| 2.2.0 | ^7.1 | ^5.6 | MIT | |
| 2.1.8 | ^7.1 | ^5.6 | MIT | |
| 2.1.7 | ^7.1 | ^5.6 | MIT | |
| 2.1.6 | ^7.1 | ^5.6 | MIT | |
| 2.1.5 | ^7.1 | ^5.6 | MIT | |
| 2.1.4 | ^7.1 | ^5.6 | MIT | |
| 2.1.3 | ^7.1 | ^5.6 | MIT | |
| 2.1.2 | ^7.1 | ^5.6 | MIT | |
| 2.1.1 | ^7.1 | ^5.6 | MIT | |
| 2.1 | ^7.1 | ^5.6 | MIT | |
| 2.0 | ^7.1 | ^5.6 | MIT | |
| 1.4.2 | ^7.0 | 5.5.x| | MIT | |
| 1.4.1 | ^7.0 | 5.* | MIT | |
| 1.4 | ^7.0 | 5.* | MIT | |
| 1.3.1 | ^7.0 | 5.* | MIT | |
| 1.3.0 | ^7.0 | 5.* | MIT | |
| 1.2.3 | ^7.0 | 5.* | MIT | |
| 1.2.2 | ^7.0 | 5.* | MIT | |
| 1.1.1 | ^7.0 | 5.* | MIT |
Showing the latest 30 of 34. See every release on Packagist
Pre-releases (1)
| Version | Released | PHP | License |
|---|---|---|---|
| 2.6.0-alpha1 | ^7.1 | MIT |
