{"id":27311689,"url":"https://github.com/tuxcoding/minecraft-skin-renderer","last_synced_at":"2025-04-12T06:12:57.828Z","repository":{"id":54658504,"uuid":"56909923","full_name":"TuxCoding/Minecraft-Skin-Renderer","owner":"TuxCoding","description":"Minecraft 3D Skin renderer with composer support and flexible rotation configuration","archived":false,"fork":false,"pushed_at":"2022-03-29T06:50:23.000Z","size":12,"stargazers_count":18,"open_issues_count":1,"forks_count":8,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-12T06:12:49.528Z","etag":null,"topics":["composer","head","library","minecraft","minecraft-skin-renderer","skin"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/games647/minecraft-skin-renderer","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TuxCoding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-23T08:53:21.000Z","updated_at":"2025-02-19T14:55:11.000Z","dependencies_parsed_at":"2022-08-13T23:01:13.890Z","dependency_job_id":null,"html_url":"https://github.com/TuxCoding/Minecraft-Skin-Renderer","commit_stats":null,"previous_names":["tuxcoding/minecraft-skin-renderer"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuxCoding%2FMinecraft-Skin-Renderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuxCoding%2FMinecraft-Skin-Renderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuxCoding%2FMinecraft-Skin-Renderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuxCoding%2FMinecraft-Skin-Renderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TuxCoding","download_url":"https://codeload.github.com/TuxCoding/Minecraft-Skin-Renderer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525138,"owners_count":21118619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","head","library","minecraft","minecraft-skin-renderer","skin"],"created_at":"2025-04-12T06:12:56.762Z","updated_at":"2025-04-12T06:12:57.819Z","avatar_url":"https://github.com/TuxCoding.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minecraft Skin Renderer\n\n## Description\n\nMinecraft skin renderer library.\n\n## Features\n\n* Only responsible for rendering - You can manage how you want to\n    * Download the raw skin data\n    * Store the rendered skin\n    * Cache the result\n* Easy to install and use\n* Easy and flexible skin rotation for 3d skin rendering\n\n## ToDo\n\n* 3D-Rendering --\u003e skin rotations/perspective view\n* 1.8 Skin format support\n* Add image smoothing\n* Add arms, legs, head position manipulation\n* Add cape rendering\n\n## Installation\n\nWith composer it's just:\n\n    composer require games647/minecraft-skin-renderer\n\nFor non-composer projects, you can drop the files from the /src folder into a libraries folder and use it with a\nrequire statement at the top of the PHP-File. You can see a example in the example.php file.\n\n## Usage\n\n```PHP\n//this is only used if you don't use composer\nrequire __DIR__ . '/PATH_TO_LIB_FOLDER/MinecraftSkins.php';\n\nuse \\MinecraftSkins\\MinecraftSkins;\n\n[...]\n\n//load the skin from a file\n$skinImage = imagecreatefrompng(\"cd6be915b261643fd13621ee4e99c9e541a551d80272687a3b56183b981fb9a.png\");\n\n//render the skin and make it 5 times bigger\n$result = MinecraftSkins::skin($skinImage, 5);\n\n//this part is for rendering the skin only\n//tell the browser that we will send the raw image without HTML\nheader('Content-type: image/png');\nimagepng($renderedSkin);\n```\n\n## Examples\n\nDinnerbone head\n```PHP\nMinecraftSkins::head($skinImage, 5);\n```\n![Dinnerbone head](http://i.imgur.com/di5eMd6.png)\n\nDinnerbone full skin\n```PHP\nMinecraftSkins::skin($skinImage, 5);\n```\n![Dinnerbone skin](http://i.imgur.com/g1QQCXP.png)\n\n## Useful links\n\n* http://minecraft.gamepedia.com/Skin\n* https://github.com/minotar/skin-spec\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxcoding%2Fminecraft-skin-renderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuxcoding%2Fminecraft-skin-renderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuxcoding%2Fminecraft-skin-renderer/lists"}