PHPackages                             germania-kg/clearcache-command - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. germania-kg/clearcache-command

ActiveLibrary[CLI &amp; Console](/categories/cli)

germania-kg/clearcache-command
==============================

PHP Package boilerplate

1.1.0(3y ago)0123MITPHPPHP ^7.4|^8.0

Since Sep 8Pushed 3y ago2 watchersCompare

[ Source](https://github.com/GermaniaKG/ClearCacheCommand)[ Packagist](https://packagist.org/packages/germania-kg/clearcache-command)[ RSS](/packages/germania-kg-clearcache-command/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (10)Versions (13)Used By (0)

Germania KG · ClearCache
========================

[](#germania-kg--clearcache)

**Symfony Console Command for clearing caches in our web apps.**

\[!\[Tests\]([https://github.com/GermaniaKG/ClearCacheCommand/actions/workflows/tests.yml/badge.svg)\](https://github.com/GermaniaKG/ClearCacheCommand/actions/workflows/tests.yml](https://github.com/GermaniaKG/ClearCacheCommand/actions/workflows/tests.yml/badge.svg)](https://github.com/GermaniaKG/ClearCacheCommand/actions/workflows/tests.yml)) Installation
------------

[](#installation)

```
$ composer require germania-kg/clearcache-command:^1.0
```

Requirements
------------

[](#requirements)

This package requires the ***Symfony Console*** component and the ***Psr\\Cache*** interfaces.

Usage
-----

[](#usage)

The ClearCacheCommand clears app cache directories and PSR Cache Item Pools:

```
use Germania\ClearCache\ClearCacheCommand;

$directories = array();
$psr_cacheitempools = array();

$cmd = new ClearCacheCommand($directories, $psr_cacheitempools);
```

CLI usage
---------

[](#cli-usage)

The command name is `cache:clear`, and it accepts a `--dry-run` option:

```
$ bin/console cache:clear
$ bin/console cache:clear --dry-run
```

Development
-----------

[](#development)

```
$ git clone git@github.com:GermaniaKG/ClearCacheCommand.git
# or
$ git clone https://github.com/GermaniaKG/ClearCacheCommand.git
```

Unit tests and development
--------------------------

[](#unit-tests-and-development)

1. Copy `phpunit.xml.dist` to `phpunit.xml`
2. Run [PhpUnit](https://phpunit.de/) like this:

```
$ composer test
# or
$ vendor/bin/phpunit
```

And there's more in the `scripts` section of **composer.json**.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~61 days

Total

11

Last Release

1275d ago

PHP version history (2 changes)1.0.0PHP ^7.3|^8.0

1.1.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba1899945696f873f95de5e2b8f7519960f1b4e59f61e607b4cbbd8880d244e1?d=identicon)[germania-kg](/maintainers/germania-kg)

---

Top Contributors

[![tomkyle](https://avatars.githubusercontent.com/u/412560?v=4)](https://github.com/tomkyle "tomkyle (32 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/germania-kg-clearcache-command/health.svg)

```
[![Health](https://phpackages.com/badges/germania-kg-clearcache-command/health.svg)](https://phpackages.com/packages/germania-kg-clearcache-command)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
