siestacat/unlink-clear-folder

Remove dir after unlink if it is empty

1.0.1 2023-11-26 17:32 UTC

This package is auto-updated.

Last update: 2024-11-26 19:44:09 UTC


README

Install:

composer require siestacat/unlink-clear-folder

Usage:

use Siestacat\UnlinkNoEmptyFolder\ClearFolderAfterUnlink;



Tests:

git clone https://github.com/SiestaCat/php-unlink-no-empty-folder.git
cd php-unlink-no-empty-folder
composer install
composer run-script test