PHPackages                             ouxsoft/phpmarkup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ouxsoft/phpmarkup

ActiveLibrary

ouxsoft/phpmarkup
=================

A Processor for Markup written in PHP. Allows extraction of Markup into a data structure, orchestrated nested manipulation of said structure, and output as (optimized) Markup.

v4.3.2(4y ago)03.9k1[6 PRs](https://github.com/Ouxsoft/phpmarkup/pulls)1MITPHPPHP &gt;=7.3CI failing

Since Mar 29Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/Ouxsoft/phpmarkup)[ Packagist](https://packagist.org/packages/ouxsoft/phpmarkup)[ Docs](https://github.com/Ouxsoft/phpmarkup)[ Fund](https://github.com/sponsors/hxtree)[ Fund](https://www.paypal.me/hxtree)[ RSS](/packages/ouxsoft-phpmarkup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (26)Used By (1)

PHPMarkup
=========

[](#phpmarkup)

[![CI](https://github.com/Ouxsoft/phpmarkup/actions/workflows/ci.yml/badge.svg)](https://github.com/Ouxsoft/phpmarkup/actions/workflows/ci.yml)[![Code Quality](https://camo.githubusercontent.com/b9fa6704669cda0233d717568788dbb4bb7879ba310e9874d1ef9d5c23492ccf/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3638633532616431333963623466376662623565373863326561636536383030)](https://www.codacy.com/gh/Ouxsoft/phpmarkup/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Ouxsoft/phpmarkup&utm_campaign=Badge_Grade)[![Code Coverage](https://camo.githubusercontent.com/128d783fbb725946e0884ca97b12fa3b99158c7fed1f03134bc008dd12703e6c/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f4f7578736f66742f7068706d61726b7570)](https://codecov.io/gh/Ouxsoft/phpmarkup)[![Docs Status](https://camo.githubusercontent.com/097d7914cf1d7e66e351e593b5475f799a37f31155a2ee14276da408b6dde883/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f7068706d61726b75702f62616467652f3f76657273696f6e3d6c6174657374267374796c653d666c6174)](https://readthedocs.org/projects/phpmarkup)

[![Latest Stable Version](https://camo.githubusercontent.com/4eb422e900e8d80ebf04f3f6cc9eab645611fa7e4d69635fb6dff1968e17713b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4f7578736f66742f7068706d61726b75702e737667)](https://packagist.org/packages/Ouxsoft/phpmarkup)[![PHP Versions Supported](https://camo.githubusercontent.com/b18d2475e08a00899316a7f0b8898bc91d5a1bcdbf0590b9eb169e037ac0367c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e33253230746f253230382e312d3737376262332e7376673f6c6f676f3d706870266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d353535353535)](https://api.travis-ci.com/Ouxsoft/phpmarkup.svg?branch=master&status=passed)[![License](https://camo.githubusercontent.com/b7f987d9672849c198f174fdcafb8cc6d9878e439d03e9403c34683de445b87e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3432386637652e7376673f6c6f676f3d6f70656e253230736f75726365253230696e6974696174697665266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d353535353535)](https://github.com/Ouxsoft/phpmarkup/blob/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/41398c0059c7ef63c589c97df2b053c57496ced7e1e6c678a3a5ec3975bdb484/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4f7578736f66742f7068706d61726b75702e737667)](https://packagist.org/packages/Ouxsoft/phpmarkup)

Installation
------------

[](#installation)

Install the latest version:

```
$ composer require ouxsoft/phpmarkup
```

Basic Usage
-----------

[](#basic-usage)

Create an Element class containing DOMElement processing instructions.

```
