/tree-abstract-php

Interfaces for an abstract tree using nodes. Perfect for abstract syntax trees, DOM, etc.

Primary LanguagePHPMIT LicenseMIT

Abstract Tree Interfaces

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This is a collection of interfaces for an abstract tree.

Each node has the option of being a parent. The API closely resembles the DOM implementation.

This is not an implementation. For an implementation, see:

Install

Via Composer

$ composer require ab/tree-abstract

Usage

Use the interfaces to implement your own versions of Node, NodeParent, etc.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Credits

License

The MIT License (MIT). Please see License File for more information.