gulp-phpWebserver

1.0.4 • Public • Published

gulp-phpWebserver

Installation

npm install gulp-phpWebserver

Basic Usage

var gulp = require('gulp');
var phpWebserver = require('gulp-phpWebserver');
 
gulp.task('phpWebserver', function () {
    gulp.src('app')
    .pipe(phpWebserver({
        port: 8848
    }));
});

Options

Key Type Default Description
config String gulp-webserver-config The configuration file
port Number 8000 port of the webserver
open Boolean/String index.php open the localhost server in the browser. By providing a String you can specify the path to open (for complete path, use the complete url http://my-server:8080/public/) .
https Boolean/Object false whether to use https or not. By default,

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    7
    • latest

Version History

Package Sidebar

Install

npm i gulp-phpWebserver

Weekly Downloads

2

Version

1.0.4

License

ISC

Unpacked Size

1.04 MB

Total Files

169

Last publish

Collaborators

  • luoxiaolan