kdyby/nette-php-server

Nette console commands for running application in php builtin server.

v0.3.0 2016-12-29 17:22 UTC

This package is auto-updated.

Last update: 2024-12-09 13:33:55 UTC


README

Build Status

Nette console commands for running application in php builtin server.

Requirements

Nette PHP Server requires PHP 5.6 with pcntl extension.

Installation

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

Configuration

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