PHPackages                             meanz3/open-source - 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. meanz3/open-source

ActiveLibrary

meanz3/open-source
==================

open source

1.1.2(2y ago)04PHPPHP &gt;=8.0

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Meanzar/library)[ Packagist](https://packagist.org/packages/meanz3/open-source)[ RSS](/packages/meanz3-open-source/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (5)Used By (0)

Installation

`composer require Meanzar\OpenSource`Local development

`composer install``php vendor/bin/phpstan analyse src --level=max``php vendor/bin/php-cs-fixer fix src --rules=@PSR12``php vendor/bin/phpunit tests`

Library Documentation The used library is a PHP-based scraping library that allows extracting data from HTML pages. It provides functionalities to load and manipulate HTML content, as well as interact with page elements.

Installation The library can be installed via Composer using the following command:

javascript Copy code composer require ivopetkov/html5-dom-document-php Basic Usage php Copy code use IvoPetkov\\HTML5DOMDocument;

// Load HTML content $html = file\_get\_contents('');

// Create an instance of HTML5DOMDocument $dom = new HTML5DOMDocument(); $dom-&gt;loadHTML($html);

// Perform scraping operations on the loaded DOM $elements = $dom-&gt;querySelectorAll('.selector');

// Iterate through the retrieved elements foreach ($elements as $element) { // Manipulate the elements as per your requirements $text = $element-&gt;textContent; echo $text; } CSS Selectors The library supports the use of CSS selectors to target specific elements in the DOM. CSS selectors can be used with the querySelector method to retrieve the first matching element or with the querySelectorAll method to retrieve all matching elements.

Example of using CSS selectors:

php

// Select the first matching element $element = $dom-&gt;querySelector('.selector');

// Select all matching elements $elements = $dom-&gt;querySelectorAll('.selector'); DOM Manipulation The library also allows manipulating the content of the DOM by adding, modifying, or removing elements.

Examples:

php Copy code // Add a new element $newElement = $dom-&gt;createElement('div'); $newElement-&gt;textContent = 'New Element'; $dom-&gt;appendChild($newElement);

// Modify the content of an existing element $element = $dom-&gt;querySelector('.selector'); $element-&gt;textContent = 'New Content';

// Remove an element $element = $dom-&gt;querySelector('.selector'); $element-&gt;remove();

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

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

Total

3

Last Release

1050d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/052bdf7df03c5e5270534fce15eb2dd09695b91036dddb2985dc0997b00ae057?d=identicon)[Meanzar](/maintainers/Meanzar)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/meanz3-open-source/health.svg)

```
[![Health](https://phpackages.com/badges/meanz3-open-source/health.svg)](https://phpackages.com/packages/meanz3-open-source)
```

PHPackages © 2026

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