Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brodycj/node-php-serve
PHP Server command line for Node.js
https://github.com/brodycj/node-php-serve
Last synced: about 1 month ago
JSON representation
PHP Server command line for Node.js
- Host: GitHub
- URL: https://github.com/brodycj/node-php-serve
- Owner: brodycj
- License: isc
- Created: 2016-03-07T14:55:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-02T19:39:04.000Z (almost 5 years ago)
- Last Synced: 2024-11-13T06:54:20.613Z (about 2 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-php-serve
CLI for `node-php-server`
LICENSE: ISC or MIT
## Sample usage
```shell
php-serve --hostname localhost --port 8000 ./hellotest.php
```## Prerequisites
- Node.js
- npm
- PHP installation## Major limitations
This CLI runs `node-php-server`, which in turn runs runs a single PHP process.
This is a single-process, single-threaded server which will block during the
processing of each incoming request.## Major TODO(s)
- Test with Windows
- Automatic test suite## FUTURE
- Support multi-threading, perhaps with node-webworker-threads or JXCore
## THANKS for guidance
- https://developer.atlassian.com/blog/2015/11/scripting-with-node/
- http://stackoverflow.com/questions/10396305/npm-package-bin-script-for-windows
- http://shapeshed.com/writing-cross-platform-node/
- https://leanpub.com/npm/read