PHPackages                             fi1a/simplequery - 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. fi1a/simplequery

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

fi1a/simplequery
================

PHP HTML DOM Parser управляемый CSS3 селекторами

2.0.8(3y ago)0189MITPHPPHP ^7.3 || ^8

Since Oct 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fi1a/simplequery)[ Packagist](https://packagist.org/packages/fi1a/simplequery)[ Docs](https://github.com/fi1a/simplequery)[ RSS](/packages/fi1a-simplequery/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (17)Used By (0)

PHP HTML DOM Parser управляемый CSS3 селекторами
================================================

[](#php-html-dom-parser-управляемый-css3-селекторами)

[![Latest Version](https://camo.githubusercontent.com/7f18e5d97bb211037a09d02e2549ee12f8b0669593ef1b9b8cd958e8a1b135ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666931612f73696d706c6571756572793f6c6162656c3d72656c65617365)](https://packagist.org/packages/fi1a/simplequery)[![Software License](https://camo.githubusercontent.com/807e31ce14aca430049155c2e598887efec53bc0fe40647cdfb096a1c5e2d41c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f666931612f73696d706c6571756572793f7374796c653d666c61742d737175617265)](https://github.com/fi1a/simplequery/blob/master/LICENSE)[![PHP Version](https://camo.githubusercontent.com/e4835252deefed8b1e38d399e650e73c3ab097ae7a0c9bc663143442ba03a7fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f666931612f73696d706c6571756572793f7374796c653d666c61742d737175617265)](https://php.net)[![Coverage Status](https://camo.githubusercontent.com/0c967d746eb7f4fe28065a3b94d23faa207cd6f4a968535b20fce0310a87cf89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e)](https://camo.githubusercontent.com/0c967d746eb7f4fe28065a3b94d23faa207cd6f4a968535b20fce0310a87cf89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e)[![Total Downloads](https://camo.githubusercontent.com/9e11d507ad19cfdbb319f5673dd7279b8ecd936c6a8c1c44f99396892094d1e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666931612f73696d706c6571756572792e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d6d656469756d76696f6c6574726564)](https://packagist.org/packages/fi1a/simplequery)[![Support mail](https://camo.githubusercontent.com/116fa0d447870a3a6c6c1f4b296c889707a6e30a69c2b28cbe8d0f6f5c3d4920/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696c2d737570706f7274253430666931612e72752d627269676874677265656e)](mailto:support@fi1a.ru)

Серверная, цепочная, управляемая селекторами CSS3 объектная модель документа (DOM), похожая на библиотеку jQuery. Значительно упрощает такие вещи, как обход и манипуляции с HTML-документами.

Установка
---------

[](#установка)

Установить этот пакет можно как зависимость, используя Composer.

```
composer require fi1a/simplequery
```

Краткий обзор
-------------

[](#краткий-обзор)

```
use Fi1a\SimpleQuery\SimpleQuery;

$sq = new SimpleQuery('Title');

$sq('h1')->html('Updated title');
$sq('form')->append('Submit');

$button = $sq('form > button');

$button->html(); // Submit
$button->hasClass('continue'); // true

echo (string) $sq;
```

Результат вывода `echo (string) $sq;`:

```
>
Updated titleSubmit
```

Подробная документация доступна в [wiki проекта](https://github.com/fi1a/simplequery/wiki).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Recently: every ~6 days

Total

16

Last Release

1180d ago

Major Versions

1.1.4 → 2.0.02022-12-04

PHP version history (2 changes)1.0.0PHP ^7.3 || ^8.0

1.1.0PHP ^7.3 || ^8

### Community

Maintainers

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

---

Tags

domdom-manipulationhtmlparserphp

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/fi1a-simplequery/health.svg)

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

###  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)
