Files and Folders: SPLObjects
Paul Scott (contact me)
This package can be used to retrieve directory listings using SPL (Standard PHP Library) iterators.
It provides several iterator classes that can retrieve the listings of a given directory recursively.
The iterators can retrieve the directory entries with different levels of detail and perform different types of entry filtering.
Click here for detailed information about this class on phpclasses.org