PHP library to check if a Minecraft account is Premium
Switch branches/tags
Nothing to show
Clone or download
Latest commit fba66de Oct 7, 2018
Failed to load latest commit information.
src Removed unused variable Sep 30, 2018
.editorconfig Added .editorconfig file Oct 6, 2018
.gitignore Added .editorconfig file Oct 6, 2018 Updated readme Sep 29, 2018
LICENSE Added LICENSE file Sep 29, 2018 Updated Readme Oct 7, 2018
composer.json Added composer Sep 29, 2018

Minecraft Premium Account Checker

Latest Stable Version Total Downloads License PHP

This library can be used to check if an Minecraft account is premium.

⚠ Warning: making too many request in a short period of time, the webserver IP will be temporary banned (about 15min) from Mojang API.


  • PHP >= 5.6


You can install this library with composer:

composer require lukasss93/minecraft-premium-account-checker


	use MCPremium\MCPremium;


The check() method has 2 parameters:

# Parameter Type Description
1 username string Minecraft account username (or email if Mojang account)
2 password string Minecraft account password


The check() method returns an object with the following properties:

Property Type Description
premium bool Returns true if the account is premium, otherwise false
error string Returns an error message
username string Returns the entered username
correct_username string Returns the in-game username
uuid string Returns the account UUID
created_at integer Returns the creation timestamp account
raw array Returns the original response from the API

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.


All notable changes to this project will be documented here.

Recent changes


  • First release