Files and Folders: Directory and file info
Juliette Reinders Folmer (contact me)
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
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (93.8%)
| Good (87.5%)
| Good (93.8%)
| Good (93.8%)
| -
| -
| Sufficient (74.4%)
| 59 |
Click here for detailed information about this class on phpclasses.org