Clear Assets

Addon by Swiftmade OÜ

Clear Assets Main Screenshot

Statamic 3.0+ Latest Version on Packagist

Get rid of unused assets taking up space in your project.

Works by scanning your entire content directory. An asset will be removed if none of the files in this directory points to it.

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require swiftmade/statamic-clear-assets

How to Use

Simply run:

php please assets:clear