PHPackages                             roelvanhintum/craft-assetusage - 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. roelvanhintum/craft-assetusage

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

roelvanhintum/craft-assetusage
==============================

Adds a column to see which assets are used or unused.

4.2.1(3mo ago)32153↓33.3%13[9 issues](https://github.com/roelvanhintum/craft-assetusage/issues)MITPHPPHP ^8.2.0

Since Dec 30Pushed 3mo ago6 watchersCompare

[ Source](https://github.com/roelvanhintum/craft-assetusage)[ Packagist](https://packagist.org/packages/roelvanhintum/craft-assetusage)[ RSS](/packages/roelvanhintum-craft-assetusage/feed)WikiDiscussions craft5 Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (31)Used By (0)

Craft Asset Usage plugin
========================

[](#craft-asset-usage-plugin)

Adds a column to the assets overview to see which assets are used or unused. For Craft 4.

The "Usage" field shows all relations and the "Current Usage" field shows relations excluding revisions and deleted elements.

Setup
-----

[](#setup)

- Go to `admin/assets`
- Click the "sprocket" icon
- Check the "Usage" or "Current Usage" column
- Save
- The assets table should now show a "Usage" or "Current Usage" column indicating usage

Settings
--------

[](#settings)

The setting values can be overridden from a PHP file within your project’s `config/` folder, named `assetusage.php`.

The file just needs to return an array with the overridden values:

```
