PHPackages                             rubricate/element - 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. rubricate/element

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

rubricate/element
=================

Assists in creating elements: HTML and XML

v4.0.0(1mo ago)04394MITPHPPHP &gt;=8.2

Since Jul 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/rubricate/element)[ Packagist](https://packagist.org/packages/rubricate/element)[ RSS](/packages/rubricate-element/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (4)Versions (11)Used By (4)

RubricatePHP Element
====================

[](#rubricatephp-element)

[![Maintainer](https://camo.githubusercontent.com/12ec67552930b171d896cce3a73e9f9ff96c1d805edf534227f34a9c929bf4f9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406573746566616e696f6e73616e746f732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://estefanionsantos.github.io/)[![Source Code](https://camo.githubusercontent.com/1637f30c7c166ada603a0c240f8ecd3a38786f8cc10010f4a84aef3115138d58/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d7275627269636174652f656c656d656e742d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/rubricate/element)[![PHP from Packagist](https://camo.githubusercontent.com/ab0f2e64cd0f3dd6317f87984a0653b365494456e84100cf35a97ecc6f7c6524/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7275627269636174652f656c656d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rubricate/element)[![Latest Version](https://camo.githubusercontent.com/7301732eed7798de0de84a50a055c7ad5c009fe144a75375dc4f0c206ec92e6e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7275627269636174652f656c656d656e742e7376673f7374796c653d666c61742d737175617265)](https://github.com/rubricate/element/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/dedb70b97676339f2f474230d9ff089da2b3fa212e1ed1029d320ed082caa770/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7275627269636174652f656c656d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rubricate/element)

Assists in creating elements: HTML and XML

#### Last Version

[](#last-version)

```
$ composer require rubricate/element

```

- Documentation is at
- issues:

### Credits

[](#credits)

- [All Contributors](https://github.com/rubricate/element/contributors) (Let's program)

### License

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/rubricate/element?tab=MIT-1-ov-file) for more information.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance92

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

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

Recently: every ~257 days

Total

10

Last Release

47d ago

Major Versions

v0.4.0 → v1.0.02023-09-04

v1.0.0 → v2.2.02023-09-17

v2.2.1 → v3.0.02026-04-20

v3.0.0 → v4.0.02026-06-29

PHP version history (3 changes)v1.0.0PHP &gt;=5.3

v2.2.0PHP &gt;=7.2

v3.0.0PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![estefanionsantos](https://avatars.githubusercontent.com/u/6088043?v=4)](https://github.com/estefanionsantos "estefanionsantos (38 commits)")

---

Tags

xmlhtmlclean codeOOPelementfluent-interfacehtml-builderrubricatephprubricate-componentmarkup-generator

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rubricate-element/health.svg)

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k280.1M361](/packages/masterminds-html5)[imangazaliev/didom

Simple and fast HTML parser

2.2k2.5M74](/packages/imangazaliev-didom)[querypath/querypath

HTML/XML querying and processing (like jQuery)

8177.2M27](/packages/querypath-querypath)[rumenx/php-sitemap

Framework-agnostic Sitemap generator for PHP, Laravel, and Symfony.

1.3k29.9k1](/packages/rumenx-php-sitemap)[rct567/dom-query

DomQuery is a PHP library that allows easy 'jQuery like' DOM traversing and manipulation

136271.9k4](/packages/rct567-dom-query)[gravitypdf/querypath

PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PHP 7.1 to 8.5 support

301.6M1](/packages/gravitypdf-querypath)

PHPackages © 2026

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