Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

php-readability

> 编程语言
Open source

Back the fun of reading - PHP Port for Arc90′s Readability

516 stars0 likes4 views
WebsiteGitHub

About

Back the fun of reading - PHP Port for Arc90′s Readability

PHP Readability Library

If you want to use an up-to-date version of this algorithm,check this newer project:

https://github.com/andreskrey/readability.php

Back the fun of reading

The PHP port of Readability.js by Arc90.

Requirements

  • PHP Version >= 5
  • PHP has builded with DOM(Document Object Model)

Live demo

http://graceco.de/readability/

Usage

require 'lib/Readability.inc.php';

$Readability     = new Readability($html, $html_input_charset); // default charset is utf-8
$ReadabilityData = $Readability->getContent(); // throws an exception when no suitable content is found

// You can see more params by var_dump($ReadabilityData);
echo "
".$ReadabilityData['title']."
";
echo $ReadabilityData['content'];

PS: For Node.js port, You can check this.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言