PHPackages                             santanamic/php-scraping - 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. santanamic/php-scraping

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

santanamic/php-scraping
=======================

117PHP

Since Mar 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/santanamic/php-scraping)[ Packagist](https://packagist.org/packages/santanamic/php-scraping)[ RSS](/packages/santanamic-php-scraping/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPscraping
===========

[](#phpscraping)

[![Latest Version on Packagist](https://camo.githubusercontent.com/055ddac7555376990a206ce407f243013f7335fc3fb1661e9c65ad83f894e0ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616e74616e616d69632f7068702d7363726170696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/santanamic/php-scraping)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![PHP Version](https://camo.githubusercontent.com/0ae3a517a68fddc38f3391a70be26be746c432542ca7d90082dc4d1f842b9a62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e312d3838393242462e737667)](https://php.net/)[![Coverage Status](https://camo.githubusercontent.com/44e29a07d7ff4ce372305ab170ccea39b52b5ed8dd5e3774af010f914d6b3a67/68747470733a2f2f636f6465636f762e696f2f67682f73616e74616e616d69632f7068702d7363726170696e672f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/santanamic/php-scraping)[![Build Status](https://camo.githubusercontent.com/36792d83d6108a8c0e3a53d35272d4c7cdb818f6f57d317fb765e6ccbafa43d7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73616e74616e616d69632f7068702d7363726170696e672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/santanamic/php-scraping)[![Total Downloads](https://camo.githubusercontent.com/fadc8ac01bc20e8f35db283e2943ba484322da3c2dc238bacf04b26464f7b408/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616e74616e616d69632f7068702d7363726170696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/santanamic/php-scraping)

Web scraping in PHP is a class of data collection used to extract data from websites.

Structure
---------

[](#structure)

```
src/
tests/

```

Install
-------

[](#install)

Via Composer

```
$ composer require santanmic/php-scraping
```

Usage
-----

[](#usage)

```
require_once __DIR__ . '/../vendor/autoload.php';

$url = 'https://yugioh.fandom.com/pt-br/wiki/Categoria:Cards_de_Monstro?from=Ansatsu';
$PHPscraping = (new PHPScraping\Factory)->create($url);

echo $PHPscraping->getDescription(); // return  content
echo $PHPscraping->getKeywords(); // return  content
echo $PHPscraping->getTitle(); // return web site title
echo $PHPscraping->getLinkNext(); // return next indicating paginated content
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [](https://github.com/)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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://avatars.githubusercontent.com/u/18386043?v=4)[Willian Santana](/maintainers/santanamic)[@santanamic](https://github.com/santanamic)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/santanamic-php-scraping/health.svg)

```
[![Health](https://phpackages.com/badges/santanamic-php-scraping/health.svg)](https://phpackages.com/packages/santanamic-php-scraping)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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