PHPackages                             kuzdo/laravel-wargaming-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. kuzdo/laravel-wargaming-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

kuzdo/laravel-wargaming-auth
============================

Laravel Wargaming Auth

v2.2.0(5y ago)05MITPHPPHP ^7.3|^8.0

Since Mar 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Kuzdo/laravel-wargaming-auth)[ Packagist](https://packagist.org/packages/kuzdo/laravel-wargaming-auth)[ RSS](/packages/kuzdo-laravel-wargaming-auth/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (4)Versions (7)Used By (0)

Wargaming authentication for Laravel 8
======================================

[](#wargaming-authentication-for-laravel-8)

[![License](https://camo.githubusercontent.com/12355fc1fbd62d7a2280af55e5df07d403f2ff4dae93f478388ba1b818e663ae/68747470733a2f2f706f7365722e707567782e6f72672f6b757a646f2f6c61726176656c2d77617267616d696e672d617574682f6c6963656e7365)](https://packagist.org/packages/kuzdo/laravel-wargaming-auth)[![Latest Stable Version](https://camo.githubusercontent.com/1cefedbb8f22985f0f1033153883ccea5f48492cf99340caf02929f028da5022/68747470733a2f2f706f7365722e707567782e6f72672f6b757a646f2f6c61726176656c2d77617267616d696e672d617574682f762f737461626c65)](https://packagist.org/packages/kuzdo/laravel-wargaming-auth)[![Total Downloads](https://camo.githubusercontent.com/024132fd13dcf534fd629b034e03b03e405e48711da2136798303f393108296d/68747470733a2f2f706f7365722e707567782e6f72672f6b757a646f2f6c61726176656c2d77617267616d696e672d617574682f646f776e6c6f616473)](https://packagist.org/packages/kuzdo/laravel-wargaming-auth)

This package is a Laravel 8 service provider which provides support for Wargaming OpenID and is very easy to integrate with any project that requires Wargaming authentication.

Installation
------------

[](#installation)

Require this package with composer.

```
composer require kuzdo/laravel-wargaming-auth
```

Laravel &gt;=5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Copy the package config to your local config with the publish command:

```
php artisan vendor:publish --provider="Kuzdo\Laravel\WargamingAuth\Providers\WargamingAuthServiceProvider"
```

Usage example
-------------

[](#usage-example)

In `routes/web.php`:

```
Route::get('auth/wargaming/{wargamingAuthRegion?}', 'AuthController@redirectToWargaming')->name('auth.wargaming');
Route::get('auth/wargaming/callback', 'AuthController@handleWargamingCallback')->name('auth.wargaming.handle');
```

In `AuthController`:

```
namespace App\Http\Controllers;

use Kuzdo\Laravel\WargamingAuth\WargamingAuth;
use Illuminate\Http\RedirectResponse;

class AuthController extends Controller
{
    /**
     * @var WargamingAuth
     */
    protected $wargamingAuth;

    /**
     * AuthController constructor.
     *
     * @param WargamingAuth $wargamingAuth
     */
    public function __construct(WargamingAuth $wargamingAuth)
    {
        $this->wargamingAuth = $wargamingAuth;
    }

    /**
     * Redirect the user to the authentication page.
     *
     * @param string|null $region
     *
     * @return RedirectResponse
     */
    public function redirectToWargaming(string $region = null): RedirectResponse
    {
        if ($region) {
            $this->wargamingAuth->setRegion($region);
        }

        return new RedirectResponse($this->wargamingAuth->redirectUrl());
    }

    /**
     * Get user info and log in (hypothetically).
     *
     * @return RedirectResponse
     */
    public function handleWargamingCallback(): RedirectResponse
    {
        if ($this->wargamingAuth->verify()) {
            $user = $this->wargamingAuth->user();

            //

            return new RedirectResponse('/');
        }

        return $this->redirectToWargaming();
    }
}
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 72.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~217 days

Recently: every ~271 days

Total

6

Last Release

1956d ago

Major Versions

v1.0.2 → v2.0.02018-09-02

PHP version history (3 changes)v1.0.0PHP &gt;=7.0.0

v2.1.0PHP ^7.0

v2.2.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6685335?v=4)[Przemysław Kużdowicz](/maintainers/Kuzdo)[@Kuzdo](https://github.com/Kuzdo)

---

Top Contributors

[![hz61p1](https://avatars.githubusercontent.com/u/12779610?v=4)](https://github.com/hz61p1 "hz61p1 (8 commits)")[![Kuzdo](https://avatars.githubusercontent.com/u/6685335?v=4)](https://github.com/Kuzdo "Kuzdo (3 commits)")

---

Tags

laravelauthwargaming

### Embed Badge

![Health badge](/badges/kuzdo-laravel-wargaming-auth/health.svg)

```
[![Health](https://phpackages.com/badges/kuzdo-laravel-wargaming-auth/health.svg)](https://phpackages.com/packages/kuzdo-laravel-wargaming-auth)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
