PHPackages                             dlowhorn/purge-snapshots - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dlowhorn/purge-snapshots

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dlowhorn/purge-snapshots
========================

Purge automatic AWS Lightsail Snapshots

1.0.0(5y ago)020MPL-2.0-no-copyleft-exceptionPHPPHP &gt;=7.1

Since Feb 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dlowhorn/purge-snapshots)[ Packagist](https://packagist.org/packages/dlowhorn/purge-snapshots)[ RSS](/packages/dlowhorn-purge-snapshots/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

AWS Lightsail Automatic Snapshot Purging
========================================

[](#aws-lightsail-automatic-snapshot-purging)

Usage
-----

[](#usage)

Copy vendor/dlowhorn/purge-snapshots/bin/purgeSnapshots.php to root of your project, then:

```
php purgeSnapshots.php [resource name] [aws region] [days to keep] [api version]

```

Example
-------

[](#example)

**Delete any automatic snapshot older than 5 days:**

```
php purgeSnapshots.php my-lightsail-instance-name us-east-1 5 2016-11-28

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1919d ago

### Community

Maintainers

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

---

Top Contributors

[![fromthecove](https://avatars.githubusercontent.com/u/796606?v=4)](https://github.com/fromthecove "fromthecove (10 commits)")

### Embed Badge

![Health badge](/badges/dlowhorn-purge-snapshots/health.svg)

```
[![Health](https://phpackages.com/badges/dlowhorn-purge-snapshots/health.svg)](https://phpackages.com/packages/dlowhorn-purge-snapshots)
```

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36517.7M22](/packages/aws-aws-sdk-php-symfony)[csharpru/vault-php

Best Vault client for PHP that you can find

8410.3M4](/packages/csharpru-vault-php)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)[helgesverre/extractor

AI-Powered Data Extraction for your Laravel application.

22128.0k](/packages/helgesverre-extractor)[dreamonkey/laravel-cloudfront-url-signer

Laravel 5.6+ wrapper around CloudFront canned signed URLs

54750.7k](/packages/dreamonkey-laravel-cloudfront-url-signer)[foxxmd/laravel-elasticbeanstalk-cron

Ensure only one Laravel instance is running CRON jobs in an EB environment

62299.6k](/packages/foxxmd-laravel-elasticbeanstalk-cron)

PHPackages © 2026

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