PHPackages                             ttree/identicons - 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. ttree/identicons

ActiveNeos-package[Image &amp; Media](/categories/media)

ttree/identicons
================

Neos Flow package to generate identicons, based on Github or DonPark styles.

2.0.0(6y ago)4233MITPHP

Since Aug 17Pushed 6y ago3 watchersCompare

[ Source](https://github.com/ttreeagency/Ttree.Identicons)[ Packagist](https://packagist.org/packages/ttree/identicons)[ RSS](/packages/ttree-identicons/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Neos Flow Framework Package to generate Identicons
==================================================

[](#neos-flow-framework-package-to-generate-identicons)

This contains the Flow Framework package "Ttree.Identicons" to generate Identicons. Currently only two generators are available: Don Park (original version) and Github Style (inspired by the space invader style identicons provided by github).

Installation
------------

[](#installation)

1. Just install and activate the package
2. Include the package subroutes in your main Routes.yaml (optional: if you use only the fluid ViewHelper)

```
-
  name: 'Identicons'
  uriPattern: 'i/'
  subRoutes:
        IdenticonsSubroutes:
          package: Ttree.Identicons
```

If you change the ``uriPattern``, please read the section **Flood Mitigation**.

3. Configure Imagine to use the ``Imagick`` drive. *GD driver generate bad artifacts*.
4. Go to [www.yourdomain/i/\[yourhash\].png](http://www.yourdomain/i/[yourhash].png) (replace \[yourhash\] by any string)

This package is available on Packagist.org:

Settings
--------

[](#settings)

SettingDescriptionDefault ValuepersistEnable persistanceTRUEsizeDefault size (h/w) of the square icon420backgroundColorDefault background color\#EEEttlHTTP Cache header TTL in seconds2592000sizeSize constraints32 / 2048flood.enableActivate Flood mitigationTRUEflood.limitMaximum number of request per minute30access.enableEnable advanced access limitationFALSERequest Arguments
-----------------

[](#request-arguments)

- ``s``: The size of the image, between 32 and 2048 pixels, (default: 420px)
- ``b``: The background color (default: transparent)

Flood Mitigation
----------------

[](#flood-mitigation)

By default this package limit the request rate per minute (for a single IP address) to 30 requests. You can change this in Settings.yaml. The flood mitigation use the caching framework to store request rate statistics, please change the default FileBackend for a production use.

**Important**: When an IP address is blocked, for a maximum of 1 minute, the Application Firewall block the request early in the Flow bootstrap (when a request arrive at the MVC dispatcher). If you don't use the default URL [www.domain/i/hash.png](http://www.domain/i/hash.png), you need to change the patternValue in Settings.yaml, in the Flow Application Firewall section.

Advanced access limitation
--------------------------

[](#advanced-access-limitation)

By default this package will generate an identicons for any hash, if you need to limit this, per ex. you need to generate identicon only for existing Party, you can implement the interface AccessValidationInterface and enable access validation in the settings.

You also need to change the default implementation for this interface in your Objects.yaml (check the Objects.yaml from this package for the syntax).

Fluid ViewHelpers
-----------------

[](#fluid-viewhelpers)

You can insert an identicon in your Fluid template by using the provided ImageViewHelper.

```
{namespace identicon=Ttree\Identicons\ViewHelpers}

```

If the identicon doesn't exist for the provided hash, it will be created and persisted automatically.

**Warning**: Advanced Access Limitation and Flood Mitigation are not supported by the Fluid ViewHelper, you need to take care of your server by yourself.

Tips
----

[](#tips)

You can write your own generator, just implement the GeneratorInterface and change the default implementation in your Objects.yaml (check the Objects.yaml from this package for the syntax).

**Warning**: if you change the Generator, currently you need to truncate the table "ttree\_identicons\_domain\_model\_identicon" manually.

Identicons Samples
------------------

[](#identicons-samples)

[![Don Park](Documentation/Sample/dfeyer-donpark.png)](Documentation/Sample/dfeyer-donpark.png)

[![Github Style](Documentation/Sample/ttree-githubstyle.png)](Documentation/Sample/ttree-githubstyle.png)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 93.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~726 days

Total

4

Last Release

2476d ago

Major Versions

1.0.0 → 2.0.0-beta12016-04-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd3279e45009314122be6b398a54418a037e1b248fb4740cb66bb742d05e3512?d=identicon)[ttree](/maintainers/ttree)

---

Top Contributors

[![dfeyer](https://avatars.githubusercontent.com/u/221173?v=4)](https://github.com/dfeyer "dfeyer (58 commits)")[![kaystrobach](https://avatars.githubusercontent.com/u/1185776?v=4)](https://github.com/kaystrobach "kaystrobach (4 commits)")

---

Tags

githubNeosidenticonsdonpark

### Embed Badge

![Health badge](/badges/ttree-identicons/health.svg)

```
[![Health](https://phpackages.com/badges/ttree-identicons/health.svg)](https://phpackages.com/packages/ttree-identicons)
```

###  Alternatives

[moc/imageoptimizer

Flow package that optimizes generated thumbnail images (jpg, png, gif, svg) for web presentation.

31106.8k](/packages/moc-imageoptimizer)[neos/media

The Media package

101.1M45](/packages/neos-media)[jonnitto/plyr

Plyr.io for Neos.io

1236.2k2](/packages/jonnitto-plyr)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
