{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/league-html-to-markdown/","markdown":"https://findsoftware.frbit.cloud/league-html-to-markdown.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"league-html-to-markdown","name":"HTML To Markdown for PHP","urls":{"repository":"https://github.com/thephpleague/html-to-markdown","docs":"https://github.com/thephpleague/html-to-markdown/blob/master/README.md"},"category":["library"],"description":"PHP library that converts HTML documents to Markdown text.","maintainer":"Colin O'Dell","firstRelease":2013,"hosting":["php"],"language":"php","runtime":["php"],"runtimeMin":"php 7.2","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"composer","licenseModel":"open-source","license":"MIT","currentMajor":"5","latestReleaseDate":"2026-10-19T00:00:00.000Z","githubStargazers":1909,"contributors":44,"packagistDownloads":40606944,"npmWeeklyDownloads":null,"dependentRepos":1581,"dependentPackages":132,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/thephpleague/html-to-markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://github.com/thephpleague/html-to-markdown/blob/master/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/thephpleague/html-to-markdown/blob/master/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/league%2Fhtml-to-markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/thephpleague/html-to-markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/thephpleague/html-to-markdown/blob/master/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/thephpleague/html-to-markdown/blob/5.2.3/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://github.com/thephpleague/html-to-markdown/blob/5.2.3/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/thephpleague/html-to-markdown/blob/master/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"packagistDownloads","url":"https://packagist.org/packages/league/html-to-markdown.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/league%2Fhtml-to-markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/league%2Fhtml-to-markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/thephpleague/html-to-markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/thephpleague/html-to-markdown/blob/master/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://github.com/thephpleague/html-to-markdown/releases/tag/5.2.3","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://github.com/thephpleague/html-to-markdown/releases/tag/5.2.3","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/thephpleague/html-to-markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/thephpleague/html-to-markdown/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"HTML To Markdown for PHP converts an HTML document or fragment into Markdown text. A converter object takes the HTML string and returns Markdown. Options strip tags, remove nodes, keep comments and set how line breaks, links and bold or italic text are written. Tables are converted only after a table converter is added to the environment. The library reads HTML through PHP's DOM and XML extensions.\n\nThe README links league/commonmark and three other libraries for the opposite direction, Markdown to HTML.\n\n## Worth knowing\n\nBy default the library keeps HTML tags that have no Markdown equivalent, such as span, div, iframe and script, in the output. The strip_tags and remove_nodes options change that."}