Skip to content

brodycj/node-php-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-php-serve

CLI for node-php-server

LICENSE: ISC or MIT

Sample usage

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

About

PHP Server command line for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published