MonsterID adaptation for Composer and modern PHP versions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anton Smirnov fe6c9d7d28 No more tests for PHP 5.5 1 month ago
assets wrong image info location 4 years ago
docs Fix docs and examples 5 months ago
example Fix docs and examples 5 months ago
src SandFoxMe -> SandFox 6 months ago
tests add tests 1 year ago
.gitattributes Remove some non needed files from packaging 1 year ago
.gitignore add tests 1 year ago
.travis.yml No more tests for PHP 5.5 1 month ago
CHANGELOG.md Mark 1.2.0 6 months ago
LICENSE.md Sync license and readme with upstream 1 year ago
README.md Update link to docs 2 months ago
composer.json Update link to docs 2 months ago
legacy.php Register old namespace as an alias 6 months ago

README.md

MonsterID

Packagist license Travis Code Climate Coverage Code Climate

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.

Monster Example

MonsterID was inspired by a post by Don Park and the Combinatoric Critters.

All graphics were created by Andreas Gohr. The source code and the graphics are provided under the MIT License.

Installation

Install it with Composer

composer require 'sandfoxme/monsterid:^1.2'

Usage

<?php

use function SandFox\MonsterID\build_monster;

header('Content-type: image/png');
echo build_monster('[email protected]', 150);

Read full documentation here: https://sandfox.dev/php/monsterid.html

Adaptation

Adaptation as a composer library performed by Anton “Sand Fox” Smirnov