承接 axstrad/browser-sync-bundle 相关项目开发

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

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

axstrad/browser-sync-bundle

最新稳定版本:v1.0.1

Composer 安装命令:

composer require axstrad/browser-sync-bundle

包简介

A Symfony 2 bundle for use with Browser-Sync.io

关键字:

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

AxstradBrowserSyncBundle

NAMESPACE: Axstrad\Bundle\BrowserSyncBundle

Introduction

For use with Browser Sync.

This bundle will inject the Browser Sync markup into every non-AJAX HTML response sent from your app. By default, this will occour when your app is in debug mode.

Installation

Install the bundle using composer.

$ composer require --dev axstrad-browser-sync-bundle

Add the bundle to your kernel.

// app/AppKernel.php

if ($this->getEnvironment() == 'dev') {
    $bundles[] = new Axstrad\Bundle\BrowserSyncBundle\AxstradBrowserSyncBundle();
}

That's it! The browser sync markup will be inected into all HTML requests so long as your app is in debug mode.

Configuration Reference

Full config with default values:

axstrad_browser_sync:
    enabled: %kernel.debug%
    server_port: 3000
    client_version: null

enabled (Boolean): Enable (true) or disable (false) the bundle. If null the value of the kernel's debug parameter is inherited.

server_port (Integer): Set the server port to use within the Browser Sync markup.

client_version (String): Your installed version of Browser Sync, you may leave this blank.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-10