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 2d 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 60% 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

1904d 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://www.gravatar.com/avatar/8d76c3696cd1edaf652038f5e72ae903f1f1795e6764189995ea9fe36110943b?d=identicon)[Kuzdo](/maintainers/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

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)[invisnik/laravel-steam-auth

Laravel Steam Auth

171160.6k1](/packages/invisnik-laravel-steam-auth)[jurager/teams

Laravel package to manage team functionality and operate with user permissions.

22817.3k](/packages/jurager-teams)

PHPackages © 2026

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