PHPackages                             kooba/craft-content-audit - 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. kooba/craft-content-audit

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

kooba/craft-content-audit
=========================

Content audit tools for Craft CMS — detect orphaned assets, broken entry references, duplicate slugs, and more.

1.0.1(1mo ago)01proprietary

Since Jun 23Compare

[ Source](https://github.com/ignacioisas9/craft-content-audit)[ Packagist](https://packagist.org/packages/kooba/craft-content-audit)[ RSS](/packages/kooba-craft-content-audit/feed)WikiDiscussions Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

Content Audit for Craft CMS
===========================

[](#content-audit-for-craft-cms)

Audit your Craft CMS 5 content for common issues. Currently detects:

- **Orphaned Assets** — files uploaded to a volume that aren't referenced by any entry
- **Missing Alt Text** — images that have no alt text set
- **Large Assets** — files over 2 MB (warning) or 5 MB (critical); threshold configurable via `config/content-audit.php`
- **Broken References** — entries whose relational fields point to disabled or deleted elements

Results are stored in the database and persist between page loads. Each issue links directly to the offending element in the Control Panel.

---

Installation
------------

[](#installation)

### Via Composer (local dev)

[](#via-composer-local-dev)

1. Clone this repo alongside your Craft project.
2. In your Craft project's `composer.json`, add the repository and require the plugin:

```
{
    "repositories": [
        {
            "type": "path",
            "url": "../craft-content-audit"
        }
    ],
    "require": {
        "iistudio/craft-content-audit": "*"
    }
}
```

3. Run:

```
composer update iistudio/craft-content-audit
php craft plugin/install content-audit
```

4. The **Content Audit** item will appear in your CP sidebar.

### Via Plugin Store (once published)

[](#via-plugin-store-once-published)

Search for "Content Audit" in the Craft Plugin Store and click Install.

---

Usage
-----

[](#usage)

1. Go to **Content Audit** in the Control Panel sidebar.
2. Click **Run Audit**.
3. Review the results table. Each issue links directly to the offending element so you can fix or delete it.

---

Extending
---------

[](#extending)

Adding a new auditor is straightforward:

1. Create a class in `src/auditors/` implementing `AuditorInterface`:

```
class MyNewAuditor implements AuditorInterface
{
    public function handle(): string { return 'my-check'; }
    public function label(): string  { return 'My Check'; }
    public function run(): array     { /* return AuditIssue[] */ }
}
```

2. Register it in `AuditService::init()`:

```
$this->auditors = [
    new OrphanedAssetsAuditor(),
    new MyNewAuditor(),   // requireLogin();
    // ...
}
```

**Twig templates:** Never put double quotes inside a double-quoted string. If the string contains `"quotes"`, use single quotes for the outer string:

```
{# Wrong — breaks Twig parser #}
{{ "Click "Run" to start"|t('plugin') }}

{# Correct #}
{{ 'Click "Run" to start'|t('plugin') }}
```

---

Requirements
------------

[](#requirements)

- Craft CMS 5.0+
- PHP 8.2+

License
-------

[](#license)

Craft — see [LICENSE.md](LICENSE.md)

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance91

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

44d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5cdfda074e3ebf3fad90816fe95f454c0ed03fdc2822c1d04007dfedce386f0c?d=identicon)[ignacioisas9](/maintainers/ignacioisas9)

---

Tags

contentcmsAuditassetsCraftseo

### Embed Badge

![Health badge](/badges/kooba-craft-content-audit/health.svg)

```
[![Health](https://phpackages.com/badges/kooba-craft-content-audit/health.svg)](https://phpackages.com/packages/kooba-craft-content-audit)
```

###  Alternatives

[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

292960.7k36](/packages/craftcms-feed-me)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M69](/packages/nystudio107-craft-seomatic)[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k76](/packages/verbb-formie)[verbb/hyper

A user-friendly links field for Craft.

24153.5k14](/packages/verbb-hyper)[verbb/vizy

A flexible visual editor field for Craft.

4251.5k1](/packages/verbb-vizy)[vaersaagod/seomate

SEO, mate! It's important.

4443.4k3](/packages/vaersaagod-seomate)

PHPackages © 2026

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