chubbyphp / chubbyphp-clean-directories
A command to clean directories based on name mapping.
Package info
github.com/chubbyphp/chubbyphp-clean-directories
pkg:composer/chubbyphp/chubbyphp-clean-directories
1.5.3
2026-09-05 13:36 UTC
Requires
- php: ^8.3
- symfony/console: ^6.4.45|^7.4.18|^8.1.6
Requires (Dev)
- chubbyphp/chubbyphp-dev-helper: dev-master
- chubbyphp/chubbyphp-mock: ^2.2.2
- infection/infection: ^0.35.4
- php-coveralls/php-coveralls: ^2.9.1
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan: ^2.2.13
- phpunit/phpunit: ^12.5.34
- psr/container: ^2.0.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Description
A command to clean directories based on directoryName => directoryPath mapping.
Requirements
- php: ^8.3
- symfony/console: ^6.4.45|^7.4.18|^8.1.6
Installation
Through Composer as chubbyphp/chubbyphp-clean-directories.
composer require chubbyphp/chubbyphp-clean-directories "^1.5.1"
Usage
#!/usr/bin/env php <?php declare(strict_types=1); namespace App; use Chubbyphp\CleanDirectories\Command\CleanDirectoriesCommand; use Symfony\Component\Console\Application; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Input\InputOption; require __DIR__.'/../vendor/autoload.php'; $input = new ArgvInput(); $console = new Application(); $console->addCommand(new CleanDirectoriesCommand(['directoryName' => 'directoryPath'])); $console->run($input);
console clean-directories directoryName
Copyright
2026 Dominik Zogg