PHP Classes

TreeIt: Display the content of directories as a tree

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 699 All time: 4,692 This week: 488Up
Version License PHP version Categories
treeit 1.2GNU General Publi...4HTML, Files and Folders, Content mana...
Description 

Author

This class can be used to display the contents of a directory as a collapsible tree.

It scans a given directory recursively to retrieve the list of files and sub-directories. It can use caching to avoid the overhead of scanning the directory again in subsequent accesses. Some files and directories may be excluded from scanning.

The class can display the directory structure as nested HTML nodes for each directory that is found. The directory entries may be collapsible or not.

Each directory and file is represented by its name and an icon according to the file type.

Picture of David Ostendorf
Name: David Ostendorf <contact>
Classes: 1 package by
Country: Germany Germany
Age: ???
All time rank: 2838169 in Germany Germany
Week rank: 216 Up9 in Germany Germany Up

Screenshots (1)  
  • screen_HTML.jpg
  Files folder image Files (46)  
File Role Description
Files folder imagefolder (2 files, 1 directory)
Files folder imagehiddenfolder (1 file)
Files folder imageico (37 files)
Plain text file file.txt Data file
Plain text file index.php Example example
Plain text file TreeIt.class.php Class class

  Files folder image Files (46)  /  folder  
File Role Description
Files folder imagesubfolder (1 file, 1 directory)
  Plain text file hiddenfile.txt Data file
  Plain text file subfile.txt Data file

  Files folder image Files (46)  /  folder  /  subfolder  
File Role Description
Files folder imagesubsubfolder (1 file)
  Plain text file subsubfile.txt Data file

  Files folder image Files (46)  /  folder  /  subfolder  /  subsubfolder  
File Role Description
  Plain text file subsubsubfile.txt Data file

  Files folder image Files (46)  /  hiddenfolder  
File Role Description
  Plain text file subfile.txt Data file

  Files folder image Files (46)  /  ico  
File Role Description
  Image file bmp.png Icon icon
  Image file cd.png Icon icon
  Image file cfg.png Icon icon
  Image file cmd.png Icon icon
  Image file d.gif Icon icon
  Image file doc.png Icon icon
  Image file eps.gif Icon icon
  Image file excel.png Icon icon
  Image file exe.png Icon icon
  Image file fh10.png Icon icon
  Image file fla.png Icon icon
  Image file folder_closed.png Icon icon
  Image file folder_opened.png Icon icon
  Image file gif.png Icon icon
  Image file html.png Icon icon
  Image file js.png Icon icon
  Image file l.gif Icon icon
  Image file m3u.png Icon icon
  Image file music.png Icon icon
  Image file nl.gif Icon icon
  Image file pdf.png Icon icon
  Image file php.png Icon icon
  Image file picture.png Icon icon
  Image file pps.png Icon icon
  Image file psd.png Icon icon
  Image file rar.png Icon icon
  Image file real.png Icon icon
  Image file server.png Icon icon
  Image file setup.png Icon icon
  Image file sig.png Icon icon
  Image file spacer.gif Icon icon
  Image file swf.png Icon icon
  Image file text.png Icon icon
  Image file tpl.png Icon icon
  Image file unknown.png Icon icon
  Image file video.png Icon icon
  Image file zip.png Icon icon

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:699
This week:0
All time:4,692
This week:488Up
User Comments (1)