Download the PHP package shanethehat/pretty-xml without Composer
On this page you can find all versions of the php package shanethehat/pretty-xml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shanethehat/pretty-xml
More information about shanethehat/pretty-xml
Files in shanethehat/pretty-xml
Download shanethehat/pretty-xml
More information about shanethehat/pretty-xml
Files in shanethehat/pretty-xml
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
No informations.
The package shanethehat/pretty-xml contains the following files
Loading the files please wait ....