letsplaybar / minecraft-skin
A Laravel Wrapper to create Image from MinecraftSkin
1.0.0
2020-03-20 11:22 UTC
Requires
- php: ^7.2
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2024-10-08 00:02:51 UTC
README
The letsplaybar/minecraftskins
package provides easy to use path for Rendering MinecraftSkins.
Installation
You can install the package via composer:
composer require letsplaybar/minecraft-skin
Add MinecraftSkinsServiceProvider in config/app.php
'providers' => [
/*
* Package Service Providers...
*/
Letsplaybar\TVDB\MinecraftSkinsServiceProvider::class,
];
Run Migrations to migrate SkinTable
php artisan migrate
Run RouteCacheCMD to load routes
php artisan route:cache
Usage
Render Skin in View
<img src="/minecraft/skin?uuid=7524632d021e4ef788c84588447b66bd&size=2">
default size parameter is 1
Render Head in View
<img src="/minecraft/head?uuid=7524632d021e4ef788c84588447b66bd&size=2">
default size parameter is 1
Credits
License
The GPLv3 License (GPLv3). Please see License File for more information.