Download the PHP package scotteh/php-goose without Composer
On this page you can find all versions of the php package scotteh/php-goose. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
All versions of php-goose with dependencies
Informations about the package php-goose
PHP Goose - Article Extractor
PHP Goose is a port of Goose originally developed in Java and converted to Scala by GravityLabs. Portions have also been ported from the Python port python-goose. Its mission is to take any news article or article type web page and not only extract what is the main body of the article but also all metadata and most probable image candidate.
The extraction goal is to try and get the purest extraction from the beginning of the article for servicing flipboard/pulse type applications that need to show the first snippet of a web article along with an image.
Goose will try to extract the following information:
- Main text of an article
- Main image of article
- Any YouTube/Vimeo movies embedded in article
- Meta Description
- Meta tags
- Publish Date
The PHP version was rewritten by:
- Andrew Scott
- PHP 7.1 or later
- PSR-4 compatible autoloader
The older 0.x versions with PHP 5.5+ support are still available under releases.
This library is designed to be installed via Composer.
Add the dependency into your projects composer.json.
Download the composer.phar
Install the library.
This library requires an autoloader, if you aren't already using one you can include Composers autoloader.
All config options are not required and are optional. Default (fallback) values have been used below.
PHP Goose is licensed by Gravity.com under the Apache 2.0 license, see the LICENSE file for more details.