0.0.1 • Published 14 years ago
dunce v0.0.1
Dunce
Dunce is an easy to use PHP development server that will get your PHP apps running in minutes.
Install
You can install Dunce using npm or build it yourself.
npm install duncegit clone https://github.com/benmills/dunce.git
cd dunce
npm install . --dev
cake buildYou can now move bin/dunce to somewhere on your path so you can use the command line tool and move lib/index.js onto your node path as dunce.
Usage
Server all PHP files from the directory you're currently in with one command.
dunceSet the port with -p or --port.
dunce --port 4444You can also use dunce in a node project.
var Dunce = require('dunce').Dunce
Dunce.createServer(function (req, res) { }).listen(4000);0.0.1
14 years ago