PHPackages                             weedeej/authspace - 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. weedeej/authspace

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

weedeej/authspace
=================

Wrapper for Valorant Client Auth

0141PHP

Since Feb 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/weedeej/authspace)[ Packagist](https://packagist.org/packages/weedeej/authspace)[ RSS](/packages/weedeej-authspace/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Valorant Client Wrapper
=======================

[](#valorant-client-wrapper)

A php wrapper for authenticating user for Valorant Client APIs

How to install
--------------

[](#how-to-install)

```
composer require weedeej/authspace:dev-master

```

Usage
-----

[](#usage)

Auth using username and password

```
use Weedeej\AuthSpace\Authentication;

$authObject = new Authentication(["username"=>"myUsername69",
                       		  "password"=>"s3cuReP4ss420",
                       		  "shard"=>"ap"]);
$authTokens = $authObject->authByUsername(); //Password is the most required key here.
```

Auth using Tokens

```
use Weedeej\AuthSpace\Authentication;

$authObject = new Authentication(["username"=>"token.fetched.from.my.other.repo",
                         	  "shard"=>"ap"]);
$authTokens = $authObject->authByToken();//If password is defined,
					 //this will return an error.
```

Remembering Cookies

```
/*Remembering Cookies not credentials for Re-auth

NOTE: "remember" should be set on true*/
const remember = ["username"=>"myUsername69",
                  "password"=>"s3cuReP4ss420",
                  "shard"=>"ap",
                  "remember"=>true];

public function rememberMe(){
    $authObject = new Authentication(self::remember);
    $authTokens = $authObj->authByUsername();
    return $authTokens;
}

/* Parameters on Authentication object should be 'null' */
public function reAuth(){
    $authObject = new Authentication();
    $authTokens = $authObj->reAuth();
    return $authTokens;
}
```

To get the token required, There so many ways to get it. But I recommend my project [VTACCESS](https://github.com/weedeej/val-token-fetcher) as it copies that token instead of being displayed.

License
=======

[](#license)

MIT

Disclaimer
----------

[](#disclaimer)

I am not responsible on any illegal activites this project will be used for.

Materials, Endpoints, and any other functions here in this repository are owned by Riot Games and there is no way this project is affiliated or endorsed by Riot Games.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

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/81957705c0f238d1ae849c1f8c5faef81a2f7a1459aceeb0e37a2bbbaebe5d20?d=identicon)[weedeej](/maintainers/weedeej)

---

Top Contributors

[![weedeej](https://avatars.githubusercontent.com/u/87055977?v=4)](https://github.com/weedeej "weedeej (15 commits)")

### Embed Badge

![Health badge](/badges/weedeej-authspace/health.svg)

```
[![Health](https://phpackages.com/badges/weedeej-authspace/health.svg)](https://phpackages.com/packages/weedeej-authspace)
```

###  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)
