PHP Classes

PHP Folder Structure: Show the information on folders and files

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-12-04 (6 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 118 All time: 9,448 This week: 190Up
Version Licenses PHP version Categories
folder-informations 1.0.0Custom (specified...5HTML, PHP 5, Files and Folders
Description 

Author

This class can show the information on folders and files.

It can take the path of a folder and extract the list of files and folders it contains.

The class can also generate HTML to display the list of files and folders on a Web page.

Picture of Win Aung Cho
  Performance   Level  
Name: Win Aung Cho is available for providing paid consulting. Contact Win Aung Cho .
Classes: 11 packages by
Country: Myanmar Myanmar
Age: 59
All time rank: 25594 in Myanmar Myanmar
Week rank: 514 Up2 in Myanmar Myanmar Up
Innovation award
Innovation award
Nominee: 3x

Details

Folder-Informations

Traverse the folder recursively and collect the several informations such as number of files count and size for each file type. Product html tree using list elements and links to view some text, video and image files.

Example use

First include the FolderInfo.php class in your file, and use the class as following to generate the HTML for the math expressions:

$folderinfo = new FolderInfo();
$folderinfo->printAll();

Tree list of folder content

Folder-Informations

Table of file types, their size and count in total

Folder-Informations

Screenshots  
  • folderinfo1.jpg
  • folderinfo2.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example script
Plain text file FolderInfo.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:118
This week:0
All time:9,448
This week:190Up