MonsterID is a method to generate a unique monster image based upon a certain identifier (IP address, email address, whatever). It can be used to automatically provide personal avatar images in blog comments or other community services.
Install it with Composer
composer require 'sandfoxme/monsterid:^1.2'
<?php use function SandFox\MonsterID\build_monster; header('Content-type: image/png'); echo build_monster('email@example.com', 150);
Read full documentation here: https://sandfox.dev/monsterid.html
Adaptation as a composer library performed by Anton "Sand Fox" Smirnov