awkaay / nexusggr
Easy integration API for nexusggr.
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/awkaay/nexusggr
Requires
- php: ^8.2
- nesbot/carbon: ^3.8
- vlucas/phpdotenv: ^5.6
README
Installation
Required :
- Laravel 11 or higher
- PHP 8.2 or higher
Open your laravel project directory then install
composer require awkaay/nexusggr
- Place it inside the .env file
NEXUSGGR_AGENT=youragent NEXUSGGR_TOKEN=yourtoken NEXUSGGR_ENDPOINT=https://api.nexusggr.com
Usage/Examples
- Create new user:
use Awkaay\Nexusggr\Nexusggr; $nexusggr = new Nexusggr; $register = $nexusggr->register(username: 'test');
- Deposit or Withdraw:
use Awkaay\Nexusggr\Nexusggr; $nexusggr = new Nexusggr; $deposit = $nexusggr->transaction(username: 'test', type: 'deposit', amount: 100000); $withdraw = $nexusggr->transaction(username: 'test', type: 'withdraw', amount: 100000);
- Reset User Balance:
use Awkaay\Nexusggr\Nexusggr; $nexusggr = new Nexusggr; $resetBalanceAllUsers = $nexusggr->resetUserBalance(); <!-- OR --> $resetBalanceByUsername = $nexusggr->resetUserBalance(username: 'test');
- Etc
use Awkaay\Nexusggr\Nexusggr; $nexusggr = new Nexusggr; $launchGame = $nexusggr->launchGame(); $providers = $nexusggr->providers(); $games = $nexusggr->games(); $turnovers = $nexusggr->turnovers(); $currentPlayers = $nexusggr->currentPlayers(); $callScatterList $nexusggr->callScatterList(); $callScatterApply = $nexusggr->callScatterApply(); $callHistory = $nexusggr->callHistory(); $cancelCall = $nexusggr->cancelCall(); $controlUserRtp = $nexusggr->controlUserRtp(); $controlAllUsersRtp = $nexusggr->controlAllUsersRtp();