定制 becklyn/hosting 二次开发

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

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

becklyn/hosting

最新稳定版本:3.4.2

Composer 安装命令:

composer require becklyn/hosting

包简介

A symfony bundle that configures several hosting-related things.

README 文档

README

Coverage Status

Eases the integration with several hosting-related topics.

Config

  • tier (required): the tier the app is currently deployed to. Normally something like "production", "staging" or "development".
  • project (required): the clear text name of the project
  • installation (required): the key of this installation (used for tokens and uptime monitoring)
    • Should be unique per installation.
    • Should be a technical key (only a-z 0-9 -_).
  • trackjs: the token for the integration with TrackJS.

Getting the Hosting Config

Just fetch the Becklyn\Hosting\Config\HostingConfig service and you have access to the hosting configuration.

Features

  • The bundle automatically adds a <!-- uptime monitor: $project_name --> comment to all HTML responses. Use this for integration into uptime monitors.

  • If you set a trackjs token, you can include the monitoring JS:

    {% block javascripts %}
        {{- hosting_embed_monitoring() -}}
    
        {# .. your other JS imports #}
    {% endblock %}

Assets Bundle Integration

This bundle registers a @hosting namespace in the becklyn assets bundle.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-12-13