PHP Classes

Directory Handler: Rename, copy or delete directories

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 581 All time: 5,300 This week: 310Up
Version License PHP version Categories
directory-handler 1.3Freely Distributable5.2PHP 5, Files and Folders


This class can be used to rename, copy or delete directories.

It can traverse a given directory recursively and copy its files and sub-directories to a given destination directory.

The class may also delete a given directory by deleting its contents first.

It can also rename a directory by copying its contents to a new directory with the final name. Then it deletes the directory with the original name.

Picture of Gilberto Albino
Name: Gilberto Albino <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 43
All time rank: 55540 in Brazil Brazil
Week rank: 398 Up22 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file DirectoryHandler Class Class used to perform the directories operations
Plain text file index.php Example File used for testing

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,300
This week:310Up