{"id":23144199,"url":"https://github.com/questocat/epic-emoji","last_synced_at":"2025-04-04T12:16:15.031Z","repository":{"id":62532109,"uuid":"95678703","full_name":"questocat/epic-emoji","owner":"questocat","description":"The emoji epic conversion library","archived":false,"fork":false,"pushed_at":"2018-04-14T09:28:04.000Z","size":3838,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-09T22:15:13.238Z","etag":null,"topics":["apple","docomo","emoji","emoji-convert","google","kddi","php-emoji","softbank","unified"],"latest_commit_sha":null,"homepage":null,"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/questocat.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":"2017-06-28T14:37:05.000Z","updated_at":"2018-04-14T09:28:06.000Z","dependencies_parsed_at":"2022-11-02T14:45:38.598Z","dependency_job_id":null,"html_url":"https://github.com/questocat/epic-emoji","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questocat%2Fepic-emoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questocat%2Fepic-emoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questocat%2Fepic-emoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questocat%2Fepic-emoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/questocat","download_url":"https://codeload.github.com/questocat/epic-emoji/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174461,"owners_count":20896078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["apple","docomo","emoji","emoji-convert","google","kddi","php-emoji","softbank","unified"],"created_at":"2024-12-17T15:15:20.821Z","updated_at":"2025-04-04T12:16:15.008Z","avatar_url":"https://github.com/questocat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epic-emoji\n\nThe emoji epic conversion library\n\n[![StyleCI](https://styleci.io/repos/95678703/shield?branch=master)](https://styleci.io/repos/95678703)\n[![Build Status](https://travis-ci.org/questocat/epic-emoji.svg?branch=master)](https://travis-ci.org/questocat/epic-emoji)\n[![Code Coverage](https://scrutinizer-ci.com/g/questocat/epic-emoji/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/questocat/epic-emoji/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/questocat/epic-emoji/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/questocat/epic-emoji/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/questocat/epic-emoji/badges/build.png?b=master)](https://scrutinizer-ci.com/g/questocat/epic-emoji/build-status/master)\n[![Packagist](https://img.shields.io/packagist/l/doctrine/orm.svg)](https://packagist.org/packages/questocat/epic-emoji)\n\n## Installation\n\nUsing [Composer](https://getcomposer.org) to add the package to your project's dependencies:\n\n```bash\n$ composer require questocat/epic-emoji\n```\n\n## Usage\n\n```php\n\n$epicEmoji = new EpicEmoji();\n\n// from Apple devices\n$content = '呜呜，宝宝不开心😔';\n$unified = $epicEmoji-\u003eunified($content);\n\n$unified-\u003eemoji();        // output emoji\n$unified-\u003esetText('哇哦👻')-\u003eemoji();   // output emoji\n$unified-\u003ewithText('哇哦👻')-\u003eemoji();  // output emoji\n$unified-\u003eshorthand();    // output shorthand\n$unified-\u003ecodepoint();    // output codepoint\n$unified-\u003ehtml();         // output html\n$unified-\u003ehtmlEntity();   // output htmlEntity\n\n// convert to DoCoMo devices\n$docomo = $unified-\u003edocomo();\n\n// convert to Softbank \u0026 pre-iOS6 Apple devices\n$softbank = $unified-\u003esoftbank();\n\n// convert to KDDI \u0026 Au devices\n$kddi = $unified-\u003ekddi();\n\n// convert to Google Android devices\n$google = $unified-\u003egoogle();\n$google-\u003eemoji();         // output emoji\n$google-\u003eshorthand();     // output shorthand\n$google-\u003ecodepoint();     // output codepoint\n$google-\u003ehtml();          // output html\n$google-\u003ehtmlEntity();    // output htmlEntity\n\n```\n\n## Inspiration\n\n* [php-emoji](https://github.com/iamcal/php-emoji)\n\n## Reference\n\n* [Emoji introduction](http://www.ruanyifeng.com/blog/2017/04/emoji.html)\n* [Emoji wiki](https://en.wikipedia.org/wiki/Emoji)\n* [Unicode-org](http://www.unicode.org)\n* [Full Emoji List, v5.0](http://www.unicode.org/emoji/charts/full-emoji-list.html)\n* [Using Emoji in Web Apps](http://www.iamcal.com/emoji-in-web-apps/)\n\n## License\n\nLicensed under the [MIT license](https://github.com/questocat/epic-emoji/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestocat%2Fepic-emoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquestocat%2Fepic-emoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestocat%2Fepic-emoji/lists"}