PHPackages                             bcsingh50/thanos-php - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. bcsingh50/thanos-php

ActiveLibrary[File &amp; Storage](/categories/file-storage)

bcsingh50/thanos-php
====================

A casual (but dangerous) package that will let Thanos snap fingers and delete random files inside a directory

1.0.1(9mo ago)012MITPHPPHP &gt;=7.4

Since Aug 14Pushed 9mo agoCompare

[ Source](https://github.com/bcsingh50/ThanosPHP)[ Packagist](https://packagist.org/packages/bcsingh50/thanos-php)[ RSS](/packages/bcsingh50-thanos-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Thanos Snap PHP
===============

[](#thanos-snap-php)

A casual (but dangerous) package that will let Thanos snap fingers and delete random files inside a directory.

Based off thanos-js

⚠️ WARNING
----------

[](#️-warning)

This tool **deletes files**.
This will delete files unless you use: --dry-run This should not delete files in:

- .git
- vendor
- .env
- composer.json

Warning... this has not really been tested. I ran it locally on a windows machine, use at your own risk!

Install
-------

[](#install)

```
composer require bcsingh50/thanos-php
```

Run (Via CLI)
-------------

[](#run-via-cli)

```
vendor/bin/snap --dry-run
```

Once you are brave...

```
vendor/bin/snap --with-gauntlet
```

Run (Via PHP)
-------------

[](#run-via-php)

```
ob_start(); // optional to see output.
$gauntlet->snap($path, $dryRun, $withGauntlet);
$output = ob_get_clean();

echo $output;
```

Future improvements
-------------------

[](#future-improvements)

- Add logging and better output so you do not have to capture output from echos.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance58

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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 ~0 days

Total

2

Last Release

277d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eee9a3b092dafbb857d4c6d169db8ec715cdc186edce532585bfb9ad3162f67e?d=identicon)[bcsingh50](/maintainers/bcsingh50)

---

Top Contributors

[![bcsingh50](https://avatars.githubusercontent.com/u/8854275?v=4)](https://github.com/bcsingh50 "bcsingh50 (5 commits)")

---

Tags

phpfilesystemdeletesnapthanos

### Embed Badge

![Health badge](/badges/bcsingh50-thanos-php/health.svg)

```
[![Health](https://phpackages.com/badges/bcsingh50-thanos-php/health.svg)](https://phpackages.com/packages/bcsingh50-thanos-php)
```

PHPackages © 2026

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