Provides functionality for converting XML to JSON, optionally including XML attributes

3.2.0 2021-02-17 23:03 UTC

This package is auto-updated.

Last update: 2021-10-04 20:49:13 UTC


This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself

Build Status

laminas-xml2json provides functionality for converting XML structures to JSON.


Run the following to install this library:

$ composer require laminas/laminas-xml2json


Browse the documentation online at