Spruce Lee plugin for Craft CMS
Scan and purge unused assets
Installation
To install Spruce Lee, follow these steps:
- Download & unzip the file and place the
sprucelee
directory into yourcraft/plugins
directory - -OR- do a
git clone ???
directly into yourcraft/plugins
folder. You can then update it withgit pull
- -OR- install with Composer via
composer require /sprucelee
- Install plugin in the Craft Control Panel under Settings > Plugins
- The plugin folder should be named
sprucelee
for Craft to see it. GitHub recently started appending-master
(the branch name) to the name of the folder for zip file downloads.
Spruce Lee works on Craft 2.4.x and Craft 2.5.x.
Spruce Lee Overview
Spruce Lee is a plugin for clearing out unused assets from a Craft build.
It does this by looping through assets that do not have relationships and storing a record of these.
It then destroy
s identified records through the Craft Asset API.
Using Spruce Lee
-Insert text here-
Spruce Lee Roadmap
- remove relevant records in the
craft_assetfiles
table? - clean out empty folders
- clean out empty/unusued asset sources
- Release it