{"id":36334820,"url":"https://github.com/rmhdev/identicon","last_synced_at":"2026-02-22T01:44:51.440Z","repository":{"id":140199960,"uuid":"12832758","full_name":"rmhdev/identicon","owner":"rmhdev","description":"Configurable Identicon generator built with Silex and Imagine.","archived":false,"fork":false,"pushed_at":"2016-01-09T19:48:56.000Z","size":186,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-11T15:27:34.311Z","etag":null,"topics":["avatar","identicon","identicon-generator","imagine","php","silex"],"latest_commit_sha":null,"homepage":"identicon.rmhdev.net","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmhdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-14T17:02:58.000Z","updated_at":"2022-11-17T04:45:08.000Z","dependencies_parsed_at":"2023-03-17T12:30:31.277Z","dependency_job_id":null,"html_url":"https://github.com/rmhdev/identicon","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rmhdev/identicon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmhdev%2Fidenticon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmhdev%2Fidenticon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmhdev%2Fidenticon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmhdev%2Fidenticon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmhdev","download_url":"https://codeload.github.com/rmhdev/identicon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmhdev%2Fidenticon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29703227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"ssl_error","status_checked_at":"2026-02-21T23:35:03.832Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avatar","identicon","identicon-generator","imagine","php","silex"],"created_at":"2026-01-11T12:04:38.405Z","updated_at":"2026-02-22T01:44:51.427Z","avatar_url":"https://github.com/rmhdev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Identicon\n\nPHP aplication that generates identicons.\nIt is built with [Silex][] and [Imagine][], \nand is inspired by Github's [Identicons][] project.\n\n[![Build Status](https://travis-ci.org/rmhdev/identicon.svg)](https://travis-ci.org/rmhdev/identicon)\n\n**What is an identicon?** (from [wikipedia][])\n\n\u003eIt is a visual representation of a hash value [...] that serves to\nidentify a user of a computer system as a form of avatar while protecting\nthe users' privacy.\n\n## How to use\n\nIf you want to get `username`'s avatar, you only have to use the next URL:\n\n```\nhttp://your-identicon-server/username.png\n```\nThe response of the app will be the next image: \n\n![Identicon demo](doc/identicon.png)\n\nYou can check the [online demo][].\n\n## Installation\n\nGet the source code of the project from GitHub. You have two options:\n\nA. Clone it:\n\n```bash\ngit clone git@github.com:rmhdev/identicon.git /MY/FOLDER\ncd /MY/FOLDER\ngit checkout v2.0.0\n```\n\nB. Download it:\n\nCheck the [latest release][] and copy it to your installation folder.\n\n### Project dependencies\n\nRetrieve all the dependencies using [Composer][].\nInstall it and then run the next command:\n\n```bash\nphp ./composer.phar install --no-dev\n```\n\n### Server configuration\n\nThis project is built using [Silex][].\nThe official docs will give you more information about\n[how to configure your server][]. Some tips:\n\n- the **document root** must point to the `identicon/web/` directory.\n- folders in `identicon/var/` must be **writable** by the web server.\n\n### Play with Identicon\n\nIf you are using PHP 5.4+, its built-in web server will help you to play with this project:\n\n```bash\ncd identicon/\nphp -S localhost:8080 -t web web/index.php\n```\n\nEasy, right? Just open a browser and enter `http://localhost:8080`\n\n## Customize the identicon generator\n\nIn the `config` folder, copy the file `parameters.dist.json` and paste it with the name `parameters.json`.\nThe default values are:\n\n```javascript\n{\n    \"identicon.config\": {\n        \"blocks\": 5,\n        \"block-size\": 70,\n        \"margin\": 35,\n        \"background-color\": \"f0f0f0\"\n    },\n    \"identicon.type\": {\n        \"default\": \"plain\",\n        \"extra\": [\"circle\", \"pyramid\", \"rhombus\"]\n    }\n}\n```\n\n### Default Identicon types\n\nPlain, pyramid, circle and rhombus\n\n![Plain type](doc/plain.png)\n![Pyramid type](doc/pyramid.png)\n![Circle type](doc/circle.png)\n![Rhombus type](doc/rhombus.png)\n\n### Create your own Identicons\n\nTake a look at `src/Identicon/Type/`. If you want to create a new Identicon type,\nextend the `AbstractIdenticon` class. For example:\n\n```php\n\u003c?php\n\nnamespace Identicon\\Type\\MyType;\n\nuse Identicon\\AbstractIdenticon;\nuse Imagine\\Image\\Point;\n\nclass Identicon extends AbstractIdenticon implements IdenticonInterface\n{\n    protected function drawBlock($x, $y)\n    {\n        //parent::drawBlock($x, $y);\n        $this-\u003egetImage()-\u003edraw()-\u003edot(\n            $this-\u003egetCell($x, $y)-\u003egetCenter(),\n            $this-\u003egetColor()\n        );\n    }\n}\n```\n\n## Unit tests\n\nCheck the [Travis page][] to see the build status.\nIf you want to run the tests by yourself, run the next command:\n\n```bash\nphp ./vendor/bin/phpunit\n```\n\nIf you don't have `phpunit` installed, run:\n\n```bash\nphp ./composer.phar install\n```\n\n## Copyright and license\n\nCode and documentation copyright 2016 Rober Martín.\nCode released under [MIT license](LICENSE).\nDocs released under [Creative Commons CC BY 4.0][].\n\nThis project is inspired by Github's [Identicons][] project.\n\n## Author\n\nMy name is [Rober Martín][] ([@rmhdev][]). I'm a developer from Donostia / San Sebastián.\n\n[Imagine]: http://imagine.readthedocs.org \n[wikipedia]: http://en.wikipedia.org/wiki/Identicon\n[online demo]: http://identicon.rmhdev.net\n[latest release]: https://github.com/rmhdev/identicon/releases\n[Composer]: http://getcomposer.org/\n[Silex]: http://silex.sensiolabs.org\n[how to configure your server]: http://silex.sensiolabs.org/doc/web_servers.html\n[Travis page]: https://travis-ci.org/rmhdev/identicon\n[Creative Commons CC BY 4.0]: http://creativecommons.org/licenses/by/4.0/\n[Identicons]: https://github.com/blog/1586-identicons\n[Rober Martín]: http://rmhdev.net/\n[@rmhdev]: http://twitter.com/rmhdev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmhdev%2Fidenticon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmhdev%2Fidenticon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmhdev%2Fidenticon/lists"}