PHP Classes

PHP ScanDir Files: Get the list of files from a directory recursively

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
Not enough user ratingsTotal: 766 All time: 4,413 This week: 488Up
Version License PHP version Categories
scan-dir 1.0Free for non-comm...5.0PHP 5, Files and Folders
Description 

Author

This class can get the list of files from a directory recursively.

It can traverse a given directory and optionally its subdirectories to extract the list of files that use certain file name extensions.

The class can optionally return the details of the files that were found like the filename including the full path of parent directory names, file size, date, permissions, base name and extension name.

The class can also return the total number of files that were found, as well the total size of all files.

Picture of GARCIA Jean-François
Name: GARCIA Jean-François <contact>
Classes: 1 package by
Country: France France

  Files folder image Files (3)  
File Role Description
Plain text file Class_ScanDir.php Class definition file for the Class ScanDir
Accessible without login HTML file Documentation_ScanDir.html Doc. Documentation about the class
Accessible without login Plain text file example.php Example Example use of Scandir Class

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:766
This week:0
All time:4,413
This week:488Up