PHPackages                             navarr/minecraft-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. navarr/minecraft-api

ActiveLibrary[API Development](/categories/api)

navarr/minecraft-api
====================

An API for validating a Minecraft user against Mojang's servers

2.0(12y ago)0416[1 issues](https://github.com/navarr/MinecraftAPI/issues)MITPHPPHP &gt;=5.3.0

Since Jul 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/navarr/MinecraftAPI)[ Packagist](https://packagist.org/packages/navarr/minecraft-api)[ RSS](/packages/navarr-minecraft-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

MinecraftAPI
============

[](#minecraftapi)

An API for validating a user against Mojang's servers written in PHP

Installation
------------

[](#installation)

Assuming you have [composer](http://www.getcomposer.org/),

`php composer.phar require navarr/minecraft-api:2.*`

How to use
----------

[](#how-to-use)

Using the MinecraftAPI is incredibly easy in PHP. Assuming that you have it installed via composer,

```
