shanethehat/pretty-xml
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| parfaitementweb/statamic-podcast-publisher | 0.86 | A Statamic addon for publishing podcasts: generate an iTunes-compatible RSS feed, manage episodes and show metadata, and keep your podcast feed in sync with your content—no extra tooling required. | 3 | 3 | 0 | 0 | 1 | 0.2 | — | — | 5 years 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 | |
| acfbentveld/xml | 0.85 | 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 | — | — | |
| 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 | |
| bmatovu/laravel-xml | 0.84 | 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 | |
| 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 | |
| mtownsend/collection-xml | 0.84 | 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 | |
| simonschaufi/pretty-xml | 0.84 | A tiny PHP library for pretty printing and minifying XML with configurable indent size and character, since DomDocument can't configure indent distance. Install via Composer: simonschaufi/pretty-xml. | 22 | 22 | 10 | 62K | 0 | 21.5 | 55.1 | MIT | 1 month ago | |
| noki/laravel-xml-converter | 0.84 | 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 | — | |
| mtownsend/xml-to-array | 0.84 | 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 | |
| colinodell/indentation | 0.84 | Detect, convert, and normalize whitespace indentation in PHP strings. This small utility identifies whether text uses tabs or spaces, measures indent width, and converts between styles—useful for diffing, formatting, and code generation where consistent indentation matters. | 40 | 40 | 3 | 2K | 0 | 0.4 | 23.4 | MIT | 4 years ago | |
| michael-rubel/laravel-formatters | 0.83 | Laravel Formatters provides a clean, extensible set of formatter classes for common tasks like money, phone numbers, names, dates, and more. Formatters auto-resolve through the container and support method chaining, making consistent formatting simple throughout your app. | 94 | 94 | 7 | 409 | 0 | 1.2 | 10.0 | MIT | 1 year ago | |
| mtownsend/request-xml | 0.83 | 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 | |
| markup/contentful-bundle | 0.83 | Symfony bundle that integrates the Contentful content delivery API into your application, providing configurable client services and convenient access to content entries and assets from Contentful spaces. | 2 | 2 | 0 | 0 | 0 | 0.3 | — | MIT | 10 years ago | |
| laminas/laminas-xml2json | 0.83 | Convert XML to JSON in PHP via Laminas, with options for simple/pretty output and flexible handling of attributes, elements, and namespaces. Useful for bridging XML-based APIs and JSON consumers. | 14 | 14 | 3 | 9K | 0 | 0.8 | 38.4 | BSD-3-Clause | 4 years ago | |
| wa72/html-pretty-min | 0.83 | wa72/html-pretty-min is a PHP library for minifying and pretty-printing HTML. It removes unnecessary whitespace to compress markup and can reformat HTML for readable output, helping optimize templates and generated pages. | 22 | 22 | 9 | 5K | 4 | 1.4 | 32.5 | MIT | 1 year ago | |
| laminas/laminas-xml | 0.83 | 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 | 72K | 1 | 11.3 | 54.7 | BSD-3-Clause | 9 months ago | |
| dragon-code/xml-core | 0.83 | 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 | |
| thenorthmemory/xml | 0.83 | 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/response-xml | 0.83 | 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 |
How can I help you explore Laravel packages today?