Download the PHP package juggl/minecraft without Composer
On this page you can find all versions of the php package juggl/minecraft. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download juggl/minecraft
More information about juggl/minecraft
Files in juggl/minecraft
Package minecraft
Short Description Laravel wrapper for Mojang's Minecraft API
License MIT
Homepage https://github.com/svenluijten/Minecraft
Informations about the package minecraft
THIS VERSION IS DEPRECATED! PLEASE USE sven/minecraft-php INSTEAD.
Minecraft API
This is a simple package providing you with all the tools to quickstart development on that Minecraft site you've been craving. Retrieve UUIDs based on usernames or the other way around with a simple and human-readable API.
Install
Via composer:
If you're using the Laravel framework, you can add the MinecraftServiceProvider
to your
providers
array:
You may also add the Minecraft
facade to the aliases
array to use the facade:
Usage
If you specified the alias in config/app.php
, you can use the facade:
Of course, all other methods can also be accessed this way.
Rate limiting
Mojang has some rate limiting in place so you are expected to cache the results. For everything in this package, the limit is 600 requests every 10 minutes. Keep in mind Mojang might change this at any time.
Credits
This is simply a wrapper around Mojang's API, beautifully (yet unofficially) documented at http://wiki.vg/Mojang_API.
License
Juggl\Minecraft
is licenced under the MIT License (MIT). Please see the
license file for more information.