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. 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 | |
| ajtis/xml-bundle | 0.88 | — | 0 | 0 | 0 | 2 | 0 | 9.9 | 7.1 | MIT | 6 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. | 360 | 361 | 48 | 59K | 10 | 6.4 | 33.1 | MIT | 3 years ago | |
| jailtonsc/laravel-response-xml | 0.86 | — | 47 | 48 | 15 | 6K | 10 | 3.5 | 31.9 | — | — | |
| veewee/xml | 0.86 | 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 | |
| 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 | 22K | 0 | 0.9 | 46.3 | 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 | — | 309 | 323 | 25 | 382K | 2 | 4.3 | 44.1 | GPL-3.0 | 7 years ago | |
| simonschaufi/pretty-xml | 0.85 | — | 22 | 22 | 9 | 62K | 0 | 2.8 | 47.4 | MIT | 1 year ago | |
| desperado/xml-bundle | 0.85 | — | 9 | 9 | 11 | 326 | 1 | 2.3 | 21.8 | MIT | 11 years ago | |
| simplesamlphp/xml-common | 0.84 | — | 4 | 4 | 8 | 157K | 1 | 22.1 | 64.9 | LGPL-2.1 | 3 weeks 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 | 0 | 0 | 0.5 | — | MIT | — | |
| laminas/laminas-xmlrpc | 0.84 | Laminas XML-RPC provides client and server components for XML-RPC in PHP. Build and parse XML-RPC requests/responses, expose methods via a server, and integrate with Laminas components for transport, encoding, and fault handling. | 25 | 25 | 17 | 48K | 5 | 26.4 | 56.0 | 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,198 | 1,224 | 216 | 2M | 0 | 28.8 | 47.3 | MIT | 7 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 | 147K | 0 | 1.5 | 27.0 | NOASSERTION | 4 years ago | |
| saloonphp/xml-wrangler | 0.83 | 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 | |
| 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 | 3K | 0 | 0.8 | 32.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 | 11 | 22K | 0 | 0.8 | 28.0 | 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,914 | 87 | 4M | 21 | 32.4 | 55.6 | BSD-3-Clause | 9 months ago | |
| laminas/laminas-serializer | 0.82 | Laminas Serializer provides a flexible way to serialize and unserialize PHP data using multiple adapters (e.g., PHP serialize, JSON, Base64). Includes configuration options, adapter plugins, and error handling for safe, consistent data transformation. | 36 | 36 | 22 | 104K | 1 | 21.3 | 56.7 | BSD-3-Clause | 3 months ago |
How can I help you explore Laravel packages today?