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    
Last Updated Ratings Unique User Downloads Download Rankings
2020-07-21 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 162 This week: 1All time: 8,721 This week: 267Up
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: 27
All time rank: 20029 in Nigeria Nigeria
Week rank: 9 Up1 in Nigeria Nigeria Up
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:162
This week:1
All time:8,721
This week:267Up

For more information send a message to info at phpclasses dot org.