{"id":17970254,"url":"https://github.com/mtibben/html2text","last_synced_at":"2025-05-14T14:08:38.724Z","repository":{"id":3487382,"uuid":"4543217","full_name":"mtibben/html2text","owner":"mtibben","description":"PHP library to convert HTML to formatted plain text","archived":false,"fork":false,"pushed_at":"2024-08-20T02:53:07.000Z","size":141,"stargazers_count":576,"open_issues_count":17,"forks_count":178,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-10T19:35:56.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtibben.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-06-04T04:10:34.000Z","updated_at":"2025-05-08T03:18:03.000Z","dependencies_parsed_at":"2024-06-18T10:43:23.123Z","dependency_job_id":"e6abeac5-7025-4135-9505-57a6d4f04c53","html_url":"https://github.com/mtibben/html2text","commit_stats":{"total_commits":101,"total_committers":32,"mean_commits":3.15625,"dds":0.5742574257425743,"last_synced_commit":"3b443cbe302b52eb5806a21a9dbd79524203970a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtibben%2Fhtml2text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtibben%2Fhtml2text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtibben%2Fhtml2text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtibben%2Fhtml2text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtibben","download_url":"https://codeload.github.com/mtibben/html2text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253645069,"owners_count":21941311,"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":[],"created_at":"2024-10-29T15:02:31.229Z","updated_at":"2025-05-14T14:08:38.702Z","avatar_url":"https://github.com/mtibben.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Html2Text\n\nA PHP library for converting HTML to formatted plain text.\n\n[![Build status](https://github.com/mtibben/html2text/actions/workflows/ci.yml/badge.svg)](https://github.com/mtibben/html2text/actions/workflows/ci.yml)\n\n## Installing\n\n```\ncomposer require html2text/html2text\n```\n\n## Basic Usage\n```php\n$html = new \\Html2Text\\Html2Text('Hello, \u0026quot;\u003cb\u003eworld\u003c/b\u003e\u0026quot;');\n\necho $html-\u003egetText();  // Hello, \"WORLD\"\n```\n\n## History\n\nThis library started life on the blog of Jon Abernathy http://www.chuggnutt.com/html2text\n\nA number of projects picked up the library and started using it - among those was RoundCube mail. They made a number of updates to it over time to suit their webmail client.\n\nNow it has been extracted as a standalone library. Hopefully it can be of use to others.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtibben%2Fhtml2text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtibben%2Fhtml2text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtibben%2Fhtml2text/lists"}