PHPackages                             deko96/auth-gg-laravel - 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. deko96/auth-gg-laravel

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

deko96/auth-gg-laravel
======================

Simple Auth.gg wrapper for Laravel

1.0.1(5y ago)19MITPHPPHP ^7.3

Since Mar 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/deko96/auth-gg-laravel)[ Packagist](https://packagist.org/packages/deko96/auth-gg-laravel)[ Docs](https://github.com/deko96/auth-gg-laravel)[ RSS](/packages/deko96-auth-gg-laravel/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (3)Used By (0)

Simple Auth.gg Laravel wrapper
==============================

[](#simple-authgg-laravel-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/65c6935c5fb488564097e0e74f3997aec56243cbeb48a98425d55006c9b8d9e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656b6f39362f617574682d67672d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/deko96/auth-gg-laravel)[![Total Downloads](https://camo.githubusercontent.com/56595a8801d59977c20dcc22603f63bdec4dd4f714748f29a1ccaefd11231e56/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64656b6f39362f617574682d67672d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/deko96/auth-gg-laravel)

This package was rapidly developed for my personal needs, but since I didn't found any similar package I've decided to publish it so anyone can use it. I am sorry for the poor documentation, once I get some time I will do some updates and provide with actual examples of how to use this package. In the meanwhile, you need to find your way through by reading my code 😁

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

[](#installation)

You can install the package via composer:

```
composer require deko96/auth-gg-laravel
```

Configuration
-------------

[](#configuration)

The Wrapper is depending on 4 parameters which can be configured through:

- Environment Variables

```
AUTHGG_AUTHORIZATION=
AUTHGG_SECRET=
AUTHGG_AID=
AUTHGG_API_KEY=
```

- Config file (config/auth-gg.php)

```
return [
    'authorization' => env('AUTHGG_AUTHORIZATION', ''),
    'secret' => env('AUTHGG_SECRET', ''),
    'aid' => env('AUTHGG_AID', ''),
    'apikey' => env('AUTHGG_API_KEY', '')
];
```

The config file can be published using the `vendor:publish` artisan command.

```
php artisan vendor:publish --provider="Deko96\AuthGG\AuthGGServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

Please note that all of the functions parameters are taken from the [auth.gg developer documentation](https://setup.auth.gg/).

```
use Deko96\AuthGG\AuthGG;

class SomeController extends Controller {
    // ...

    public function index(AuthGG $authGG) {
        $adminAPI = $authGG->admin();
        $universalAPI = $authGG->universal();

        // Users - https://setup.auth.gg/admin/users
        $users = $adminAPI->users([
            'type' => 'fetchall'
        ]);

        // The rest of the examples coming soon.
    }
    // ...
}
```

Contributing
------------

[](#contributing)

Wanna contribute? Feel free to make a pull request 🍺

Credits
-------

[](#credits)

- [Dejan Bozhinoski](https://github.com/deko96)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com) ❤️

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

1942d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11915426?v=4)[Dejan Bozhinoski](/maintainers/deko96)[@deko96](https://github.com/deko96)

---

Top Contributors

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

---

Tags

authUserslicensesauth.gghwid

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/deko96-auth-gg-laravel/health.svg)

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

###  Alternatives

[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M64](/packages/php-open-source-saver-jwt-auth)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)[jurager/teams

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

23822.5k](/packages/jurager-teams)

PHPackages © 2026

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