PHP Classes

PHP SPL File Find: SPL iterator to find files with different criteria

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files Documentation   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-12 (8 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 133 All time: 7,735 This week: 1,407Up
Version License PHP version Categories  
spl-file-find 1.1GNU General Publi...5.4PHP 5, Files and Folders
Description Author  

This package implements SPL iterators to find files with different criteria.

It can take a path a directory to traverse to start finding files.

There are additional iterator classes to sort files by name, sort by type, sort by last access time, sort by last change time, to filter files with a given file name extension, filter only files or only directories, and to limit the number of found files, or limit by directory depth or file size.

Innovation Award  
PHP Programming Innovation award nominee
July 2014
Number 6

Prize: One book of choice by Packt
Iterator interfaces are useful to traverse sets of information.

This package implements iterator interfaces to find files in a more elegant way.

Manuel Lemos
Picture of Ravi Kumar
Name: Ravi Kumar is available for providing paid consulting. Contact Ravi Kumar .
Classes: 4 packages by
Country: India India
Age: 31
All time rank: 2027128 in India India
Week rank: 1707 Up111 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageIterators (4 files)
Plain text file Find.php Class Class source
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file Doc. Auxiliary data

  Files folder image Files  /  Iterators  
File Role Description
  Plain text file ExtensionIterator.php Class Class source
  Plain text file FileSizeIterator.php Class Class source
  Plain text file FileTypeIterator.php Class Class source
  Plain text file SortingIterator.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%Total:133All time:7,735
 This week:0This week:1,407Up