laminas/laminas-xml
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sabre/xml | 0.89 | sabre/xml is a specialized XML reader and writer for PHP, offering a simple, namespace-aware API for parsing and generating XML. It supports PHP 7.4 and 8, with full type declarations in version 3. | 529 | 554 | 79 | 1M | 19 | 30.3 | 58.7 | BSD-3-Clause | 6 months ago | |
| ajtis/xml-bundle | 0.88 | — | 0 | 0 | 0 | 68 | 0 | 5.9 | 26.5 | MIT | 9 months ago | |
| prewk/xml-string-streamer | 0.86 | 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. | 359 | 361 | 48 | 92K | 10 | 6.4 | 35.9 | MIT | 3 years ago | |
| jailtonsc/laravel-response-xml | 0.86 | — | 47 | 48 | 14 | 5K | 10 | 3.5 | 30.6 | — | — | |
| veewee/xml | 0.86 | veewee/xml provides a type-safe, declarative API for working with XML in PHP, covering DOM, encoding, error handling, memory-safe readers and writers, XSD schemas, and XSLT. It handles errors for you and supports spec compliance on PHP 8.4+. | 184 | 183 | 10 | 307K | 1 | 31.2 | 51.9 | MIT | 3 weeks ago | |
| thenorthmemory/xml | 0.86 | 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. | 9 | 9 | 0 | 30K | 0 | 0.9 | 48.0 | Apache-2.0 | 3 years ago | |
| zf1/zend-xml | 0.86 | 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 | — | |
| openlss/lib-array2xml | 0.86 | — | 307 | 322 | 25 | 394K | 2 | 4.3 | 44.3 | GPL-3.0 | 7 years ago | |
| simonschaufi/pretty-xml | 0.85 | A tiny PHP library for pretty printing and minifying XML with configurable indent size and character, since DomDocument can't configure indent distance. Install via Composer: simonschaufi/pretty-xml. | 22 | 22 | 10 | 62K | 0 | 21.5 | 55.1 | MIT | 1 month ago | |
| desperado/xml-bundle | 0.85 | — | 9 | 9 | 9 | 326 | 1 | 2.2 | 21.8 | MIT | 11 years ago | |
| simplesamlphp/xml-common | 0.84 | — | 4 | 4 | 9 | 213K | 1 | 16.2 | 62.0 | LGPL-2.1 | 3 months ago | |
| doctrine/oxm | 0.84 | 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 | 1 | 0 | 0.5 | 0.1 | MIT | — | |
| laminas/laminas-xmlrpc | 0.84 | Laminas XML-RPC provides a complete PHP implementation of the XML-RPC protocol, including both client and server support for encoding, decoding, and dispatching remote procedure calls. | 25 | 25 | 17 | 48K | 5 | 26.2 | 55.4 | BSD-3-Clause | 4 weeks ago | |
| spatie/array-to-xml | 0.84 | 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,199 | 1,226 | 214 | 3M | 0 | 23.6 | 48.4 | MIT | 10 months 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 | 137K | 0 | 1.5 | 26.8 | NOASSERTION | 4 years ago | |
| saloonphp/xml-wrangler | 0.83 | XML Wrangler is a PHP package that provides a simple, elegant API for reading and writing XML. Built on SimpleXML, it adds namespace support, fluent methods, and clean error handling, and pairs perfectly with Saloon to parse and build XML API responses with ease. | 428 | 429 | 18 | 255K | 4 | 17.6 | 42.4 | MIT | 7 months ago | |
| laminas/laminas-xml2json | 0.83 | 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 | 9K | 0 | 0.8 | 38.4 | BSD-3-Clause | 4 years ago | |
| zendframework/zendxml | 0.83 | 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 | 12 | 28K | 0 | 0.9 | 28.9 | BSD-3-Clause | 7 years ago | |
| laminas/laminas-code | 0.82 | Generate, analyze, and manipulate PHP code with Laminas Code. Provides reflection utilities, code generators, docblock parsing, and class/file generation helpers for building frameworks, tooling, and meta-programming workflows. | 1,904 | 1,908 | 86 | 4M | 21 | 47.0 | 62.7 | BSD-3-Clause | 1 week ago | |
| laminas/laminas-serializer | 0.82 | Laminas serializer library providing adapters for PHP serialize, JSON, igbinary, and more, plus a configurable factory for serializing and deserializing data in Laminas and Mezzio applications. | 36 | 36 | 22 | 155K | 1 | 24.2 | 60.2 | BSD-3-Clause | 1 month ago |
How can I help you explore Laravel packages today?