PHPackages                             baruch4413/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. baruch4413/identicon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

baruch4413/identicon
====================

A PHP library for generating identicons.

1.1.2(8y ago)013MITPHPPHP &gt;=5.4.0

Since Oct 10Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

PHP Identicon Generator
-----------------------

[](#php-identicon-generator)

[![Code Climate](https://camo.githubusercontent.com/bec52ff8d9edfa9af0feb95f2fb2f516b594a835f7527c08794b238c29427cbd/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6269747665727365696f2f6964656e7469636f6e2f6261646765732f6770612e737667)](https://codeclimate.com/github/bitverseio/identicon) [![Test Coverage](https://camo.githubusercontent.com/f38d698289cae1071775125cf7a25b7a9c69492886c50dd1f9658075c970679d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6269747665727365696f2f6964656e7469636f6e2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/bitverseio/identicon/coverage)

This is a PHP library which generates identicons based on a given string. Currently only SVG format is supported as it offers the best combination of efficiency, quality, file size and ease of use.

For integration with a symfony application, there is [BitverseIdenticonBundle](https://github.com/bitverseio/BitverseIdenticonBundle)

### Installation

[](#installation)

Install using composer:

```
$ composer require baruch4413/identicon

```

### Usage

[](#usage)

The code below, will create a rings-identicon from the string "hello world", and save it to `helloworld.svg`.

```
