PHPackages                             tourstream/environment-extension - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. tourstream/environment-extension

AbandonedBehat-extension[Testing &amp; Quality](/categories/testing)

tourstream/environment-extension
================================

Extension for behat, which allows to use env() as parameter

v1.0.0(8y ago)03.5k1MITPHPPHP ^7.1

Since Mar 27Pushed 8y ago3 watchersCompare

[ Source](https://github.com/tourstream/EnvironmentExtension)[ Packagist](https://packagist.org/packages/tourstream/environment-extension)[ RSS](/packages/tourstream-environment-extension/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

EnvironmentExtension [![License](https://camo.githubusercontent.com/ac345fc4b3cd09c05268d726991dac8dce77e5a71d72d6dbf26c0bed7dc42d63/68747470733a2f2f706f7365722e707567782e6f72672f746f757273747265616d2f656e7669726f6e6d656e742d657874656e73696f6e2f6c6963656e7365)](https://github.com/tourstream/EnvironmentExtension/blob/master/LICENSE) [![Version](https://camo.githubusercontent.com/1f1302d42e2d65bcb4eb533ac986cf47f89909ba6fc24815df0da65981dd1b8c/68747470733a2f2f706f7365722e707567782e6f72672f746f757273747265616d2f656e7669726f6e6d656e742d657874656e73696f6e2f762f737461626c65)](https://packagist.org/packages/tourstream/environment-extension) [![Travis-CI](https://camo.githubusercontent.com/69f502c7cedd883d463f4377ae8438c0b9e54d5c070690838365bb5341392342/68747470733a2f2f7472617669732d63692e6f72672f746f757273747265616d2f456e7669726f6e6d656e74457874656e73696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tourstream/EnvironmentExtension)
===========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#environmentextension---)

Allows to use the symfony [env parameter syntax](https://symfony.com/doc/current/configuration.html) in the behat config

Usage
-----

[](#usage)

1. Install it:

    ```
    $ composer require tourstream/environment-extension --dev
    ```
2. Enable and configure environment extension in your Behat configuration:

    ```
    # behat.yml
    default:
        # ...
        extensions:
            Tourstream\Behat\EnvironmentExtension: # the default configuration:
                env_file: '%paths.base%/.env' #default path
    ```
3. EnvironmentExtension should be the last extensions, so that all parameters are already known. Otherwise it can happen, that not all `%env()%` are resolved

Configuration reference
-----------------------

[](#configuration-reference)

- `env_file` - a dot env file, contains environment variables which should be also used, the file is not required

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2966d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/13a06e58779ddd075c5686b30fbee46b0a271b344caed18da6de2aff5b1b6ffd?d=identicon)[Engerim](/maintainers/Engerim)

---

Top Contributors

[![Engerim](https://avatars.githubusercontent.com/u/1322557?v=4)](https://github.com/Engerim "Engerim (1 commits)")

---

Tags

BDDenvironmentBehat

### Embed Badge

![Health badge](/badges/tourstream-environment-extension/health.svg)

```
[![Health](https://phpackages.com/badges/tourstream-environment-extension/health.svg)](https://phpackages.com/packages/tourstream-environment-extension)
```

###  Alternatives

[sensiolabs/behat-page-object-extension

Page object extension for Behat

1166.5M27](/packages/sensiolabs-behat-page-object-extension)[laracasts/behat-laravel-extension

Laravel extension for Behat

2611.3M12](/packages/laracasts-behat-laravel-extension)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[bex/behat-extension-driver-locator

Driver locator tool for behat extensions

385.2M4](/packages/bex-behat-extension-driver-locator)[ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

601.6M5](/packages/ciaranmcnulty-behat-stepthroughextension)[soyuka/contexts

Behatch contexts

282.1M11](/packages/soyuka-contexts)

PHPackages © 2026

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