PHPackages                             smartango/verygrabber - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. smartango/verygrabber

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

smartango/verygrabber
=====================

generic grabber based on DOMDocument, grabbing infos from an html page

00HTML

Since Dec 18Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/danielecr/verygrabber)[ Packagist](https://packagist.org/packages/smartango/verygrabber)[ RSS](/packages/smartango-verygrabber/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

VeryGrabber
===========

[](#verygrabber)

smartango/verygrabber scrape html following a json schema definition.

It is designed to grab an array of elements, such as table rows or list of DIVs.

Usage
-----

[](#usage)

```
use \smrtg\VeryGrabber\GrabFromSchema;

$doc = file_get_contents(dirname(__FILE__).'/data/file.html');
$grab = new GrabFromSchema($doc);

$schema = file_get_contents(dirname(__FILE__).'/data/schema.json');

$data = $grab->getStruct($schema);
```

See tests/data/schema.json for the json schema definition: it follows a recursive descending parser concept in the DOM

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance50

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/smartango-verygrabber/health.svg)

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

PHPackages © 2026

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