PHP Classes

Pretty PHP Folder Structure View: Show files and sub-folders of a folder using icons

Recommend this page to a friend!
  Info   View files Example   View files View files (19)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 177 All time: 8,632 This week: 236Up
Version License PHP version Categories
folder_structure 1.0.0BSD License5HTML, PHP 5, Graphics
Description Author

This package can show files and sub-folders of a folder using icons.

It can scan a file system folder with a given path to extract the list of files and folders it contains.

The package can output HTML and CSS to display the list of scanned files and sub-folders and visually appealing way.

Picture of chrys ugwu
  Performance   Level  
Name: chrys ugwu <contact>
Classes: 10 packages by
Country: Nigeria Nigeria
Age: 28
All time rank: 19639 in Nigeria Nigeria
Week rank: 948 Up14 in Nigeria Nigeria Down
Innovation award
Innovation award
Nominee: 4x

Details

pretty_folder_structure

List out directory contents


require 'src/Dir.php';

Dir::setColor('green', 'green');

echo Dir::structure('Folder');

alt tag

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file, 1 directory)
Plain text file index.php Example Example script
Plain text file README.md Doc. Documentation
Image file SS.PNG Screen Screenshot

  Files folder image Files  /  src  
File Role Description
Files folder imageAssets (15 files)
  Plain text file Dir.php Class Class source

  Files folder image Files  /  src  /  Assets  
File Role Description
  Image file D_blue.png Icon Icon image
  Image file D_blueE.png Icon Icon image
  Image file D_green.png Icon Icon image
  Image file D_greenE.png Icon Icon image
  Image file D_red.png Icon Icon image
  Image file D_redE.png Icon Icon image
  Image file D_white.png Icon Icon image
  Image file D_whiteE.png Icon Icon image
  Image file D_yellow.png Icon Icon image
  Image file D_yellowE.png Icon Icon image
  Image file F_blue.png Icon Icon image
  Image file F_green.png Icon Icon image
  Image file F_red.png Icon Icon image
  Image file F_whiteE.png Icon Icon image
  Image file F_yellow.png Icon Icon image

 Version Control Unique User Downloads Download Rankings  
 100%
Total:177
This week:0
All time:8,632
This week:236Up
For more information send a message to info at phpclasses dot org.