Nette console commands for running application in php builtin server.
Nette PHP Server requires PHP 5.6 with pcntl extension.
The best way to install Nette PHP Server is using Composer:
$ composer require kdyby/nette-php-server
You can enable the extension using your neon config.
extensions:
console: Kdyby\Console\DI\ConsoleExtension
server: Kdyby\NettePhpServer\DI\PhpServerExtension
This extension creates new configuration section server
, but you don't need to configure
anything unless you have different document root dir than www
.
server:
documentRoot: %appDir%/../htdocs