lukasss93/minecraft-premium-account-checker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lukasss93/minecraft-premium-account-checker

Composer 安装命令:

composer create-project lukasss93/minecraft-premium-account-checker

包简介

PHP library to check if a Minecraft account is Premium

README 文档

README

Latest Stable Version Total Downloads License PHP

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:

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

Output

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.

Changelog

All notable changes to this project will be documented here.

统计信息

  • 总下载量: 139
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 2
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固