jamesrezo/webhelper 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

jamesrezo/webhelper

最新稳定版本:0.1

Composer 安装命令:

composer require jamesrezo/webhelper

包简介

A Generic Httpd Configuration Helper

README 文档

README

A Generic Httpd Configuration Helper

Build Status SensioLabsInsight Scrutinizer Code Quality Code Coverage Dependency Status Code Climate

Installation

For a global installation via Composer, run:

composer global require jamesrezo/webhelper=dev-master

Then, copy app/config/parameters.yml.dist into ~/.config/webhelper/parameters.yml

Make sure you have ~/.composer/vendor/bin/ or ~/.config/composer/vendor/bin/ in your path.

Usage

wh generate <webserver> <directive1>..<directiveN>

  • <webserver> means actually apache and an optional version (see below)
  • <directive> can be a list of any configuration directive known by the webserver (for now alias, vhost and directory)

Well, syntax is weird... There is the webserver name and optionally the webserver version, separated with a colon (:).

  • name is required, could be apache, nginx, lighttpd, openlightspeed or whatever this helper can find in its repository.
  • version is optional but useful when configuration syntax changes as the webserver evolves.
  • apache means the lowest version of Apache webserver
  • apache:2 means any 2.x version of Apache webserver
  • apache:2.2.16 means... Yes! Apache/2.2.16 precisely.
  • apache:2.4 means any 2.4.x version of Apache webserver...

This will output some text that you'll put into a httpd server configuration file.

Contributions

...are welcome, of course ;-)

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-14