mtownsend/collection-xml
mtownsend/collection-xml adds a simple toXml() macro to Laravel collections and arrays, making it easy to convert nested data into clean XML for feeds, APIs, exports, and legacy integrations.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mtownsend/request-xml | 0.87 | Adds simple XML response parsing to Laravel's HTTP client. Call xml() on responses to convert XML into arrays, making XML APIs as easy to work with as JSON. Lightweight and Laravel-friendly for legacy or SOAP-style endpoints. | 43 | 43 | 14 | 18K | 0 | 9.3 | 38.9 | MIT | 6 months ago | |
| lde/api-helper | 0.87 | A Laravel/PHP helper package that streamlines API development with reusable utilities for consistent JSON responses, error handling, and request/response conveniences, helping you build cleaner, more maintainable APIs faster. | 5 | 5 | 3 | 47 | 0 | 0.2 | 13.1 | MIT | 4 years ago | |
| mtownsend/response-xml | 0.86 | Return XML from your Laravel API as easily as JSON. This package adds a fluent xml() response helper that converts Eloquent models, collections, arrays, and paginators into clean, customizable XML, with support for custom root nodes, headers, and encoding — no manual string building required. | 104 | 107 | 22 | 42K | 6 | 12.0 | 40.3 | MIT | 6 months ago | |
| mtownsend/xml-to-array | 0.86 | Easily convert XML into a clean, traversable PHP array and back again. This lightweight package handles nested elements, attributes, and namespaces, so you can consume XML feeds or APIs in Laravel and plain PHP projects without writing repetitive parsing code. | 116 | 123 | 14 | 202K | 3 | 19.1 | 51.9 | MIT | 1 month ago | |
| noki/laravel-xml-converter | 0.86 | A lightweight Laravel package for converting XML to arrays and arrays or objects back to XML. It offers configurable handling for attributes, namespaces, and formatting, making XML integration simple in Laravel apps. | 32 | 32 | 0 | 2K | 0 | 0.2 | 24.4 | MIT | — | |
| jailtonsc/laravel-response-xml | 0.86 | — | 47 | 48 | 14 | 5K | 10 | 3.5 | 30.6 | — | — | |
| shanethehat/pretty-xml | 0.86 | Pretty XML is a lightweight PHP package for formatting raw XML into clean, readable, indented output. It wraps DOMDocument to add proper line breaks and indentation, making XML easier to debug, log, or display. Simple to install and use in any PHP or Laravel project. | 22 | 24 | 10 | 5K | 0 | 18.4 | 37.6 | MIT | 1 month ago | |
| saloonphp/xml-wrangler | 0.85 | 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 | |
| bmatovu/laravel-xml | 0.85 | A Laravel package for working with XML. It converts XML requests and responses into arrays, adds XML response helpers and middleware, and lets your APIs accept and return XML alongside JSON, with configurable parsing and validation support. | 88 | 91 | 10 | 7K | 5 | 11.4 | 30.6 | MIT | 6 months ago | |
| php-soap/xml | 0.85 | php-soap/xml is a lightweight XML library for PHP focused on SOAP. It offers namespace-aware parsing and generation so you can build, inspect, and transform SOAP envelopes and XML payloads through a small, predictable API. Designed for dependable XML handling in PHP applications. | 10 | — | 1 | — | 0 | 12.9 | — | MIT | 4 months ago |
|
| std-out/simple-data-objects | 0.85 | Lightweight, attribute-driven DTOs for PHP 8.4+ with zero runtime reflection and compiled per-class closures for fast hydration and serialization. Works standalone or in Laravel 12–13. | 35 | 35 | 0 | 202 | 0 | 27.3 | 13.2 | MIT | 3 weeks ago | |
| simplesamlphp/xml-common | 0.85 | — | 4 | 4 | 9 | 213K | 1 | 16.2 | 62.0 | LGPL-2.1 | 3 months ago | |
| zendframework/zend-xml2json | 0.85 | Converts XML to JSON using PHP's DOM and JSON extensions, letting you transform XML documents or strings into JSON output ready for APIs, storage, or JavaScript consumption. | 15 | — | 9 | — | 0 | 0.2 | — | BSD-3-Clause | 7 years ago |
|
| dragon-code/xml-core | 0.85 | A lightweight XML core for Laravel and PHP that provides a simple, fluent API for building, parsing, and validating XML documents. It supports attributes, namespaces, and CDATA, helping you generate structured XML responses and handle common XML tasks without verbose boilerplate. | 2 | 2 | 0 | 146 | 0 | 0.2 | 16.5 | MIT | 1 year ago | |
| halilim/xml-iterator | 0.85 | halilim/xml-iterator offers a simple, memory-efficient way to iterate over XML in PHP. Built on XMLReader, it lets you loop through nodes with foreach and parse large XML files without loading them fully into memory—ideal for big feeds, exports, and streaming XML data. | 19 | — | 8 | — | 0 | 5.5 | — | MIT | 8 months ago |
|
| acfbentveld/xml | 0.84 | A Laravel/PHP package for working with XML. It offers a simple API to parse and read XML, convert XML into arrays or objects, and generate XML output, making common XML handling tasks cleaner and easier in Laravel applications. | 0 | 13 | — | 1 | — | 0.0 | 4.2 | — | — | |
| ivory/serializer-bundle | 0.84 | Symfony bundle that adds serializer integration to your project, with service configuration and convenient APIs for converting PHP objects to and from JSON, XML, and other formats. Use it to centralize serialization setup and keep controllers free of format-specific code. | 4 | 3 | 5 | 2K | 1 | 0.1 | 25.5 | MIT | — | |
| servo/fluidxml | 0.84 | FluidXML is a lightweight PHP library for creating, querying, and editing XML with a concise, fluent, jQuery-like API. Chain readable methods, target nodes with XPath selectors, handle namespaces, and cut boilerplate in XML-heavy PHP and Laravel applications. | 458 | 464 | 45 | 45K | 8 | 7.1 | 32.9 | BSD-2-Clause | 2 years ago | |
| desperado/xml-bundle | 0.84 | — | 9 | 9 | 9 | 326 | 1 | 2.2 | 21.8 | MIT | 11 years ago | |
| thenorthmemory/xml | 0.84 | 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 |
How can I help you explore Laravel packages today?