{"id":34014242,"url":"https://github.com/tioffs/fentities","last_synced_at":"2025-12-13T13:54:59.400Z","repository":{"id":57070209,"uuid":"201519509","full_name":"tioffs/fentities","owner":"tioffs","description":"Telegram formate message entities html","archived":false,"fork":false,"pushed_at":"2021-12-02T04:34:17.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-20T16:47:00.066Z","etag":null,"topics":["entities","formate","message","telegram","telegram-api"],"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/tioffs.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":"2019-08-09T18:17:12.000Z","updated_at":"2021-12-02T04:34:20.000Z","dependencies_parsed_at":"2022-08-24T14:54:21.206Z","dependency_job_id":null,"html_url":"https://github.com/tioffs/fentities","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tioffs/fentities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tioffs%2Ffentities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tioffs%2Ffentities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tioffs%2Ffentities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tioffs%2Ffentities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tioffs","download_url":"https://codeload.github.com/tioffs/fentities/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tioffs%2Ffentities/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27706694,"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","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["entities","formate","message","telegram","telegram-api"],"created_at":"2025-12-13T13:54:58.743Z","updated_at":"2025-12-13T13:54:59.388Z","avatar_url":"https://github.com/tioffs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram formate message entities html [![License][packagist-license]][license-url]\n\n[![Downloads][packagist-downloads]][packagist-url]\n[![Telegram][Telegram-image]][Telegram-url]\n\n## Installation\n**Using Composer:**\n```\ncomposer require tioffs/fentities\n```\n\n## Supports entities\n\n- messageEntityItalic\n- messageEntityBold\n- messageEntityCode\n- messageEntityPre\n- messageEntityStrike\n- messageEntityUnderline\n- messageEntityBlockquote\n- messageEntityTextUrl\n- messageEntityMention\n- messageEntityUrl\n\n\n## Example\n```php\n$message  = [\n                \"_\" =\u003e \"message\",\n                \"out\" =\u003e false,\n                \"mentioned\" =\u003e false,\n                \"media_unread\" =\u003e false,\n                \"silent\" =\u003e true,\n                \"post\" =\u003e true,\n                \"from_scheduled\" =\u003e false,\n                \"legacy\" =\u003e false,\n                \"id\" =\u003e 83943,\n                \"to_id\" =\u003e [\n                    \"_\" =\u003e \"peerChannel\",\n                    \"channel_id\" =\u003e 123456789\n                ],\n                \"date\" =\u003e 1565361063,\n                \"message\" =\u003e \"PHP is a popular general-purpose scripting language that is especially suited to web development. http://php.net\",\n                \"media\" =\u003e [],\n                \"entities\" =\u003e [\n                    [\n                        \"_\" =\u003e \"messageEntityBold\",\n                        \"offset\" =\u003e 0,\n                        \"length\" =\u003e 96\n                    ],\n                    [\n                        \"_\" =\u003e \"messageEntityUrl\",\n                        \"offset\" =\u003e 98,\n                        \"length\" =\u003e 14\n                    ]\n                ],\n                \"views\" =\u003e 34566\n            ];\n\nrequire_once 'vendor/autoload.php';\n$text = Formats\\Message::html($message);\n```\n## Result\n```html\n\u003cb\u003ePHP is a popular general-purpose scripting language that\nis especially suited to web development.\u003c/b\u003e\n\u003ca href=\"http://php.net\"\u003ehttp://php.net\u003c/a\u003e\n```\n\n----\n\nMade with \u0026#9829; from the @tioffs\n\n[tioffs-url]: https://timlab.ru/\n[license-url]: https://github.com/tioffs/fentities/blob/master/LICENSE\n\n[telegram-url]: https://t.me/joinchat/C9JmzQ-fc3SKXI0D-9h-uw\n[telegram-image]: https://img.shields.io/badge/Telegram-Join%20Chat-blue.svg?style=flat\n\n[packagist-url]: https://packagist.org/packages/tioffs/fentities\n[packagist-license]: https://img.shields.io/github/license/tioffs/fentities\n[packagist-downloads]: https://img.shields.io/packagist/dm/tioffs/fentities\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftioffs%2Ffentities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftioffs%2Ffentities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftioffs%2Ffentities/lists"}