PHPackages                             dayrev/extractor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dayrev/extractor

ActiveLibrary

dayrev/extractor
================

Web Page Content Extractor

v1.2.2(9y ago)211MITPHPPHP ^7.0

Since Dec 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dayrev/extractor)[ Packagist](https://packagist.org/packages/dayrev/extractor)[ Docs](https://github.org/dayrev/extractor)[ RSS](/packages/dayrev-extractor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (8)Used By (0)

Extractor
=========

[](#extractor)

[![Build Status](https://camo.githubusercontent.com/b800bf02091d5ade0aa2c6ddbc38595e391c6a05c1781f8b7535618576b2be91/68747470733a2f2f7472617669732d63692e6f72672f6461797265762f657874726163746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dayrev/extractor)[![Coverage Status](https://camo.githubusercontent.com/0364fdb52828d2f3d87bf496c05e65b0cd99b132ffa3b6a5f7b23b5588aa4406/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6461797265762f657874726163746f722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/dayrev/extractor?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/9c931973d716d88cbc268b8f1e1616b92c116782eee581a5111669a1ee54096d/68747470733a2f2f706f7365722e707567782e6f72672f6461797265762f657874726163746f722f762f737461626c652e706e67)](https://packagist.org/packages/dayrev/extractor)

Overview
--------

[](#overview)

Extractor provides an elegant interface to extract content from a URL using a variety of third-party providers.

**Supported Providers**

- [Embedly](https://github.com/embedly/embedly-php)
- [Goose](https://github.com/scotteh/php-goose)

Installation
------------

[](#installation)

Run the following [composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) command to add the package to your project:

```
composer require dayrev/extractor

```

Alternatively, add `"dayrev/extractor": "^1.0"` to your composer.json file.

Usage
-----

[](#usage)

```
$extractor = DayRev\Extractor\Provider::instance('embedly', ['api_key' => 'YOURKEYHERE']);
$content = $extractor->extract('http://www.espn.com/espn/wire/_/section/ncf/id/18398497');
```

Tests
-----

[](#tests)

To run the test suite, run the following commands from the root directory:

```
composer install
vendor/bin/phpunit -d embedly_api_key=YOUR_EMBEDLY_API_KEY

```

> **Note:** A valid Embedly API key is required when running the integration tests.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~25 days

Total

7

Last Release

3326d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

1.1.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/45855ca47dca22521841f5356ed50f8d9e2158ceb89d7e85fba660f55fb99525?d=identicon)[dsposito](/maintainers/dsposito)

---

Top Contributors

[![dsposito](https://avatars.githubusercontent.com/u/1553251?v=4)](https://github.com/dsposito "dsposito (49 commits)")

---

Tags

embedly-componentsextractorgoosephpscrapertext-extractionphpcrawlerembedlyextractorscrapergoose

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dayrev-extractor/health.svg)

```
[![Health](https://phpackages.com/badges/dayrev-extractor/health.svg)](https://phpackages.com/packages/dayrev-extractor)
```

###  Alternatives

[kiddyu/beanbun

Beanbun 是用 PHP 编写的多进程网络爬虫框架，具有良好的开放性、高可扩展性

1.3k4.1k](/packages/kiddyu-beanbun)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49516.9k](/packages/blackfire-player)[crwlr/crawler

Web crawling and scraping library.

37214.8k2](/packages/crwlr-crawler)[eddieace/php-simple

1361.9k](/packages/eddieace-php-simple)[laurentvw/scrapher

A web scraper for PHP to easily extract data from web pages

192.5k1](/packages/laurentvw-scrapher)[cable8mm/water-melon

Water Melon is simple melon.com api sdk for php

182.7k](/packages/cable8mm-water-melon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
