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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. maikelvanmaurik/schrapert

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

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

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

Since Sep 3Pushed 6y ago1 watchersCompare

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

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 26% 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

2281d 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

[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69734.4M145](/packages/algolia-algoliasearch-client-php)[wikimedia/parsoid

Parsoid, a bidirectional parser between wikitext and HTML5

186545.9k2](/packages/wikimedia-parsoid)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M526](/packages/shopware-core)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136400.8k14](/packages/rector-rector-src)

PHPackages © 2026

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