sloukapetr/socialite-seznam-driver 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sloukapetr/socialite-seznam-driver

最新稳定版本:1.2.1

Composer 安装命令:

composer require sloukapetr/socialite-seznam-driver

包简介

This is my package socialite-seznam-driver

README 文档

README

image image

This package offers a Seznam.cz driver for Laravel Socialite, allowing seamless integration of OAuth in Laravel projects. It simplifies the process of leveraging Laravel Socialite for user authentication via Seznam.cz, enhancing the overall project efficiency.

This is updated version to work with PHP 8.2 and Laravel 12.

Installation

You can install the package via composer:

composer require sloukapetr/socialite-seznam-driver

Put values into config/services.php file:

'seznam' => [
    'client_id' => env('SEZNAM_OAUTH_CLIENT_ID'),
    'client_secret' => env('SEZNAM_OAUTH_SECRET'),
    'redirect' => env('SEZNAM_OAUTH_REDIRECT'),
];

Usage

Redirect to Seznam oAuth sing in page via:

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

After loging in on the page retrieve the user via:

 $user = Socialite::driver('seznam')->stateless()->user();

Rest of the logic is depending on your project and business needs.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-12