PHPackages                             free-id/xml - 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. free-id/xml

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

free-id/xml
===========

XML parser for free-id/core package

1.0.5(3y ago)09[3 PRs](https://github.com/free-id/xml/pulls)MITPHPPHP &gt;=8.1

Since Jul 26Pushed 3y agoCompare

[ Source](https://github.com/free-id/xml)[ Packagist](https://packagist.org/packages/free-id/xml)[ Docs](https://github.com/free-id/xml)[ RSS](/packages/free-id-xml/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (10)Used By (0)

XML parser
==========

[](#xml-parser)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d46d9f2e0284223879709d727f422c67d420abfa6f0180b5f320a99d468d7103/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667265652d69642f786d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/free-id/xml)[![Tests](https://github.com/free-id/xml/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/free-id/xml/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/2923e6edad8fdb2fa0179dac584fe8bd66fd34f2d31b2828049bd2268454e592/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667265652d69642f786d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/free-id/xml)

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

[](#installation)

You can install the package via composer:

```
composer require free-id/xml
```

Usage
-----

[](#usage)

```
use FreeId\Xml\Parser;

$parser = new Parser();
echo $parser->find();
```

Parameters
----------

[](#parameters)

ParameterDescriptionDefaultpath (string)Path to the file to be searched-child\_element (string)The child element to be searched for-attribute (string)Attribute by which the search will be performedidstart\_id (int)Identifier from which the search will start1Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/free-id/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Vitaly Kuzyaev](https://github.com/vitkuz573)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~0 days

Total

6

Last Release

1389d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/025410ec6bcd4ca87380a9070b12589e7b37462665e6a985f690e53767d1b22e?d=identicon)[vitkuz573](/maintainers/vitkuz573)

---

Top Contributors

[![vitkuz573](https://avatars.githubusercontent.com/u/37330183?v=4)](https://github.com/vitkuz573 "vitkuz573 (10 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

xmlparserfree idvitkuz573

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/free-id-xml/health.svg)

```
[![Health](https://phpackages.com/badges/free-id-xml/health.svg)](https://phpackages.com/packages/free-id-xml)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[imangazaliev/didom

Simple and fast HTML parser

2.2k2.3M64](/packages/imangazaliev-didom)[orchestra/parser

XML Document Parser for Laravel and PHP

4581.7M5](/packages/orchestra-parser)[laravie/parser

XML Document Parser for PHP

2342.1M8](/packages/laravie-parser)[goetas-webservices/xsd-reader

Read any XML Schema (XSD) programmatically with PHP

624.7M15](/packages/goetas-webservices-xsd-reader)[vipnytt/sitemapparser

XML Sitemap parser class compliant with the Sitemaps.org protocol.

772.2M10](/packages/vipnytt-sitemapparser)

PHPackages © 2026

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