PHPackages                             tadaspaplauskas/dom-to-array - 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. tadaspaplauskas/dom-to-array

ActiveLibrary

tadaspaplauskas/dom-to-array
============================

Converts DOM to array tree structure

1.0.5(8y ago)017MITPHPPHP &gt;=5.5.0

Since Jan 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tadaspaplauskas/dom-to-array)[ Packagist](https://packagist.org/packages/tadaspaplauskas/dom-to-array)[ Docs](https://github.com/tadaspaplauskas/dom-to-array)[ RSS](/packages/tadaspaplauskas-dom-to-array/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

dom-to-array
============

[](#dom-to-array)

You pass an url to a HTML page, it builds an array or JSON structure representing the DOM. Framework agnostic.

Install
-------

[](#install)

`composer require tadaspaplauskas/dom-to-array`

Do not forget to require autoload file if your framework doesn't do that for you.

Sample usage
------------

[](#sample-usage)

```
