PHPackages                             tallowandsons/craft-lantern - 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. tallowandsons/craft-lantern

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

tallowandsons/craft-lantern
===========================

Template usage tracker for Craft CMS

1.0.1(6mo ago)127[4 issues](https://github.com/tallowandsons/craft-lantern/issues)MITPHPPHP &gt;=8.2CI passing

Since Nov 16Pushed 6mo agoCompare

[ Source](https://github.com/tallowandsons/craft-lantern)[ Packagist](https://packagist.org/packages/tallowandsons/craft-lantern)[ Docs](https://github.com/tallowandsons/craft-lantern)[ RSS](/packages/tallowandsons-craft-lantern/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (3)Versions (7)Used By (0)

[![Banner](./docs/img/banner.png)](./docs/img/banner.png)

Lantern for Craft CMS
=====================

[](#lantern-for-craft-cms)

Lantern tracks how many times each of your templates is used and displays the data in a useful utility. This can help you make informed decisions about when to legacy templates to keep your codebase clean.

Lantern also provides an optional legacy templates folder, where you can move templates to if you're not quite ready to delete them.

🔧 Quick Start
-------------

[](#-quick-start)

### 1. Install Lantern

[](#1-install-lantern)

You can install Lantern by searching for "Lantern" in the Craft Plugin Store, or install manually using composer.

```
composer require tallowandsons/craft-lantern
```

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

[](#requirements)

This plugin supports

- Craft CMS 5.0.0 or later

Optional Configuration and commands
-----------------------------------

[](#optional-configuration-and-commands)

### Automatic flushing and scanning

[](#automatic-flushing-and-scanning)

For performance, Lantern initially stores template logging data in the cache. This needs to be periodically flushed to the database. By default Lantern will do this automatically during a web request at most every 5 minutes. If you'd rather set this via a cronjob, you can do this using the `php craft lantern/cache/flush` command.

Lantern occasionally needs to scan the @templates directory to keep its inventory up to date. By default a scan will run once per day during a web request. If you'd rather, you can also run this via the `php craft lantern/inventory/scan` command.

Credits
-------

[](#credits)

Made with care and attention by [Tallow &amp; Sons](https://github.com/tallowandsons)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance46

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Every ~4 days

Total

6

Last Release

207d ago

Major Versions

0.0.4 → 1.0.02025-12-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1457786?v=4)[Michael Westwood](/maintainers/mijewe)[@mijewe](https://github.com/mijewe)

---

Top Contributors

[![mijewe](https://avatars.githubusercontent.com/u/1457786?v=4)](https://github.com/mijewe "mijewe (35 commits)")

---

Tags

cmsCraftcraftcmscraft-plugintallowandsonslanterntemplate-usage

### Embed Badge

![Health badge](/badges/tallowandsons-craft-lantern/health.svg)

```
[![Health](https://phpackages.com/badges/tallowandsons-craft-lantern/health.svg)](https://phpackages.com/packages/tallowandsons-craft-lantern)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/navigation

Create navigation menus for your site.

92705.0k18](/packages/verbb-navigation)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/workflow

Enforce multi-step review processes for creating entries.

138124.2k1](/packages/verbb-workflow)

PHPackages © 2026

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