PHP code example of codeception / aerospike-module

1. Go to this page and download the library: Download codeception/aerospike-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

codeception / aerospike-module example snippets


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

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

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

$I->haveInAerospike('users', ['name' => 'miles', 'email' => '[email protected]']);
sh
$ php composer.phar install