ravols / socialite-seznam-driver
This is my package socialite-seznam-driver
Fund package maintenance!
Requires
- php: ^8.3
- illuminate/contracts: ^10.0||^11.0||^12.0||^13.0
- laravel/socialite: ^5.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^8.0||^9.0||^10.0||^11.0
- pestphp/pest: ^3.0||^4.0
This package is auto-updated.
Last update: 2026-08-10 13:33:22 UTC
README
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.
Requirements
- PHP 8.3+
- Laravel 10, 11, 12 or 13
- Laravel Socialite 5
Laravel 11, 12 and 13 are covered by the test matrix. Laravel 10 remains supported by the version
constraint but is no longer exercised in CI, because Pest's nunomaduro/collision requirement
conflicts with laravel/framework <11.48.
Installation
You can install the package via composer:
composer require ravols/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.