PHPackages                             reactmay/wow-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. reactmay/wow-auth

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

reactmay/wow-auth
=================

package for WoW Authentification

089PHP

Since Nov 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/reactmay/wow-auth)[ Packagist](https://packagist.org/packages/reactmay/wow-auth)[ RSS](/packages/reactmay-wow-auth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WoW Authentication for Laravel 5.6
==================================

[](#wow-authentication-for-laravel-56)

Laravel 5.6 package for authentication based on TrinityCore Database.

WoW authentication is based on a sha1 hash of a concatenation of username and password.

Requirements
============

[](#requirements)

- PHP &gt;= 5.5.9 || 7.0
- reactmay/wow-models &gt;= dev-master
- Laravel =&gt; 5.6

Installation
============

[](#installation)

```
composer require reactmay/wow-auth

```

- Add the service provider and facade in your config/app.php

Service Provider

```
'providers' => [

    [...]

    reactmay\WoWAuth\Providers\WoWAuthServiceProvider::class,

    [...]
]

```

Facade

```
'aliases' => [

    [...]

    'WoWAuth' => reactmay\WoWAuth\Facades\WoW::class,

    [...]
]

```

- Add database connection in you config/database.php

```
'connections' => [

        [...]

        'characters' => [
            'driver'    => 'mysql',
            'host'      => env('DB_HOST_CHARACTERS', 'localhost'),
            'database'  => env('DB_DATABASE_CHARACTERS', 'forge'),
            'username'  => env('DB_USERNAME_CHARACTERS', 'forge'),
            'password'  => env('DB_PASSWORD_CHARACTERS', ''),
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => '',
            'strict'    => false,
        ],

        'world' => [
            'driver'    => 'mysql',
            'host'      => env('DB_HOST_WORLD', 'localhost'),
            'database'  => env('DB_DATABASE_WORLD', 'forge'),
            'username'  => env('DB_USERNAME_WORLD', 'forge'),
            'password'  => env('DB_PASSWORD_WORLD', ''),
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => '',
            'strict'    => false,
        ],

        'auth' => [
            'driver'    => 'mysql',
            'host'      => env('DB_HOST_AUTH', 'localhost'),
            'database'  => env('DB_DATABASE_AUTH', 'forge'),
            'username'  => env('DB_USERNAME_AUTH', 'forge'),
            'password'  => env('DB_PASSWORD_AUTH', ''),
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => '',
            'strict'    => false,
        ]

        [...]

    ],

```

- Add variable in your .env and configure it

```
DB_HOST_WORLD=localhost
DB_DATABASE_WORLD=world
DB_USERNAME_WORLD=root
DB_PASSWORD_WORLD=root

DB_HOST_CHARACTERS=localhost
DB_DATABASE_CHARACTERS=characters
DB_USERNAME_CHARACTERS=root
DB_PASSWORD_CHARACTERS=root

DB_HOST_AUTH=localhost
DB_DATABASE_AUTH=auth
DB_USERNAME_AUTH=root
DB_PASSWORD_AUTH=root

```

- Create configuration file and views

```
php artisan vendor:publish --provider="reactmay\WoWAuth\Providers\WoWAuthServiceProvider"

```

- Configure the package in config/wow-auth.php
- Do migrations

```
php artisan migrate

```

**It's done ! You can now use the package**

Configuration
=============

[](#configuration)

ConfigurationValue typeDefault valueDescriptionpassportbooleanfalseActive the support of Laravel PassportUsage
=====

[](#usage)

- Change users providers or create a new one in config/auth.php

```
'providers' => [
        'users' => [
            'driver' => 'wow',
            'model' => reactmay\WoWAuth\Models\Auth\Account::class,
        ],
    ],

```

- Add the connection name in passwords reset configuration or create a new one in config/auth.php

```
'passwords' => [
        'users' => [
            'provider' => 'users',
            'connection' => 'auth',
            'table' => 'password_resets',
            'expire' => 60,
        ],
    ],

```

- Create Auth Route in routes/web.php with :

```
WoWAuth::routes();

```

FAQ
===

[](#faq)

- Can I active the support of Laravel Passport before a first installation without ?

Yes you can ! Change the configuration value to true and make a refresh of migrations. All accounts created before the activation of the support of Laravel Passport must reset their password to use Password Grant Authorization system.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5fe6c31201af485d174c9a30b1bb3e5425b87555dddc0b90f1954b438de5848?d=identicon)[reactmay](/maintainers/reactmay)

---

Top Contributors

[![reactmay](https://avatars.githubusercontent.com/u/9634736?v=4)](https://github.com/reactmay "reactmay (79 commits)")

### Embed Badge

![Health badge](/badges/reactmay-wow-auth/health.svg)

```
[![Health](https://phpackages.com/badges/reactmay-wow-auth/health.svg)](https://phpackages.com/packages/reactmay-wow-auth)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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