PHPackages                             fivenp/identicon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. fivenp/identicon

ActiveLibrary[Image &amp; Media](/categories/media)

fivenp/identicon
================

A PHP library for generating identicons.

0.2.3(8y ago)114GPL-3.0-onlyPHPPHP &gt;=5.4.0

Since Mar 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/fivenp/identicon)[ Packagist](https://packagist.org/packages/fivenp/identicon)[ RSS](/packages/fivenp-identicon/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)DependenciesVersions (6)Used By (0)

PHP-Identicons
==============

[](#php-identicons)

PHP-Identicons is a lightweight PHP implementation of Don Park's original identicon code for visual representation of MD5 hash values. The program uses the PHP GD library for image processing.

The code can be used to generate unique identicons, avatars, and system-assigned images based on a user's e-mail address, user ID, etc.

INSTALLATION
------------

[](#installation)

Install using composer:

```
$ composer require fivenp/identicon

```

USAGE
-----

[](#usage)

### Basic usage

[](#basic-usage)

The code below, will create an identicon from the string "TEST", and save it to `identicon.png`.

```
