Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature/php-webserver'
Browse files Browse the repository at this point in the history
Close #41
  • Loading branch information
weierophinney committed Dec 9, 2015
2 parents 6f1e562 + 2e26c05 commit ac2c12c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Fourth release candidate.
subdirectories of each under those, and updating the `composer.json`
autoloading directives accordingly. This change will allow new projects to
implement a "modular" structure if desired, with a subdirectory per namespace.
- [#41](https://github.com/zendframework/zend-expressive-skeleton/pull/41) adds
the composer script "serve", which fires up the built-in PHP webserver on port
8080; invoke using `composer serve`.

### Deprecated

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ After choosing and installing the packages you want, go to the
`<project-path>` and start PHP's built-in web server to verify installation:
```bash
$ php -S 0.0.0.0:8000 -t public/
$ composer serve
```
You can then browse to http://localhost:8080.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
],
"cs": "phpcs",
"cs-fix": "phpcbf",
"serve": "php -S 0.0.0.0:8080 -t public/",
"test": "phpunit"
}
}

0 comments on commit ac2c12c

Please sign in to comment.