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
Requires
- php: ^5.3.3|^5.4|^5.5|^5.6|^7.0
- phpspec/phpspec: ^2.0
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