PHPackages                             magicsunday/xmlmapper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. magicsunday/xmlmapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

magicsunday/xmlmapper
=====================

Map PHP to XML

1.2.0(1y ago)01.6k↓65.8%1[2 PRs](https://github.com/magicsunday/xmlmapper/pulls)1MITPHPPHP &gt;=8.2.0 &lt;8.5.0CI passing

Since Jan 25Pushed 2w ago1 watchersCompare

[ Source](https://github.com/magicsunday/xmlmapper)[ Packagist](https://packagist.org/packages/magicsunday/xmlmapper)[ Fund](https://paypal.me/magicsunday)[ RSS](/packages/magicsunday-xmlmapper/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (13)Versions (9)Used By (1)

[![Latest version](https://camo.githubusercontent.com/5d199835fa40c503287a36b12e7fb570fc9f6921fe1c52b03450ef43e43c0942/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d6167696373756e6461792f786d6c6d61707065723f736f72743d73656d766572)](https://github.com/magicsunday/xmlmapper/releases/latest)[![License](https://camo.githubusercontent.com/22e17567a933204f65c9964b5577434bfcd5e383d69b480bbe452d838085314b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6167696373756e6461792f786d6c6d6170706572)](https://github.com/magicsunday/xmlmapper/blob/main/LICENSE)[![CI](https://github.com/magicsunday/xmlmapper/actions/workflows/ci.yml/badge.svg)](https://github.com/magicsunday/xmlmapper/actions/workflows/ci.yml)

XmlMapper
=========

[](#xmlmapper)

This module provides a mapper to map PHP classes to XML utilizing Symfony's property info and access packages.

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

[](#installation)

### Using Composer

[](#using-composer)

To install using [composer](https://getcomposer.org/), just run the following command from the command line.

```
composer require magicsunday/xmlmapper
```

To remove the module run:

```
composer remove magicsunday/xmlmapper
```

Development
-----------

[](#development)

### Testing

[](#testing)

```
composer update
composer ci:cgl
composer ci:test
composer ci:test:php:phplint
composer ci:test:php:phpstan
composer ci:test:php:rector
composer ci:test:php:unit
```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance72

Regular maintenance activity

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

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

Total

4

Last Release

506d ago

PHP version history (3 changes)1.0.0PHP ^8.1

1.0.1PHP &gt;=8.1.0 &lt;8.4.0

1.2.0PHP &gt;=8.2.0 &lt;8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1979dde7200fccc0e21e18a29b5566f22fa01ad104e577254fe74e14ae04a297?d=identicon)[magicsunday](/maintainers/magicsunday)

---

Top Contributors

[![magicsunday](https://avatars.githubusercontent.com/u/564393?v=4)](https://github.com/magicsunday "magicsunday (19 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/magicsunday-xmlmapper/health.svg)

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

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M314](/packages/api-platform-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M517](/packages/shopware-core)[api-platform/symfony

Symfony API Platform integration

354.0M110](/packages/api-platform-symfony)[api-platform/metadata

API Resource-oriented metadata attributes and factories

244.5M182](/packages/api-platform-metadata)[api-platform/serializer

API Platform core Serializer

244.3M71](/packages/api-platform-serializer)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1237.8M120](/packages/web-auth-webauthn-lib)

PHPackages © 2026

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