aboustayyef / extractor
a wrapper class around Feeling Lucky's PHP Readability to extract html, text and title from a URL
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/aboustayyef/extractor
Requires (Dev)
- phpspec/phpspec: 2.2.*
This package is not auto-updated.
Last update: 2025-10-11 22:55:55 UTC
README
#Text
This is a utility class for extracting text from urls. It is a simple wrapper around the (no longer updated) PHP readability class by fivefilters.
##Usage
<?php
use Aboustayyef\Extractor;
$document = new Extractor("http://source/to/document.html");
$title = $document->getTitle();
$text = $document->getText();
?>