sters / extract-content
Extract web articles
Fund package maintenance!
sters
0.0.3
2017-12-08 01:16 UTC
Requires
- php: ~7.0
Requires (Dev)
- phpunit/phpunit: ~6.4
This package is auto-updated.
Last update: 2024-10-25 15:38:22 UTC
README
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...