prewk/xml-string-streamer
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/array-to-xml | 0.85 | 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.85 | — | 22 | 22 | 9 | 62K | 0 | 2.8 | 47.4 | MIT | 1 year ago | |
| zf1/zend-xml | 0.84 | 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.84 | — | 309 | 323 | 25 | 382K | 2 | 4.3 | 44.1 | GPL-3.0 | 7 years ago | |
| jailtonsc/laravel-response-xml | 0.84 | — | 47 | 48 | 15 | 6K | 10 | 3.5 | 31.9 | — | — | |
| ajtis/xml-bundle | 0.83 | — | 0 | 0 | 0 | 2 | 0 | 9.9 | 7.1 | MIT | 6 months ago | |
| simplesamlphp/xml-common | 0.83 | — | 4 | 4 | 8 | 157K | 1 | 22.1 | 64.9 | LGPL-2.1 | 3 weeks ago | |
| doctrine/oxm | 0.83 | 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 | — | |
| windwalker/stream | 0.82 | — | 0 | 0 | 0 | 314 | 0 | 0.0 | 34.5 | MIT | — | |
| desperado/xml-bundle | 0.82 | — | 9 | 9 | 11 | 326 | 1 | 2.3 | 21.8 | MIT | 11 years ago | |
| laminas/laminas-xml | 0.79 | 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 | |
| thenorthmemory/xml | 0.79 | 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 | |
| veewee/xml | 0.78 | 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 | |
| symfony/json-streamer | 0.77 | Stream JSON efficiently with Symfony JsonStreamer. Read and write large JSON structures incrementally from streams to reduce memory usage, with powerful helpers for streaming serialization/deserialization and handling big payloads in real time. | 21 | 18 | 1 | 51K | 0 | 30.9 | 54.6 | MIT | 1 week ago | |
| bcncommerce/json-stream | 0.77 | Stream JSON reading and writing for PHP. Incrementally parse or generate large JSON documents from file handles without loading everything into memory. Supports entering/leaving objects and arrays, reading keys or iterating items—ideal for exports/imports like product catalogs. | 65 | 68 | 10 | 40K | 2 | 2.2 | 38.4 | MIT | 5 years ago | |
| saloonphp/xml-wrangler | 0.77 | 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 | |
| guzzle/stream | 0.77 | Lightweight stream abstraction for PHP and Guzzle, offering common stream utilities and decorators to read, write, and transform data consistently. Useful for building HTTP clients, middleware, and I/O workflows that need simple, testable stream handling. | 19 | 22 | 1 | 51K | 0 | 0.1 | 47.1 | — | — | |
| sabre/xml | 0.76 | 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 | |
| jstewmc/stream | 0.76 | jstewmc/stream is a small PHP library that provides a simple Stream abstraction for working with PHP stream resources. It helps with reading/writing, buffering, and common stream operations behind a cleaner, object-oriented API. | 5 | 5 | 0 | 9K | 0 | 0.0 | 44.1 | MIT | — | |
| prewk/xml-faker | 0.75 | Generate fake XML easily for tests and demos with prewk/xml-faker. Define elements and attributes, create realistic sample documents fast, and avoid hand-writing fixtures. Lightweight helper for PHP projects that need quick XML payloads. | 10 | 10 | 0 | 33 | 2 | 0.5 | 8.3 | MIT | — |
How can I help you explore Laravel packages today?