PHPackages                             armagedon007/phpquery-yii2 - 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. armagedon007/phpquery-yii2

ActiveLibrary

armagedon007/phpquery-yii2
==========================

phpQuery is a PHP library that enables you to parse HTML and manipulate the DOM using jQuery-like syntax. This repository aims to create a PHP 8.x ready version derived from the original code available in the \[Google Code Archive\](https://code.google.com/archive/p/phpquery/).

v0.9.6(2y ago)0281MITPHPPHP &gt;=7.4.0

Since Jan 12Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

phpQuery
========

[](#phpquery)

phpQuery is a PHP library that enables you to parse HTML and manipulate the DOM using jQuery-like syntax. This repository aims to create a PHP 8.x ready version derived from the original code available in the [Google Code Archive](https://code.google.com/archive/p/phpquery/).

Fork

License
-------

[](#license)

This project is based on the original code released under the MIT License. See the [LICENSE](LICENSE) file for more details.

Contribution Guidelines
-----------------------

[](#contribution-guidelines)

We welcome and appreciate contributions from the community. If you'd like to contribute, please follow these guidelines:

- Fork the repository
- Create a new branch for your feature or bug fix
- Commit your changes and push your branch to your fork
- Open a pull request with a clear description of your changes

We appreciate bug reports, feature requests, and any other form of contribution. Your help makes this project better for everyone.

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

[](#installation)

To use phpQuery in your project, you can install it via Composer:

```
composer require aramgedon007/phpquery-yii2
```

Usage
-----

[](#usage)

Here's a simple example of how you can use phpQuery in your PHP code:

```
use phpQuery;

// Create a new phpQuery object
$html = 'Hello, world!';
$doc = phpQuery::newDocument($html);

// Manipulate the DOM using jQuery-like syntax
$text = $doc['div p span']->text(); // Retrieve the text content
echo $text; // Output: world!
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8655bb71e3e6f896a70e5af035d82684c71516fc5b46ee0cb7ecd0aace79e32f?d=identicon)[armagedon007](/maintainers/armagedon007)

---

Top Contributors

[![mtn-jury](https://avatars.githubusercontent.com/u/109942155?v=4)](https://github.com/mtn-jury "mtn-jury (3 commits)")

### Embed Badge

![Health badge](/badges/armagedon007-phpquery-yii2/health.svg)

```
[![Health](https://phpackages.com/badges/armagedon007-phpquery-yii2/health.svg)](https://phpackages.com/packages/armagedon007-phpquery-yii2)
```

PHPackages © 2026

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