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: 192 This week: 1All time: 8,557 This week: 560Up
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: 16 packages by
Country: Nigeria Nigeria
Age: 30
All time rank: 16897 in Nigeria Nigeria
Week rank: 411 Up10 in Nigeria Nigeria Down
Innovation award
Innovation award
Nominee: 4x

Example

<?php

require 'src/Dir.php';
Dir::setColor('green', 'green');
echo
Dir::structure('Folder');





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:192
This week:1
All time:8,557
This week:560Up