PHPackages                             visavi/codeception-phpixie - 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. visavi/codeception-phpixie

ActiveLibrary[Testing &amp; Quality](/categories/testing)

visavi/codeception-phpixie
==========================

Phpixie module for Codeception

v1.2.0(7y ago)017MITPHPPHP &gt;=7.1.0

Since Oct 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/visavi/codeception-phpixie)[ Packagist](https://packagist.org/packages/visavi/codeception-phpixie)[ RSS](/packages/visavi-codeception-phpixie/feed)WikiDiscussions master Synced 2d ago

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

Codeception PHPixie module
==========================

[](#codeception-phpixie-module)

### Installation

[](#installation)

You can install this package through composer:

```
composer require visavi/codeception-phpixie

```

### Settings

[](#settings)

Include the phpixie module in the `tests/functional.suite` file

```
actor: FunctionalTester
modules:
    enabled:
        - Phpixie:
            url: 'http://localhost'
        - \Helper\Functional
```

In acceptance tests, you can use methods to work with a database of functional tests.

To do this, you must enable the module in the `tests/acceptance.suite` file

```
actor: AcceptanceTester
modules:
    enabled:
        - PhpBrowser:
            url: http://localhost
        - Phpixie:
            part: ORM
        - \Helper\Acceptance
```

After that 7 methods will be available to work with the database.

### Methods for working with the DB

[](#methods-for-working-with-the-db)

All methods work in a transaction, which means that after the tests are completed, the database will be in its original form

##### Inserts record into the database

[](#inserts-record-into-the-database)

```
$user = $I->haveRecord('user', ['name' => 'phpixie']);
```

##### Checks that record exists in database.

[](#checks-that-record-exists-in-database)

```
$I->seeRecord('user', ['name' => 'phpixie']);
```

##### Checks that record does not exist in database.

[](#checks-that-record-does-not-exist-in-database)

```
$I->dontSeeRecord('user', ['name' => 'trixie']);
```

##### Retrieves record from database.

[](#retrieves-record-from-database)

```
$record = $I->grabRecord('user', ['name' => 'phpixie']);
```

##### Removes a record from the database.

[](#removes-a-record-from-the-database)

```
$I->deleteRecord('user', ['id' => $user->id]);
```

Transaction control methods do not look at the global transaction enable settings, if you have transactions enabled by default, you can turn them off for each method

Conversely, if transactions are globally disabled (cleanup: false), then methods can force transactions to be enabled.

```
$I->startTransaction();
```

```
$I->stopTransaction();
```

### Call methods

[](#call-methods)

Calling methods for functional and acceptance tests:

```
$I->methodName();

```

Calling methods for unit tests:

```
$this->tester->methodName();

```

### Example

[](#example)

```
$data = [
    'login'    => 'phpixie',
    'password' => 'password',
    'name'     => 'trixie',
];

$entity = $I->haveRecord('user', $data);

$I->seeRecord('user', ['id' => $entity->id]);

$I->wantTo('Test user page');
$I->amOnPage('/user/' . $entity->login);
$I->seeResponseCodeIs(\Codeception\Util\HttpCode::OK);
$I->seeInSource('trixie');
```

### License

[](#license)

The class is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~6 days

Total

3

Last Release

2810d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/826831?v=4)[Alexander Grigorev](/maintainers/visavi)[@visavi](https://github.com/visavi)

---

Top Contributors

[![visavi](https://avatars.githubusercontent.com/u/826831?v=4)](https://github.com/visavi "visavi (21 commits)")

---

Tags

codeceptionphpixie

### Embed Badge

![Health badge](/badges/visavi-codeception-phpixie/health.svg)

```
[![Health](https://phpackages.com/badges/visavi-codeception-phpixie/health.svg)](https://phpackages.com/packages/visavi-codeception-phpixie)
```

###  Alternatives

[lucatume/wp-browser

A set of Codeception modules to test WordPress projects.

6424.1M177](/packages/lucatume-wp-browser)[codeception/module-asserts

Codeception module containing various assertions

8654.0M1.5k](/packages/codeception-module-asserts)[codeception/lib-innerbrowser

Parent library for all Codeception framework modules and PhpBrowser

8743.5M88](/packages/codeception-lib-innerbrowser)[allure-framework/allure-codeception

Allure Codeception integration

5212.7M9](/packages/allure-framework-allure-codeception)[codeception/module-symfony

Codeception module for Symfony framework

9610.1M141](/packages/codeception-module-symfony)[codeception/module-webdriver

WebDriver module for Codeception

3933.4M319](/packages/codeception-module-webdriver)

PHPackages © 2026

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