0.5.0 • Published 5 years ago

rollup-plugin-php-server v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

rollup-plugin-php-server Build Status

Start a PHP server with Rollup using the PHP built-in server.

Install

$ npm install --save-dev rollup-plugin-php-server

Usage

import phpServer from 'rollup-plugin-php-server';

export default {
  plugins: [
    phpServer({
      port: 8000
    })
  ]
});

Use it with BrowserSync

import browserSync from 'rollup-plugin-browsersync';
import phpServer from 'rollup-plugin-php-server';

export default {
  plugins: [
    phpServer({
      port: 8000
    }),
    browserSync({
      proxy: 'localhost:8000'
    })
  ]
});

Options

Supports all the php-server options in addition to the ones below.

silent

Type: boolean Default: false

Suppress output produced by the PHP server.

Related

License

MIT © Vincent Klaiber

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago