adamquaile/behat-php-server-extension

There is no license information available for the latest version (v0.2.0) of this package.

Extension to run PHP's built-in web server during tests

v0.2.0 2014-10-31 19:51 UTC

This package is auto-updated.

Last update: 2021-04-24 22:47:49 UTC


README

This is a proof-of-concept - use with caution!

Extension to run PHP's built-in web server during tests

Installation

Require package adamquaile/behat-php-server-extension via composer:

composer require --dev "adamquaile/behat-php-server-extension *@dev"

Add configuration to your behat.yml (the host and router keys are optional; the default host will be localhost:8000):

default:
    extensions:
        AdamQuaile\Behat\PhpServerExtension:
            host: 0.0.0.0:8080
            docroot: ./web
            router: app/router_test.php