PHPackages                             codefarm/grabber - 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. codefarm/grabber

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

codefarm/grabber
================

customizable package to grab data from webpage using php

v1.0.0(4y ago)071MITPHPPHP &gt;=7.0

Since Jan 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/codefarm-bs/Grabber)[ Packagist](https://packagist.org/packages/codefarm/grabber)[ Docs](https://github.com/codefarm-bs/Grabber)[ RSS](/packages/codefarm-grabber/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Webpage data Grabber
====================

[](#webpage-data-grabber)

[![Latest Version on Packagist](https://camo.githubusercontent.com/860d7caaa23a3402825d1477deaa761b9ddbd6365743493a3f4a4677ffd6684e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656661726d2f677261626265722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codefarm/grabber)[![Total Downloads](https://camo.githubusercontent.com/a5d90fb4665fb832311274347e397dd417611ea70d49d2159f6ceb74714323c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656661726d2f677261626265722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codefarm/grabber)

This customizable package can extract data from website and html files using php. Here's how you can use it:

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

[](#installation)

You can install the package via composer:

```
composer require codefarm/grabber
```

Usage
-----

[](#usage)

Here are a few short examples of what you can do:

```
$parser = new HtmlParser($path_to_html_file);
$parser->getData();
```

It can also a string html:

```
$parser = new HtmlParser($string_html);
$parser->getData();
```

Or you can even add even custom pattern:

```
use codefarm\Grabber\Facade\Grabber;

Grabber::fields([
    CustomPattern::class
]);

$parser = new HtmlParser($string_html);
$parser->getData();
```

### Testing

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

1590d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ef5542fc8f07987822136079def7856c69ad305d8429afa3f106fe9ffdb0946?d=identicon)[codefarm-bs](/maintainers/codefarm-bs)

---

Top Contributors

[![codefarm-bs](https://avatars.githubusercontent.com/u/90782675?v=4)](https://github.com/codefarm-bs "codefarm-bs (9 commits)")

---

Tags

phpscraping-websitesphplaravelscrapehtmlparser

### Embed Badge

![Health badge](/badges/codefarm-grabber/health.svg)

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

###  Alternatives

[ajthinking/archetype

Programmatically edit PHP and Laravel files.

2723.4M12](/packages/ajthinking-archetype)[rumenx/php-sitemap

Framework-agnostic Sitemap generator for PHP, Laravel, and Symfony.

1.3k15.1k1](/packages/rumenx-php-sitemap)[rajentrivedi/tokenizer-x

TokenizerX calculates required tokens for given prompt

91214.0k3](/packages/rajentrivedi-tokenizer-x)[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6115.6k](/packages/sbsaga-toon)

PHPackages © 2026

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