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(5mo ago)127[4 issues](https://github.com/tallowandsons/craft-lantern/issues)MITPHPPHP &gt;=8.2CI passing

Since Nov 16Pushed 5mo 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 1mo ago

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

33

—

LowBetter than 75% of packages

Maintenance53

Moderate activity, may be stable

Popularity11

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

151d ago

Major Versions

0.0.4 → 1.0.02025-12-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/461f20fd602df45fdcd0e1ba528cb93b0ce32cd6ebc09cbda6cb0b77ea8c595b?d=identicon)[mijewe](/maintainers/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/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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