PHPackages                             roots/wp-blade-check - 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. roots/wp-blade-check

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

roots/wp-blade-check
====================

Simple Composer package that checks and displays an admin notice if your uncompiled Blade templates are publicly accessible.

v1.0.0(7y ago)161.0k—0%[1 issues](https://github.com/roots/wp-blade-check/issues)MITPHPPHP &gt;=7.1

Since Mar 26Pushed 7y ago5 watchersCompare

[ Source](https://github.com/roots/wp-blade-check)[ Packagist](https://packagist.org/packages/roots/wp-blade-check)[ Docs](https://github.com/roots/wp-blade-check)[ RSS](/packages/roots-wp-blade-check/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

WP Blade Check
==============

[](#wp-blade-check)

[![Packagist](https://camo.githubusercontent.com/1eac2425649516577eb7de764b28697966a8f28f5b608453965181cc390e1663/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f77702d626c6164652d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/wp-blade-check)[![Packagist Downloads](https://camo.githubusercontent.com/b04e57947ec39dfadc97c75b3fba96f4ca27dcd655b7b25230cc3de26ce111ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6f74732f77702d626c6164652d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/wp-blade-check)

WP Blade Check is a simple Composer package that checks and displays an admin notice if your uncompiled Blade templates are publicly accessible. This is a sign of an improperly configured webserver, and for the privacy of your codebase, should be [handled accordingly](https://roots.io/sage/docs/theme-installation/). If you are using [Trellis](https://roots.io/trellis/) and/or Kinsta, this is already done for you.

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

[](#installation)

Install via Composer:

```
$ composer require roots/wp-blade-check
```

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

[](#configuration)

No configuration is needed, but you can pass a few optional settings through the `roots.blade.check` filter such as permanently hiding the notice or adding more file extensions to check against such as `.twig`.

```
add_filter('roots.blade.check', function () {
    return [
        'hide'       => false, // Setting to true will permanently hide the notice.
        'duration'   => 60 * 60 * 24, // Duration between checking against the extensions.
        'extensions' => ['blade.php', 'twig'] // An array or string containing the extensions to check against.
    ];
});
```

Contributing
------------

[](#contributing)

Contributions are welcome from everyone. We have [contributing guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) to help you get started.

Community
---------

[](#community)

Keep track of development and community news.

- Participate on the [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Read and subscribe to the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)
- Listen to the [Roots Radio podcast](https://roots.io/podcast/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2601d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/1ab26aec6b8f0812974172b493176399142f03701c0578a40a0636fc9851bfdc?d=identicon)[QWp6t](/maintainers/QWp6t)

![](https://avatars.githubusercontent.com/u/5745907?v=4)[Brandon](/maintainers/Log1x)[@Log1x](https://github.com/Log1x)

---

Top Contributors

[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (1 commits)")

---

Tags

bladesagewordpresssecuritybladerootssage

### Embed Badge

![Health badge](/badges/roots-wp-blade-check/health.svg)

```
[![Health](https://phpackages.com/badges/roots-wp-blade-check/health.svg)](https://phpackages.com/packages/roots-wp-blade-check)
```

###  Alternatives

[log1x/sage-directives

A set of Blade directives for use with Roots Sage.

297709.3k5](/packages/log1x-sage-directives)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[log1x/blade-svg-sage

Composer package to add support for Blade SVG by Adam Wathan to Roots Sage.

7577.3k](/packages/log1x-blade-svg-sage)[log1x/sage-html-forms

Create forms using HTMLForms.io and Sage 10 Blade components

5636.1k](/packages/log1x-sage-html-forms)[hexbit/sage-woocommerce

Woocommerce support for sage 10

257.0k](/packages/hexbit-sage-woocommerce)[fiskhandlarn/blade

A library for using Laravel Blade templates in WordPress/WordPlate.

365.8k](/packages/fiskhandlarn-blade)

PHPackages © 2026

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