定制 cecil/theme-headers 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

cecil/theme-headers

最新稳定版本:1.0.1

Composer 安装命令:

composer require cecil/theme-headers

包简介

Cecil component theme Headers

README 文档

README

The Headers component theme for Cecil provides support of _headers file generation.

After installation and without any configuration, this component theme generate a _headers file containing HTTP headers created by Cecil (generated from headers' configuration).

Services that support the _headers file:

Installation

composer require cecil/theme-headers

Or download the latest archive and uncompress its content in themes/headers.

Usage

Add headers in the theme section of your site configuration:

theme:
  - headers

Add headers

server:
  headers:
    - path: <path> # Relative path, prefixed with a slash. Support "*" wildcard.
      headers:
        - key: <key>
          value: "<value>"

Documentation: https://cecil.app/documentation/configuration/#server-headers

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-16