PHPackages                             fortephp/sheath-statamic - 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. [Templating &amp; Views](/categories/templating)
4. /
5. fortephp/sheath-statamic

ActiveLibrary[Templating &amp; Views](/categories/templating)

fortephp/sheath-statamic
========================

Statamic v6 rules and source integration for the Sheath Blade linter.

v0.1.0(yesterday)23↑2900%MITPHPPHP ^8.2CI passing

Since Aug 25Pushed yesterdayCompare

[ Source](https://github.com/fortephp/sheath-statamic)[ Packagist](https://packagist.org/packages/fortephp/sheath-statamic)[ GitHub Sponsors](https://github.com/johnathonkoster)[ RSS](/packages/fortephp-sheath-statamic/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Sheath Statamic
===============

[](#sheath-statamic)

Catch broken Statamic tags and templates before they reach production.

This [Sheath](https://github.com/fortephp/sheath) plugin checks Statamic tags wherever you use them: Blade components, fluent tag calls, or `@tags` definitions. It also understands Antlers embedded in Blade, and reports problems without rendering views or running application tags.

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

[](#installation)

```
composer require --dev fortephp/sheath-statamic
```

Laravel discovers the package automatically. Add its preset to `config/sheath.php`:

```
'preset' => ['recommended', 'statamic'],
```

Run Sheath normally:

```
php artisan sheath:lint
```

You can also try the plugin without changing your config:

```
php artisan sheath:lint --preset=statamic
```

What it catches
---------------

[](#what-it-catches)

- unknown Statamic tags and methods across component, fluent, and `@tags` syntax;
- missing required parameters and paired content;
- missing partials, collections, taxonomies, forms, asset containers, and other literal project resources;
- incompatible pagination, chunking, limiting, and collection-navigation options;
- malformed `@antlers` regions and invalid Antlers expressions;
- misplaced `slot` and `no_results` tags, and malformed Statamic Blade directives;
- executable `dump`, `dd`, and `ddd` tags or modifiers left in templates.

Errors are reported in your Blade or Antlers source rather than generated compiler output, so they are easier to find and fix.

The plugin reads tags, modifiers, project resources, views, and add-ons from your Statamic application. Custom and wildcard tags work automatically. When a dynamic value cannot be checked reliably, the plugin leaves it alone instead of guessing.

Configuration
-------------

[](#configuration)

The `statamic` preset enables all 19 rules at error severity. You can adjust individual rules in `config/sheath.php`:

```
'rules' => [
    'statamic-no-debug-tags' => 'warning',
    'statamic-partial-exists' => 'off',
    'statamic-resource-exists' => 'error',
],
```

Use `php artisan sheath:lint --print-config` to see every active rule and severity. The rules do not offer automatic fixes because the right change depends on what the template should do.

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

[](#requirements)

- PHP 8.2 or newer
- Statamic 6.x
- Sheath 1.x

License
-------

[](#license)

MIT. See [LICENSE.md](LICENSE.md).

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a83ab8381df8c78dbe4acc582ab8b0c0202dfa5f59a4c837b32d78a2bafc0fe7?d=identicon)[stillat](/maintainers/stillat)

---

Top Contributors

[![JohnathonKoster](https://avatars.githubusercontent.com/u/5232890?v=4)](https://github.com/JohnathonKoster "JohnathonKoster (2 commits)")

---

Tags

laravelstatic analysisbladestatamicblade linter

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fortephp-sheath-statamic/health.svg)

```
[![Health](https://phpackages.com/badges/fortephp-sheath-statamic/health.svg)](https://phpackages.com/packages/fortephp-sheath-statamic)
```

###  Alternatives

[statamic/statamic

Statamic

832182.1k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

138236.2k8](/packages/statamic-rad-pack-runway)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[cboxdk/statamic-mcp

MCP (Model Context Protocol) server for Statamic CMS v6 — gives AI assistants structured access to content, blueprints, assets, and more.

3219.8k](/packages/cboxdk-statamic-mcp)

PHPackages © 2026

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