sters/extract-content

Extract web articles

0.0.3 2017-12-08 01:16 UTC

README

CircleCI

ExtractContent for PHP7.

Installation

Install Plugin using composer.

composer require "sters/extract-content:dev-master"

Usage

use ExtractContent\ExtractContent;

$content = file_get_contents('https://en.wikipedia.org/wiki/PHPUnit');
$extractor = new ExtractContent($content);
$result = $extractor->analyse();

Output example.

PHPUnit is based on the idea that developers should be able to find mistakes in their newly committed code quickly and assert...

Original versions

http://labs.cybozu.co.jp/blog/nakatani/2007/09/web_1.html