承接 lebuhorskiy/socialiteproviders-epicgames 相关项目开发

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

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

lebuhorskiy/socialiteproviders-epicgames

最新稳定版本:1.0.1

Composer 安装命令:

composer require lebuhorskiy/socialiteproviders-epicgames

包简介

Epic Games OAuth2 Provider for Laravel Socialite

README 文档

README

composer require voval921/socialiteproviders-epicgames

Add configuration to config/services.php

'epicgames' => [
  'client_id' => null,
  'client_secret' => env('EPICGAMES_CLIENT_SECRET'),
  'redirect' => env('EPICGAMES_REDIRECT_URI'),
  'allowed_hosts' => [
    'example.com',
  ]
],

Add provider event listener

Configure the package's listener to listen for SocialiteWasCalled events.

Add the event to your listen[] array in app/Providers/EventServiceProvider.

protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \Voval\Socialite\EpicGames\EpicGamesExtendSocialite::class.'@handle',
    ],
];

Usage

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

return Socialite::driver('epicgames')->redirect();

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-07