PHPackages                             tei1988/phpspec-server-env - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tei1988/phpspec-server-env

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tei1988/phpspec-server-env
==========================

Override $\_SERVER in running PhpSpec

061PHP

Since Aug 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Tei1988/phpspec-server-env)[ Packagist](https://packagist.org/packages/tei1988/phpspec-server-env)[ RSS](/packages/tei1988-phpspec-server-env/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpspec-server-env
------------------

[](#phpspec-server-env)

Replace variables in $\_SERVER during running PhpSpec.

Usage
-----

[](#usage)

Add it to your `composer.json` file to install with [Composer](http://getcomposer.org):

```
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
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4068043?v=4)[Tei1988](/maintainers/Tei1988)[@Tei1988](https://github.com/Tei1988)

---

Top Contributors

[![Tei1988](https://avatars.githubusercontent.com/u/4068043?v=4)](https://github.com/Tei1988 "Tei1988 (7 commits)")

### Embed Badge

![Health badge](/badges/tei1988-phpspec-server-env/health.svg)

```
[![Health](https://phpackages.com/badges/tei1988-phpspec-server-env/health.svg)](https://phpackages.com/packages/tei1988-phpspec-server-env)
```

###  Alternatives

[jenssegers/agent

Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect

4.8k70.8M496](/packages/jenssegers-agent)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
