PHPackages                             berlioz/html-selector - 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. berlioz/html-selector

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

berlioz/html-selector
=====================

Berlioz HTML Selector is a PHP library to do queries on HTML files (converted in SimpleXMLElement object) like jQuery on DOM.

v3.1.1(3w ago)716.2k↓25.6%21MITPHPPHP ^8.2CI failing

Since Nov 5Pushed 3d ago1 watchersCompare

[ Source](https://github.com/BerliozFramework/HtmlSelector)[ Packagist](https://packagist.org/packages/berlioz/html-selector)[ Docs](https://getberlioz.com)[ RSS](/packages/berlioz-html-selector/feed)WikiDiscussions 3.x Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (21)Used By (1)

Berlioz HTML Selector
=====================

[](#berlioz-html-selector)

[![Latest Version](https://camo.githubusercontent.com/863ab50e235581ce10facbc7ba547d386ada05f0126e2c6d8a40779a053a08e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6265726c696f7a2f68746d6c2d73656c6563746f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/BerliozFramework/HtmlSelector/releases)[![Packagist Dependency Version](https://camo.githubusercontent.com/ff7d5475be9b07e265b81aee3b8ea925a47258f1e774fdf7248c1af110129caa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f4265726c696f7a4672616d65776f726b2f48746d6c53656c6563746f722f7068703f76657273696f6e3d332e782d646576267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ff7d5475be9b07e265b81aee3b8ea925a47258f1e774fdf7248c1af110129caa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f4265726c696f7a4672616d65776f726b2f48746d6c53656c6563746f722f7068703f76657273696f6e3d332e782d646576267374796c653d666c61742d737175617265)[![Software license](https://camo.githubusercontent.com/574818ac07bd07e03a9dbd018745553023afb635370049e7e14af75ce211a3cf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4265726c696f7a4672616d65776f726b2f48746d6c53656c6563746f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/BerliozFramework/HtmlSelector/blob/3.x/LICENSE)

> **Note**
>
> This repository is a **read-only split** from the [main Berlioz Framework repository](https://github.com/BerliozFramework/Berlioz).
>
> For contributions, issues, or more information, please visit the [main Berlioz Framework repository](https://github.com/BerliozFramework/Berlioz).
>
> **Do not open issues or pull requests here.**

---

**Berlioz HTML Selector** is a PHP library to do queries on HTML files with CSS selectors like *jQuery* on DOM.

📖 **[Full documentation](https://getberlioz.com/docs/3.x/components/html-selector)**

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

[](#installation)

You can install **Berlioz HTML Selector** with [Composer](https://getcomposer.org/), it's the recommended installation.

```
$ composer require berlioz/html-selector
```

Documentation
-------------

[](#documentation)

For usage and examples, visit the [official documentation on **getberlioz.com**](https://getberlioz.com/docs/3.x/components/html-selector).

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance97

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity76

Established project with proven stability

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

Recently: every ~42 days

Total

21

Last Release

3d ago

Major Versions

v1.0.0 → v2.0.0-alpha12021-03-21

1.x-dev → v2.0.0-beta22022-01-12

v2.2.3 → v3.0.02026-02-19

PHP version history (3 changes)v1.0.0PHP ^7.1 || ^8.0

v2.0.0-alpha1PHP ^8.0

v3.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18268216?v=4)[Ronan Giron](/maintainers/ElGigi)[@ElGigi](https://github.com/ElGigi)

---

Top Contributors

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

---

Tags

composercss-pseudohtmlphpphp-library

### Embed Badge

![Health badge](/badges/berlioz-html-selector/health.svg)

```
[![Health](https://phpackages.com/badges/berlioz-html-selector/health.svg)](https://phpackages.com/packages/berlioz-html-selector)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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