PHPackages                             behat/yii-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. [Framework](/categories/framework)
4. /
5. behat/yii-extension

AbandonedArchivedBehat-extension[Framework](/categories/framework)

behat/yii-extension
===================

Yii framework extension for Behat

v1.1.0(12y ago)2835.5k7MITPHPPHP &gt;=5.3.2

Since Feb 25Pushed 1y ago12 watchersCompare

[ Source](https://github.com/Behat/YiiExtension)[ Packagist](https://packagist.org/packages/behat/yii-extension)[ Docs](http://behat.org)[ RSS](/packages/behat-yii-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

YiiExtension
============

[](#yiiextension)

This package is abandoned
-------------------------

[](#this-package-is-abandoned)

This package (which was never updated for Behat v3.x) is now abandoned and will not receive further updates. There is an in-progress PR at [\#13](https://github.com/Behat/YiiExtension/pull/13) which may be useful should anyone wish to fork to a community extension.

---

Provides integration layer for the [Yii framework](http://www.yiiframework.com/):

- Additional services for Behat (`Yii`, `Sessions`, `Drivers`)
- `Behat\MinkExtension\Context\YiiAwareInterface` which provides `CWebApplication`instance for your contexts or subcontexts
- Additional `wunit` session (sets as default) for Mink (if MinkExtension is installed) for functional testing without Selenium through [wunit](http://www.yiiframework.com/extension/wunit)

between Behat 2.5+ and Yii.

Behat configuration
-------------------

[](#behat-configuration)

```
default:
  extensions:
    Behat\MinkExtension\Extension:
      default_session: wunit

    Behat\YiiExtension\Extension:
      framework_script: ../../framework/yii.php
      config_script: ../config/test.php
      mink_driver: true
```

Installation
------------

[](#installation)

```
{
    "require-dev": {
        "behat/mink":           "~1.5",
		"behat/mink-extension": "~1.3",
		"behat/yii-extension":  "~1.0"
    }
}
```

```
$ composer update 'behat/mink' 'behat/mink-extension' 'behat/yii-extension'
```

Copyright
---------

[](#copyright)

Copyright (c) 2012 Konstantin Kudryashov (ever.zet). See LICENSE for details.

Maintainers
-----------

[](#maintainers)

- Konstantin Kudryashov [everzet](http://github.com/everzet) \[lead developer\]
- Other [awesome developers](https://github.com/Behat/YiiExtension/graphs/contributors)

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~379 days

Total

2

Last Release

4441d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/afabc43afc890656b1d04457e0a313739f481b31275ed565d69ec125d35fef3b?d=identicon)[everzet](/maintainers/everzet)

![](https://www.gravatar.com/avatar/ddce56b3ed9857e5c4a25511e5925b793a1f04bd5fb8f19f42932a0b6dba914f?d=identicon)[pamil](/maintainers/pamil)

---

Top Contributors

[![everzet](https://avatars.githubusercontent.com/u/30813?v=4)](https://github.com/everzet "everzet (13 commits)")[![patrickdreyer](https://avatars.githubusercontent.com/u/3792642?v=4)](https://github.com/patrickdreyer "patrickdreyer (12 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (3 commits)")[![acoulton](https://avatars.githubusercontent.com/u/416566?v=4)](https://github.com/acoulton "acoulton (2 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (1 commits)")

---

Tags

frameworkwebBDD

### Embed Badge

![Health badge](/badges/behat-yii-extension/health.svg)

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

###  Alternatives

[hprose/hprose

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

2.1k215.3k37](/packages/hprose-hprose)[silverstripe/behat-extension

SilverStripe framework extension for Behat

32564.2k5](/packages/silverstripe-behat-extension)[hprose/hprose-yii

Hprose Server for Yii 2

357.1k](/packages/hprose-hprose-yii)

PHPackages © 2026

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