mtownsend/response-xml
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mtownsend/request-xml | 0.88 | 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 | |
| doctrine/oxm | 0.87 | 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 | — | |
| servo/fluidxml | 0.86 | 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 | |
| saloonphp/xml-wrangler | 0.86 | 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 | |
| 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 |
|
| lde/api-helper | 0.86 | 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 | |
| sm-sandy/api-response | 0.86 | — | 4 | 4 | 0 | 2 | 0 | 0.0 | 2.0 | MIT | — | |
| halloverden/symfony-response-entity-bundle | 0.86 | A Symfony bundle that turns controller return values into HTTP responses through response entities, helping keep controller code clean and output consistent across your application. | 0 | 1 | 0 | 7 | 1 | 0.2 | 12.5 | MIT | — | |
| 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 | |
| mediamonks/rest-api-bundle | 0.85 | Symfony bundle for quickly building REST APIs with annotation-driven routing, automatic request/response serialization, validation, and consistent error handling, cutting boilerplate for controllers and DTOs. | 15 | 15 | 8 | 6 | 0 | 0.4 | 1.9 | MIT | — | |
| mtownsend/collection-xml | 0.85 | 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 | |
| sabre/xml | 0.85 | 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 | |
| f9webltd/laravel-api-response-helpers | 0.85 | Laravel API Response Helpers provides a simple trait for consistent JSON API responses in Laravel apps. Easily return success, error, not found, validation, and other common responses with standardized structures and HTTP status codes. | 647 | 647 | 51 | 23K | 0 | 25.3 | 24.0 | MIT | 4 months 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 | |
| desperado/xml-bundle | 0.85 | — | 9 | 9 | 9 | 326 | 1 | 2.2 | 21.8 | MIT | 11 years ago | |
| mattjanssen/api-response-bundle | 0.85 | A PHP bundle for building consistent API responses, with helpers for standardized success and error payloads so your application returns clean, predictable JSON across endpoints. | 7 | 7 | 4 | 0 | 0 | 0.5 | — | MIT | 6 years ago | |
| riddle/rest-api-bundle | 0.85 | A Symfony bundle for building REST APIs, giving you a structured foundation for controllers, request handling, and JSON responses. It helps you expose resources quickly, keep endpoints consistent, and cut boilerplate so your API stays clean and maintainable across your Symfony application. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| thenorthmemory/xml | 0.85 | 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 | |
| mtownsend/array-redactor | 0.85 | Redact sensitive data from PHP arrays before logging or storing it. Array Redactor masks values by key using dot notation and wildcards, with a configurable replacement string and Laravel support. Keeps passwords, tokens, and personal data out of your logs and dumps. | 145 | 146 | 8 | 2K | 0 | 1.2 | 15.0 | MIT | 7 years ago | |
| mahmoud-almalah/laravel-api-helpers | 0.84 | A lightweight Laravel package with practical helpers for building cleaner APIs. Reduce boilerplate, standardize common response and controller patterns, and keep your backend code consistent, readable, and easier to maintain across projects. | 1 | 1 | 0 | 340 | 0 | 0.3 | 30.8 | MIT | 1 year ago |
How can I help you explore Laravel packages today?