library phpspec-server-env
Override $_SERVER in running PhpSpec
tei1988/phpspec-server-env
Override $_SERVER in running PhpSpec
- Wednesday, August 3, 2016
- by Tei1988
- Repository
- 1 Watchers
- 0 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 1 Versions
- 0 % Grown
phpspec-server-env
Replace variables in $_SERVER during running PhpSpec., (*1)
Usage
Add it to your composer.json file to install with Composer:, (*2)
``` bash
composer require tei1988/phpspec-server-env, (*3)
Enable it in your `phpspec.yml` file:
``` yaml
extensions:
- PhpSpec\Extension\ServerEnvExtension
server_env:
A_KEY_YOU_WANT_TO_REPLACE: A_VALUE_YOU_WANT_TO_REPLACE
dev-master
9999999-dev
Override $_SERVER in running PhpSpec
Sources
Download
MIT
The Requires