Download the PHP package simonschaufi/pretty-xml without Composer
On this page you can find all versions of the php package simonschaufi/pretty-xml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download simonschaufi/pretty-xml
More information about simonschaufi/pretty-xml
Files in simonschaufi/pretty-xml
Download simonschaufi/pretty-xml
More information about simonschaufi/pretty-xml
Files in simonschaufi/pretty-xml
Vendor simonschaufi
Package pretty-xml
Short Description Library for pretty-printing XML
License MIT
Package pretty-xml
Short Description Library for pretty-printing XML
License MIT
Please rate this library. Is it a good library?
Informations about the package pretty-xml
pretty-xml
A tiny library for pretty printing XML, inspired purely from DomDocument's lack of ability to configure indent distance.
Usage
Installation
The recommended way to install the extension is using Composer.
Run the following command:
How to use
Prettify
To use, give it a badly indented (but well-formed and valid) XML string:
You can also change the size of the indent:
And you can change the indent character:
Minify
Thanks
Thanks to vkBeautify for their algorithm.
All versions of pretty-xml with dependencies
PHP Build Version
Package Version
The package simonschaufi/pretty-xml contains the following files
Loading the files please wait ....