compolomus / fs-helper
FileSystem Helper
dev-master
2021-08-01 06:47 UTC
Requires
- php: ^7.4 || ^8.0
- ext-mbstring: *
- ext-zip: *
Requires (Dev)
- phpunit/phpunit: ^9.5
- slevomat/coding-standard: ^7.0
- squizlabs/php_codesniffer: ^3.6
This package is auto-updated.
Last update: 2024-10-29 06:06:14 UTC
README
Install
composer require compolomus/fs-helper
Usage
use Compolomus\FSHelper\FSHelper; use Compolomus\FSHelper\ZipHelper; $dir = '../'; echo '<pre>' . print_r(FSHelper::getInfoDirectory($dir), true) . '</pre>'; ZipHelper::createArchiveFromDirectory($dir);
Testing
You just need to run following command:
./vendor/bin/phpunit