PHPackages                             ajbdev/scraper - 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. ajbdev/scraper

ActiveLibrary

ajbdev/scraper
==============

Scrape websites and extract specific information in various format (HTML, JSON, etc) from different sources

128PHP

Since Jan 26Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Scraper
=======

[](#scraper)

Quickly and easily scrape data from external sources with simple query strings.

```
use Scraper\Scraper;
use Scraper\Source\Source;

$scraper = new Scraper();

$source = Source::create('https://news.ycombinator.com');
$source->setFakeIdentity(true);

$result = $scraper->scrape($source, 'td.title a');

foreach ($result as $node) {
    echo $node->nodeValue . PHP_EOL;
}

// IBM to cut 111,800 people from its workforce
// Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
// First U.S. Bitcoin Exchange Set to Open
// ...
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b0842f020a6b6eb2158be81dd79dae672267fada8c073ee5861febfcbfbfbbe?d=identicon)[ajbdev](/maintainers/ajbdev)

### Embed Badge

![Health badge](/badges/ajbdev-scraper/health.svg)

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

PHPackages © 2026

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