承接 roots/wp-blade-check 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

roots/wp-blade-check

Composer 安装命令:

composer require roots/wp-blade-check

包简介

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

README 文档

README

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.

统计信息

  • 总下载量: 1.14k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固