New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

aditamagf/check-ign

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aditamagf/check-ign

Un-official API to Check Username Game By Account ID

Source
Packagist
Version
v2.0
Version published
Total downloads
306
Maintainers
1
Created
Source

PHP Library for Checking a Game Nickname Based on an Account ID

Packagist Total Downloads CodeFactor GitHub Issues GitHub Forks GitHub Stars License

:coffee: Buy Me a Coffee

Installation

composer require aditamagf/check-ign

Usage

require 'src/ApiGames.php'; // or rely on Composer autoload

use Aditdev\ApiGames;

$api = new ApiGames();

// Modern API: returns an array
//   success -> ['status' => 200, 'nickname' => '...']
//   failure -> ['status' => 4xx|5xx, 'msg' => '...']
$result = $api->check('MOBILE_LEGENDS', '<userID>', '<zoneID>');
$result = $api->check('FREEFIRE', '<userID>');

// Helpers
$api->supports('MOBILE_LEGENDS'); // bool
$api->games();                    // array of supported game codes

// Legacy API (still supported): returns a JSON string
echo $api->MOBILE_LEGENDS('<userID>', '<zoneID>');
echo $api->FREEFIRE('<userID>');

Adding or removing a game

Games are defined as plain data in src/games.php. Add or remove an entry there — no need to touch any class:

'MOBILE_LEGENDS' => ['name' => 'Mobile Legends: Bang Bang', 'zone' => 'user'],

List of Games

GameCode
8 Ball PoolEIGHT_BALL_POOL
Arena of ValorAOV
Asphalt 9: LegendsGAMELOFT_A9
AU2 MobileAU_TWO_MOBILE
Auto ChessAUTO_CHESS
Azur LaneAZUR_LANE
BadlandersBAD_LANDERS
BasketrioBASKETRIO
Call of Duty MobileCALL_OF_DUTY
Captain Tsubasa: Dream TeamCAPTAIN_TSUBASA
Crisis ActionCA_HEROGAMES
Dragon CityDRAGON_CITY
Dragon RajaZULONG_DRAGON_RAJA
EOS REDEOS_RED
Farlight 84FARLIGHT84
Football Master 2FOOTBALL_MASTER
Free FireFREEFIRE
Genshin ImpactGENSHIN_IMPACT
GROWTOPIAGROWTOPIA
HagoHAGO
Laplace MZLONGAME
League of Legends: Wild RiftWILD_RIFT
LifeAfterNETEASE_LIFEAFTER
Love and DeepspaceLOVE_AND_DEEPSPACE
MARVEL DuelMARVEL_DUEL
Mobile Legends: Bang BangMOBILE_LEGENDS
Mobile Legends: AdventureADVENTURE
MU Origin 2OURPALM
ONE PUNCH MAN: The StrongestONE_PUNCH_MAN
Onmyoji ArenaONMYOJI_ARENA
Pixel Gun 3DPIXEL_GUN_3D
Point BlankPOINT_BLANK
Ragnarok M: Eternal Love Big Cat CoinGRAVITY_RAGNAROK_M
Ragnarok X: Next GenerationRAGNAROK_X
Sausage ManSAUSAGE_MAN
Speed DriftersSPEEDDRIFTERS
Super Mecha ChampionsSUPER_MECHA_CHAMPIONS
Super SUSSUPER_SUS
VALORANTVALORANT
War Planet OnlineWAR_PLANET_ONLINE
Watcher of RealmsWATCHER_OF_REALMS
ZEPETONAVER_Z_CORPORATION

Star History

Star History Chart

License

This open-source software is distributed under the MIT License. See LICENSE.md

Contributing

All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...

  • Send feedbacks.
  • Submit bug reports.
  • Write/Edit the documents.
  • Fix bugs or add new features.

FAQs

Package last updated on 28 Jun 2026

Related posts