This class can be used to retrieve information about files and directories.
It can:
- Retrieve an array with the list files in a given directory with several details like the file names, file sizes, last access date, last modified date, etc.
- Optionally traverse the given directory recursively to list files contained in sub-directories
- Filter the listing by file name extension, MIME type, last modified and last accessed dates.
- Filter a listing with additional criteria to create a more restricted listing
- Sort the retrieved listing
- Determine the most recently changed file
- Calculate the size of the files in a given directory listing
- Retrieve the size, last modified and last access data, permissions, owner and MIME type of a file in in a human readable format
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (91.7%) |
Good (80.6%) |
Good (91.7%) |
Good (86.1%) |
- |
- |
Sufficient (71.7%) |
140 |
| Month: |
Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|
| File |
Role |
Description |
directory_info.html |
Doc. |
Full documentation of all class methods and variables |
| File |
Role |
Description |
example.php |
Example |
Example page which demonstrates some of the class uses |