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 1mo ago

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 27% 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

1889d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7519ac3bcc1ea6227cc3cd681c657d474811dc38962072f33573fa70c94cf825?d=identicon)[deko96](/maintainers/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

[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)[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)[jurager/teams

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

22817.3k](/packages/jurager-teams)[arcanedev/laravel-auth

Laravel Authorization package.

294.8k1](/packages/arcanedev-laravel-auth)

PHPackages © 2026

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