PHP Classes

UL to PHP array: Parse HTML lists to extract contained structure

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 505 All time: 5,790 This week: 78Up
Version License PHP version Categories
ul-array 1.0GNU Lesser Genera...5.0HTML, XML


This class can be used to parse HTML lists to extract contained structure.

It can take a string with well-formed HTML UL lists tags and extracted the contained list elements structure. It supports nested lists.

The class returns an array of items elements.

Picture of Ovidiu Lesei
Name: Ovidiu Lesei is available for providing paid consulting. Contact Ovidiu Lesei .
Classes: 5 packages by
Country: Romania Romania
Age: 42
All time rank: 132635 in Romania Romania
Week rank: 305 Up8 in Romania Romania Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file class_ul.php Class Main class
Accessible without login Plain text file ul_tests.php Aux. UL tests that I made
Accessible without login Plain text file index.php Example Example of use

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,790
This week:78Up