PHPackages                             azate/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. azate/laravel-wargaming-auth

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

azate/laravel-wargaming-auth
============================

Laravel Wargaming Auth

v2.1.0(7y ago)4252MITPHPPHP ^7.0

Since Mar 4Pushed 7y agoCompare

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

READMEChangelog (5)Dependencies (4)Versions (6)Used By (0)

Wargaming authentication for Laravel 5
======================================

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

[![License](https://camo.githubusercontent.com/8b546566be231783b4eaf89eef735b31c0567a60b33c03f518e88a61a187ca94/68747470733a2f2f706f7365722e707567782e6f72672f617a6174652f6c61726176656c2d77617267616d696e672d617574682f6c6963656e7365)](https://packagist.org/packages/azate/laravel-wargaming-auth)[![Latest Stable Version](https://camo.githubusercontent.com/bac585ccc03a17d4e0b7fe170d9dbbfd42198bd4ba16ecf9f99c5ac5ffaa24ef/68747470733a2f2f706f7365722e707567782e6f72672f617a6174652f6c61726176656c2d77617267616d696e672d617574682f762f737461626c65)](https://packagist.org/packages/azate/laravel-wargaming-auth)[![Total Downloads](https://camo.githubusercontent.com/041833f607373db7dabd0c8eb1197ec1383167002fe80d2790a9e083213ee89f/68747470733a2f2f706f7365722e707567782e6f72672f617a6174652f6c61726176656c2d77617267616d696e672d617574682f646f776e6c6f616473)](https://packagist.org/packages/azate/laravel-wargaming-auth)

This package is a Laravel 5 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 azate/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="Azate\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 Azate\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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~48 days

Total

5

Last Release

2847d ago

Major Versions

v1.0.2 → v2.0.02018-09-02

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

v2.1.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/58bb9712065339d2fd322499afae5cf4db3deb1cd8bd268c9116454694fbd01a?d=identicon)[mp6j8i](/maintainers/mp6j8i)

---

Top Contributors

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

---

Tags

laravelauthwargaming

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

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

Framework for Roots WordPress projects built with Laravel components.

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

Rapidly build MCP servers for your Laravel applications.

77022.3M131](/packages/laravel-mcp)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M846](/packages/laravel-socialite)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M529](/packages/laravel-boost)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M161](/packages/intervention-image-laravel)

PHPackages © 2026

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