Skip to content

builtbybrayne/php-rmrdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-rmrdir

Recursive rmdir for PHP

Usage

Installation

Via Composer

Rmrdir is available on Packagist (perchten/rmrdir) and as such is installable via Composer.

Add the following to your composer.json

{
	"require": {
    	"perchten/rmrdir": "1.*"
    }
}
Direct include

Clone or download from GitHub and include directly in your code:

require_once "path/to/rmrdir.php"

Code

rmrdir($dir)

Returns True on Success, False on failure

License

rmrdir is licensed under the MIT License - see the LICENSE file for details

Acknowledgements

This code was initially found on a Stack Overflow thread. I'm just making it available on repos for ease and further development.

About

Recursive rmdir for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages