Skip to content

koenhoeymans/ElementTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElementTree

ElementTree is a PHP library for handling a tree of components which can be manipulated, searched and represented as a string. It resembles working with XML. However, this library was developed to solve a particular need I couldn't solve with the standard XML solutions in PHP. Therefore it does some things different from what one should and would expect from such a thing:

  • Not nearly as feature-rich.
  • Does not interfere with entities.
  • No single root element necessary.
  • Output attribute values between single or double quotes.
  • No security checks.
  • ...

Documentation can be found in the form of this end-to-end test.

Installation can be done with composer.

About

A very simple tree of XML-like components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages