PHP Classes

Disk Usage: Calculate the disk space usage of a directory

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 560 All time: 5,444 This week: 63Up
Version License PHP version Categories
disk-usage 1.0GNU General Publi...5.2PHP 5, Files and Folders
Description 

Author

This class can be used to Calculate the disk space usage of a given directory.

It can traverse a given directory recursively and count the total number of directories, files and their sizes.

The class can also format the size value in bytes, KB MB or GB.

Picture of Nitesh Apte
  Performance   Level  
Name: Nitesh Apte <contact>
Classes: 18 packages by
Country: India India
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files (2)  
File Role Description
Plain text file class.DiskUsage.php Class Find the disk usage
Accessible without login Plain text file index.php Example example

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:560
This week:0
All time:5,444
This week:63Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1661
 
Elegant and clean,
13 years ago (RicardoSaracino)
67%StarStarStarStar