PHPackages                             codeception/aerospike-module - 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. codeception/aerospike-module

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

codeception/aerospike-module
============================

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

v1.0.3(6y ago)445.1k34MITPHP

Since Dec 6Pushed 3y ago5 watchersCompare

[ Source](https://github.com/Codeception/Aerospike-module)[ Packagist](https://packagist.org/packages/codeception/aerospike-module)[ Docs](https://github.com/Codeception/Aerospike-module/releases)[ RSS](/packages/codeception-aerospike-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (4)

Aerospike Module for Codeception
================================

[](#aerospike-module-for-codeception)

Integrates [Aerospike](http://www.aerospike.com/) into Codeception tests.

Get Started
-----------

[](#get-started)

### Requirements

[](#requirements)

To use this module on your machine, you need at least:

- [Aerospike Server](http://www.aerospike.com/) &gt;= 3.5.3
- [Aerospike PHP Extension](http://www.aerospike.com/docs/client/php/install/)
- Latest [Codeception](https://github.com/Codeception/Codeception) release

### Installation

[](#installation)

Create the `composer.json` file as follows:

```
{
    "require-dev": {
        "codeception/codeception": "^2.2",
        "codeception/aerospike-module": "^1.0"
    }
}
```

Then install dependencies:

```
$ php composer.phar install
```

### Example (`unit.suite.yml`)

[](#example-unitsuiteyml)

```
modules:
    - Aerospike:
         addr: '127.0.0.1' # Aerospike host to connect
         port: 3000        # default Aerospike port
         set: 'cache'      # the Aerospike set to store data
         namespace: 'test' # the Aerospike namespace to store data
         reconnect: false  # whether the module should reconnect to the Aerospike before each test
         prefix: 'prefix_' # the key prefix
```

Then regenerate base class for unit suite

```
$ vendor/bin/codecept build
```

Usage
-----

[](#usage)

Grabs value from Aerospike by key:

```
$users_count = $I->grabValueFromAerospike('users_count');
```

Checks item in Aerospike exists and the same as expected:

```
$I->seeInAerospike('key');
$I->seeInAerospike('key', 'value');
```

Checks item in Aerospike does not exist or is the same as expected:

```
$I->dontSeeInAerospike('key');
$I->dontSeeInAerospike('key', 'value');
```

Inserts data into Aerospike database:

```
$I->haveInAerospike('users', ['name' => 'miles', 'email' => 'miles@davis.com']);
```

Changelog
---------

[](#changelog)

[Changelog](https://github.com/Codeception/Aerospike-module/releases)

License
-------

[](#license)

Aerospike Module is open-sourced software licensed under the [MIT](https://github.com/Codeception/Aerospike-module/blob/master/LICENSE.md) License.

© 2015-2022 Codeception Team and contributors

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 81.1% 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 ~120 days

Recently: every ~288 days

Total

12

Last Release

2489d ago

Major Versions

v0.1.6 → v1.0.02016-08-24

### Community

Maintainers

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

---

Top Contributors

[![sergeyklay](https://avatars.githubusercontent.com/u/1256298?v=4)](https://github.com/sergeyklay "sergeyklay (30 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (5 commits)")[![ruudboon](https://avatars.githubusercontent.com/u/7444246?v=4)](https://github.com/ruudboon "ruudboon (1 commits)")[![sergeysviridenko](https://avatars.githubusercontent.com/u/26042973?v=4)](https://github.com/sergeysviridenko "sergeysviridenko (1 commits)")

---

Tags

testingcodeceptionnosqlaerospike

### Embed Badge

![Health badge](/badges/codeception-aerospike-module/health.svg)

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

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[allure-framework/allure-codeception

Allure Codeception integration

5212.1M7](/packages/allure-framework-allure-codeception)[contributte/codeception

Integration of Nette framework to Codeception.

27886.9k1](/packages/contributte-codeception)[jayhealey/webception

Web Interface for running Codeception tests.

19110.7k](/packages/jayhealey-webception)[neronmoon/teamcity-codeception

Integrating codeception builds with codeception

14346.2k](/packages/neronmoon-teamcity-codeception)[docler-labs/codeception-slim-module

Codeception Module for Slim framework.

13178.0k1](/packages/docler-labs-codeception-slim-module)

PHPackages © 2026

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