New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

roots/wp-blade-check

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

Larablocks Analysis

roots/wp-blade-check works with any PHP project: the latest release (v1.0.0, Mar 26, 2019) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Mar 26, 2019)
  • 18 downloads a month (needs 10,000)
  • 16 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Mar 26, 2019.
  • No releases in the last 12 months.
  • First released: Mar 26, 2019.
  • Monthly downloads: 18, down 42% from six months ago.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require roots/wp-blade-check
Latest Version:v1.0.0
PHP:>=7.1
License:MIT
Last Updated:Mar 26, 2019
Links: GitHub  ·  Packagist
Maintainer: retlehs

WP Blade Check

Packagist Packagist Downloads

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. If you are using Trellis and/or Kinsta, this is already done for you.

Installation

Install via Composer:

$ composer require roots/wp-blade-check

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

Contributions are welcome from everyone. We have contributing guidelines to help you get started.

Community

Keep track of development and community news.

Related Packages

log1x/blade-svg-sage

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

81,495 75
log1x/sage-directives

A set of Blade directives for use with Roots Sage.

877,601 300
log1x/sage-html-forms

Create forms using HTMLForms.io and Sage 10 Blade components

55,683 57
kimhf/sage-woocommerce-support

Add Woocommerce blade template and controllers support for Sage 9 based themes.

1,160 11
roots/acorn

Framework for Roots WordPress projects built with Laravel components.

2,970,271 1,010

Version History

Version Released PHP License
v1.0.0 >=7.1 MIT