tei1988/phpspec-server-env

Override $_SERVER in running PhpSpec

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/tei1988/phpspec-server-env

dev-master 2016-08-03 07:45 UTC

This package is not auto-updated.

Last update: 2025-10-26 01:46:25 UTC


README

Replace variables in $_SERVER during running PhpSpec.

Usage

Add it to your composer.json file to install with Composer:

composer require tei1988/phpspec-server-env

Enable it in your phpspec.yml file:

extensions:
    - PhpSpec\Extension\ServerEnvExtension
server_env:
  A_KEY_YOU_WANT_TO_REPLACE: A_VALUE_YOU_WANT_TO_REPLACE