lukasss93 / minecraft-premium-account-checker
PHP library to check if a Minecraft account is Premium
Installs: 136
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 3
Forks: 10
Open Issues: 0
Type:project
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-10-16 03:38:00 UTC
README
This library can be used to check if an Minecraft account is premium.
⚠ This library doesn't work with a Microsoft Accounts ⚠
⚠ Warning: making too many request in a short period of time, the webserver IP will be temporary banned (about 15min) from Mojang API.
Requirements
- PHP >= 5.6
Installation
You can install this library with composer:
composer require lukasss93/minecraft-premium-account-checker
Using
<?php //using the class use MCPremium\MCPremium; //include composer autoload require_once('../vendor/autoload.php'); //checking account $response=MCPremium::check('username','password'); //get informations from object var_dump($response); //or from array var_dump($response->toArray()); ?>
Input
The check()
method has 2 parameters:
Output
The check()
method returns an object with the following properties:
You can use the toArray()
method after check()
method to get the properties as an array.
I assume no liability for any theft of Minecraft Accounts.
Changelog
All notable changes to this project will be documented here.