thenorthmemory/xml
Lightweight XML transformer for PHP: parse XML into arrays and build XML back from arrays. Supports repeated elements/lists, optional pretty printing, custom root nodes, and wrapping arrays to control tag output. Extracted from wechatpay-php for general use.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| prewk/xml-string-streamer | 0.88 | Stream huge XML files with minimal memory by iterating one node at a time. XmlStringStreamer reads from a file/buffered stream and returns each matched element as a string for processing (e.g., SimpleXML). Includes StringWalker and faster UniqueNode parsers. | 360 | 361 | 48 | 59K | 10 | 6.4 | 33.1 | MIT | 3 years ago | |
| doctrine/oxm | 0.88 | Doctrine OXM (Object XML Mapper) maps PHP objects to XML documents and back using Doctrine-style metadata. Useful for XML serialization/deserialization in domain models, with mapping drivers and runtime tools to integrate XML workflows into applications. | 85 | 88 | 20 | 0 | 0 | 0.5 | — | MIT | — | |
| zf1/zend-xml | 0.87 | Zend Framework 1 XML component, split out as a standalone package. Provides XML handling utilities such as DOM/SimpleXML helpers and security-conscious parsing features used by legacy ZF1 apps that need dependable XML processing without the full framework. | 3 | 3 | 4 | 17K | 1 | 0.2 | 49.9 | BSD-3-Clause | — | |
| doctrine/doctrine-oxm-bundle | 0.86 | — | 12 | 12 | 4 | 0 | 0 | 0.1 | — | — | — | |
| common-gateway/sim-xml-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.7 | — | — | 3 years ago | |
| jailtonsc/laravel-response-xml | 0.86 | — | 47 | 48 | 15 | 6K | 10 | 3.5 | 31.9 | — | — | |
| laminas/laminas-xml | 0.86 | Secure XML utilities for PHP: parse and validate XML with safe defaults, mitigate XXE/XEE attacks, and control external entity loading. Helpful for apps that consume untrusted XML and need hardened DOM/LibXML configuration. | 14 | 14 | 10 | 66K | 1 | 13.1 | 54.9 | BSD-3-Clause | 6 months ago | |
| sabre/xml | 0.86 | sabre/xml is a specialized XML reader and writer for PHP. It makes it easy to parse XML into structured data and generate XML with custom serializers. Supports PHP 7.4+ and PHP 8, with strict type declarations in v3. | 531 | 554 | 78 | 816K | 19 | 35.9 | 57.2 | BSD-3-Clause | 3 months ago | |
| egeloen/serializer | 0.86 | — | 29 | 28 | 21 | 1K | 6 | 2.6 | 24.7 | MIT | — | |
| ajtis/xml-bundle | 0.85 | — | 0 | 0 | 0 | 2 | 0 | 9.9 | 7.1 | MIT | 6 months ago | |
| saloonphp/xml-wrangler | 0.84 | XML Wrangler is a Saloon plugin that makes working with XML APIs painless. It adds XML request bodies, automatic XML responses parsing, and convenient helpers for converting between arrays and XML so you can focus on building integrations, not boilerplate. | 426 | 426 | 17 | 162K | 4 | 22.8 | 41.2 | MIT | 4 months ago | |
| openlss/lib-array2xml | 0.83 | — | 309 | 323 | 25 | 382K | 2 | 4.3 | 44.1 | GPL-3.0 | 7 years ago | |
| theseer/fdomdocument | 0.83 | Archived PHP library extending DOMDocument to throw exceptions instead of warnings/notices, plus handy shortcuts like XPath query helpers and appendElement variants. Drop-in replacement for DOM with libxml support; works with PHP 5.3.3–8.1 (v1.6.7). | 247 | 256 | 17 | 147K | 0 | 1.5 | 27.0 | NOASSERTION | 4 years ago | |
| veewee/xml | 0.83 | Type-safe, declarative XML toolkit for PHP. Includes DOM helpers, safe error handling, memory-safe reader/writer, XML encode/decode, plus XSD and XSLT utilities. Spec-compliance ready for PHP 8.4+, with maintained v3 for older PHP. | 183 | 183 | 11 | 307K | 1 | 31.9 | 53.9 | MIT | 2 weeks ago | |
| desperado/xml-bundle | 0.82 | — | 9 | 9 | 11 | 326 | 1 | 2.3 | 21.8 | MIT | 11 years ago | |
| simplesamlphp/xml-common | 0.81 | — | 4 | 4 | 8 | 157K | 1 | 22.1 | 64.9 | LGPL-2.1 | 3 weeks ago | |
| laminas/laminas-xml2json | 0.81 | Convert XML to JSON in PHP via Laminas, with options for simple/pretty output and flexible handling of attributes, elements, and namespaces. Useful for bridging XML-based APIs and JSON consumers. | 14 | 14 | 3 | 3K | 0 | 0.8 | 32.4 | BSD-3-Clause | 4 years ago | |
| spatie/array-to-xml | 0.80 | Simple PHP utility to convert arrays into XML strings. Supports custom root element names and configurable key handling (e.g., converting spaces to underscores). Ideal for quickly generating XML output from structured array data. | 1,198 | 1,224 | 216 | 2M | 0 | 28.8 | 47.3 | MIT | 7 months ago | |
| simonschaufi/pretty-xml | 0.79 | — | 22 | 22 | 9 | 62K | 0 | 2.8 | 47.4 | MIT | 1 year ago | |
| zendframework/zendxml | 0.75 | ZendXml provides secure XML scanning/loading for PHP to help prevent XXE and XML entity expansion (XEE) attacks. It disables external entity loading and rejects documents using ENTITY declarations, returning SimpleXMLElement or DOMDocument. Repository abandoned; moved to laminas/laminas-xml. | 29 | 30 | 11 | 22K | 0 | 0.8 | 28.0 | BSD-3-Clause | 7 years ago |
How can I help you explore Laravel packages today?