PHPackages                             maikelvanmaurik/schrapert - 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. maikelvanmaurik/schrapert

ActiveLibrary

maikelvanmaurik/schrapert
=========================

v0.0.3(6y ago)010MITPHPPHP &gt;=5.4.0CI failing

Since Sep 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/schrapert/framework)[ Packagist](https://packagist.org/packages/maikelvanmaurik/schrapert)[ RSS](/packages/maikelvanmaurik-schrapert/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (10)Versions (7)Used By (0)

Schrapert
=========

[](#schrapert)

Schrapert is a scraping/crawler library which is inspired by scrapy. It makes use of React for various operations such as downloading requests and writing files.

Example of a simple spider:

```
namespace Crawl;
use Schrapert\Spider;
use Schrapert\Crawl\ResponseInterface;
use Schrapert\Http\ResponseInterface as HttpResponse;
use Schrapert\Http\Request as HttpRequest;
use DOMDocument;
use DOMXPath;
use DOMElement;
class BlogSpider extends Spider
{
    public function parse(ResponseInterface $response)
    {
        if(!$response instanceof HttpResponse) {
            return;
        }
        $doc = new DOMDocument('1.0');
        $doc->loadHTML((string)$response->getBody());
        $xpath = new DOMXPath($doc);
        $nodes = $xpath->query('//a');
        foreach($nodes as $node) {
            /* @var $node DOMElement */
            $uri = $this->uri->join($node->getAttribute('href'), $response->getUri());
            yield new HttpRequest($uri);
        }
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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 ~653 days

Total

3

Last Release

2232d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fea4bee69474a80dd0436f5b88723d232c58ecab6c2673e29d295ddbaacae285?d=identicon)[maikelvanmaurik](/maintainers/maikelvanmaurik)

---

Top Contributors

[![maikelvanmaurik](https://avatars.githubusercontent.com/u/4984705?v=4)](https://github.com/maikelvanmaurik "maikelvanmaurik (43 commits)")

---

Tags

crawlercrawlingscrapingspider

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maikelvanmaurik-schrapert/health.svg)

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

###  Alternatives

[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[clue/docker-react

Async, event-driven access to the Docker Engine API, built on top of ReactPHP.

113154.9k1](/packages/clue-docker-react)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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