# laravel-elixir-serve-5.2

> Run PHP built-in web server

Latest version **0.1.3** (published 2016-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install laravel-elixir-serve-5.2
pnpm add laravel-elixir-serve-5.2
yarn add laravel-elixir-serve-5.2
bun add laravel-elixir-serve-5.2
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2016-04-27 |
| First published | 2016-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Maique Almeida |
| Maintainers | maiquemalmeida |
| Keywords | gulp, laravel, elixir |

## Links

- npm: https://www.npmjs.com/package/laravel-elixir-serve-5.2
- Repository: https://github.com/maiquemalmeida/laravel-elixir-serve
- Issues: https://github.com/maiquemalmeida/laravel-elixir-serve/issues
- npm.io page: https://npm.io/package/laravel-elixir-serve-5.2

## Dependencies (2)

- [underscore](https://npm.io/package/underscore.md) ^1.8.2
- [gulp-connect-php](https://npm.io/package/gulp-connect-php.md) 0.0.5

## Recent versions

- 0.1.3 (latest) — 2016-04-27
- 0.1.2 — 2016-04-27
- 0.1.1 — 2016-04-27

## README

# laravel-elixir-serve

Uses the built-in server in PHP 5.4.0+.

## Install

```sh
$ npm install laravel-elixir-serve --save-dev
```

## Usage

Start built-in web server:

```javascript
var elixir = require('laravel-elixir');
require('laravel-elixir-serve');

elixir(function(mix) {
  mix.serve();
});
```

Or start it with browser-sync and custom port:

```javascript
var elixir = require('laravel-elixir');
require('laravel-elixir-serve');
require('laravel-elixir-browser-sync');

elixir(function(mix) {
  var port = 8888;

  mix.serve({
    port: port
  }).browserSync(null, {
    proxy: 'localhost:' + port
  });

});
```

Then run:

```sh
$ gulp serve
```

## Options

See [gulp-connect-php](https://github.com/micahblu/gulp-connect-php#options)

### watch

Type: `boolen`<br/>
Default: `true`

Call `watch` task.

---
_Source: https://npm.io/package/laravel-elixir-serve-5.2 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
