PHPackages                             hakre/xmlutil - 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. hakre/xmlutil

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

hakre/xmlutil
=============

 Utility Classes for XML Standard Applications in PHP

v0.0.1(11y ago)04.7k↓100%AGPL-3.0PHP

Since Mar 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hakre/XMLUtil)[ Packagist](https://packagist.org/packages/hakre/xmlutil)[ Docs](https://github.com/hakre/XMLUtil)[ RSS](/packages/hakre-xmlutil/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

XMLUtil - Utility Classes for XML Standard Applications in PHP
--------------------------------------------------------------

[](#xmlutil---utility-classes-for-xml-standard-applications-in-php)

### XMLRecoder

[](#xmlrecoder)

Obtain information about and/or re-encode the character encoding of an XML document.

The class [`XMLRecoder`](src/XMLRecoder.php) is iconv based to re-encode XML strings based on the XML declaration or user-input given.

#### Examples and Resources

[](#examples-and-resources)

- [PHP XMLReader, get the version and encoding](http://stackoverflow.com/a/15495409/367456)
- [Read specific character from xml file to a php file](http://stackoverflow.com/a/18896665/367456)

### XMLErrors

[](#xmlerrors)

Representation and visualisation of LibXMLError objects.

### XMLDSig

[](#xmldsig)

The DSig module is for XML digital signature processing.

The class [`XMLDSig`](src/DSig/XMLDSig.php) offers a high-level interface. Right now it covers digest handling.

#### Examples and Resources

[](#examples-and-resources-1)

- [Is that what exactly does the enveloped signature transform?](http://stackoverflow.com/q/24961073/367456)

### SXML

[](#sxml)

The SXML module has SimpleXMLElement related functionality, collected over the years.

#### Examples and Resources

[](#examples-and-resources-2)

- [In SimpleXML, how can I add an existing SimpleXMLElement as a child element?](http://stackoverflow.com/q/767327/367456)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

4072d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d074b8cfcdf17947f205adf3402ed75dea44cebba0b2526d8b4e66a51d4cfdc?d=identicon)[hakre](/maintainers/hakre)

---

Top Contributors

[![hakre](https://avatars.githubusercontent.com/u/378849?v=4)](https://github.com/hakre "hakre (10 commits)")

---

Tags

xml

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hakre-xmlutil/health.svg)

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M849](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M622](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M169](/packages/hassankhan-config)[sabre/xml

sabre/xml is an XML library that you may not hate.

52832.2M131](/packages/sabre-xml)

PHPackages © 2026

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