mtownsend/request-xml
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mtownsend/response-xml | 0.87 | 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 | |
| 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/collection-xml | 0.86 | 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. | 44 | 44 | 5 | 876 | 1 | 11.8 | 19.9 | MIT | 5 months ago | |
| goetas/xmldom | 0.86 | A lightweight XML DOM implementation for PHP, offering an object-oriented API to build, parse, traverse, and manipulate XML documents. It provides a simple, portable option for projects needing DOM-style XML handling without heavy dependencies. | 1 | 1 | 0 | 0 | 0 | 0.1 | — | — | — | |
| php-soap/xml | 0.86 | 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 |
|
| zendframework/zend-xml2json | 0.86 | 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 |
|
| noki/laravel-xml-converter | 0.85 | 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 | — | |
| 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 | |
| laminas/laminas-xmlrpc | 0.85 | 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 | |
| mtownsend/xml-to-array | 0.85 | 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 | |
| tbbc/rest-util | 0.85 | tbbc/rest-util is a lightweight Laravel utility package for building RESTful APIs, offering helpers for consistent JSON responses, error handling, and request/response formatting to reduce controller boilerplate. | 16 | 16 | 5 | 18 | 0 | 0.2 | 4.3 | MIT | — | |
| 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 | |
| laminas/laminas-http | 0.85 | Laminas HTTP component providing HTTP client, request/response objects, headers and URI utilities for PHP applications. Useful for building and consuming web services, handling redirects, cookies, and proxy/adapter-based transports. | 37 | 37 | 37 | 694K | 6 | 17.2 | 63.2 | BSD-3-Clause | 11 months ago | |
| simplesamlphp/xml-common | 0.85 | — | 4 | 4 | 9 | 213K | 1 | 16.2 | 62.0 | LGPL-2.1 | 3 months ago | |
| saloonphp/xml-wrangler | 0.84 | 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 | |
| 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 | — | |
| cerbero/laravel-dto | 0.84 | Cerbero Laravel DTO provides a simple way to define typed data transfer objects in Laravel, with attribute casting, validation, and conversion from arrays, requests, and Eloquent models. It helps keep controllers and services clean by moving data shaping and validation into reusable DTO classes. | 58 | 59 | 2 | 69 | 0 | 0.4 | 4.7 | 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 | |
| flowgistics/laravel-xml | 0.84 | Laravel XML is a lightweight package for working with XML in Laravel apps. Parse, build, and convert XML documents to arrays or JSON using a simple, expressive API for reading and writing XML. | 16 | 16 | 8 | 3K | 0 | 0.6 | 31.3 | MIT | 1 year 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 | — | — |
How can I help you explore Laravel packages today?