PHP code example of navarr / minecraft-profile
1. Go to this page and download the library: Download navarr/minecraft-profile library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
navarr / minecraft-profile example snippets
use Navarr\Minecraft\Profile;
$profile = Profile::fromUuid('bd95beec116b4d37826c373049d3538b');
$username = $profile->name;
$cape = $profile->capeUrl;
$skin = $profile->skinUrl;