takuya/php-rrmdir

Recursive rmdir for PHP

1.0 2021-07-04 14:22 UTC

This package is auto-updated.

Last update: 2024-05-04 20:29:11 UTC


README

Recursive rmdir for PHP

tests results .

<CircleciTest>

Installing from github.


composer config repositories.takuya/php-rrmdir vcs https://github.com/takuya/php-rrmdir
composer config minimum-stability dev
composer require takuya/php-rrmdir

Installing from packagist.

composer require takuya/php-rrmdir
composer install

Usage example.

This package provides a function rrmdir() to your composer project.

<?php

require_once 'vendor/autoload.php';
$ret = rrmdir('/var/www/virtualhosts/example.com/www-data');
is_dir($ret);#=>false

run tests

composer install
composer dumpautoload
./vendor/bin/phpunit