Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Steam Login

Laravel Steam Login Laravel Package

kanalumaddela/laravel-steam-login

Laravel Steam Login adds Steam OpenID authentication to Laravel apps with a simple redirect flow, configurable routes, and access to the authenticated Steam user's profile data. Integrate Steam sign-in quickly without handling OpenID details yourself.

View on GitHub
Deep Wiki
Context7

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

Frequently asked questions about Laravel Steam Login
How do I install laravel-steam-login in a Laravel app?
Install it with Composer by running composer require kanalumaddela/laravel-steam-login. On Laravel 5.5 and newer the package service provider and facade are discovered automatically, so no manual registration is required. If you want to change defaults such as the post-login redirect, publish the package config file with php artisan vendor:publish and edit it.
Which Laravel versions does laravel-steam-login support?
The package is built for Laravel and Lumen 5.5+, 6.x, 7.x and 8.x. Because it uses Steam's OpenID redirect flow rather than Laravel-specific authentication internals, it often works on later releases too, but you should check the composer.json constraints before installing on a newer Laravel version.
How does the Steam login flow work in this package?
The user is redirected to Steam's OpenID endpoint, signs in on Steam's own site, and is sent back to a callback route in your application. The package verifies the OpenID response for you and exposes the authenticated Steam user's profile data. You never have to handle OpenID signing, verification or parameter details yourself.
Can I customize the login and callback routes?
Yes. The route used to start the Steam redirect and the route that receives the callback are configurable, so you can rename them, wrap them in your own middleware, or place them inside existing route groups. Publish the config file first, then adjust the route settings and the redirect target used after a successful login.
How do I get the Steam user's profile data after login?
After a successful callback the package gives you the authenticated Steam user via its facade, including the SteamID plus profile details such as nickname, avatar and profile URL. A typical implementation looks up or creates an Eloquent user keyed by the SteamID, stores the profile fields, and then calls Auth::login($user) to start a normal Laravel session.
Does laravel-steam-login work with Lumen?
Yes, Lumen is supported, but because Lumen has no package auto-discovery you must register the package service provider manually in bootstrap/app.php. You may also need to enable facades and config loading in your Lumen bootstrap if you want to use the package facade or a published config file.
Do I need a Steam Web API key to use this package?
No. Authentication happens through Steam OpenID, which does not require an API key, and the basic profile information comes back from that flow. A Steam Web API key is only needed if you plan to call additional Steam Web API endpoints yourself, such as owned games or player ban summaries.
How do I test Steam login in my Laravel test suite?
Avoid calling Steam from automated tests. Instead, assert that your login route redirects to the Steam OpenID URL and simulate the callback with a faked or mocked OpenID response so the package resolves a synthetic Steam user. Keep a small number of real end-to-end checks in a staging environment where an actual Steam account can complete the flow.
Can I use this package with Laravel's built-in authentication guard?
Yes. The package only handles the Steam handshake; deciding what happens afterwards is up to you. The usual pattern is to find or create an Eloquent user keyed by the returned SteamID, call Auth::login($user) and regenerate the session so Laravel's guards, middleware and policies behave as normal.
Is laravel-steam-login still maintained, and what are the alternatives?
The package targets Laravel up to 8.x, so check the repository for recent commits, open issues and PHP version constraints before adopting it on a newer Laravel release. Alternatives include laravel/socialite with a community Steam provider such as socialiteproviders/steam, or implementing the Steam OpenID redirect and verification yourself if you only need a single provider.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource