承接 truckersmp/steam-socialite 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

truckersmp/steam-socialite

最新稳定版本:v1.8.0

Composer 安装命令:

composer require truckersmp/steam-socialite

包简介

Laravel Socialite provider for Steam OpenID.

README 文档

README

GitHub Workflow Status StyleCI Status Total Downloads Latest Stable Version Latest Unstable Version License

Introduction

The TruckersMP PHP library for Laravel Socialite provides an adapter for the Steam OpenID authentication.

Requirements

Installation

To get started, use Composer to add the package to your application:

composer require truckersmp/steam-socialite

Following the documentation of Laravel Socialite, you will also need to add credentials for the Steam service. These credentials should be placed in your config/services.php configuration file:

'steam' => [
    'client_id' => null,
    'client_secret' => env('STEAM_SECRET'),
    'redirect' => env('STEAM_REDIRECT_URI'),
],

As OpenID does not use the client_id and client_secret properties, the latter is actually utilized as the Steam API key and is used for fetching the user data. For more information about the API, check the Steam developer portal.

Do not forget to put new environment variables into your .env application file:

# Steam OpenID
STEAM_SECRET=
STEAM_REDIRECT_URI=

Laravel 5.5+ uses Package Auto-Discovery, so does not require you to manually add the SteamSocialiteProvider.

If you do not use auto-discovery, you will need register the provider in your config/app.php configuration file as a package service provider:

'providers' => [

    // ...

    /*
     * Package Service Providers...
     */
    TruckersMP\SteamSocialite\SteamSocialiteProvider::class,

    // ...

],

Consult the documentation of Laravel Socialite to implement the application functionality.

Support

If you have any questions about the library, you can create a topic on our forum.

License

This package is open-source and is licensed under the MIT license.

统计信息

  • 总下载量: 14.19k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 14
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 3
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固