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
|
Constraint
|
|---|---|
| illuminate/container | ~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 |
| illuminate/http | ~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 |
| illuminate/routing | ~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 |
| illuminate/support | ~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 |
| spatie/array-to-xml | ^3.1 |
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^6.4|^8.5|^9.5|^10.5 |
How can I help you explore Laravel packages today?