Skip to content

Replace variables in $_SERVER during running PhpSpec.

License

Notifications You must be signed in to change notification settings

Tei1988/phpspec-server-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phpspec-server-env

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

About

Replace variables in $_SERVER during running PhpSpec.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages