Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesrezo/webhelper
A Generic Httpd Configuration Helper
https://github.com/jamesrezo/webhelper
Last synced: about 2 months ago
JSON representation
A Generic Httpd Configuration Helper
- Host: GitHub
- URL: https://github.com/jamesrezo/webhelper
- Owner: JamesRezo
- License: mit
- Created: 2015-03-09T16:34:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-24T09:41:49.000Z (over 8 years ago)
- Last Synced: 2024-11-15T04:04:38.503Z (2 months ago)
- Language: PHP
- Size: 164 KB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebHelper
A Generic Httpd Configuration Helper[![Build Status](https://api.travis-ci.org/JamesRezo/WebHelper.svg?branch=master)](https://travis-ci.org/JamesRezo/WebHelper)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/57e3dc27-e915-42d4-9bde-863a8f3bf5f8/mini.png)](https://insight.sensiolabs.com/projects/57e3dc27-e915-42d4-9bde-863a8f3bf5f8)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/JamesRezo/WebHelper/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/JamesRezo/WebHelper/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/JamesRezo/WebHelper/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/JamesRezo/WebHelper/?branch=master)
[![Dependency Status](https://www.versioneye.com/user/projects/57aacb57f27cc2003f24752d/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57aacb57f27cc2003f24752d)
[![Code Climate](https://codeclimate.com/github/JamesRezo/WebHelper/badges/gpa.svg)](https://codeclimate.com/github/JamesRezo/WebHelper)## 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 ..```
* `` means actually **apache** and an optional version (see below)
* `` 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 ;-)