{"id":28399388,"url":"https://github.com/codeception/aerospike-module","last_synced_at":"2025-06-28T19:31:45.437Z","repository":{"id":2806248,"uuid":"47497369","full_name":"Codeception/Aerospike-module","owner":"Codeception","description":"Aerospike module for Codeception","archived":false,"fork":false,"pushed_at":"2022-05-27T22:21:11.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-27T12:25:20.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Codeception.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-06T13:16:38.000Z","updated_at":"2023-11-14T06:11:22.000Z","dependencies_parsed_at":"2022-09-07T19:01:27.730Z","dependency_job_id":null,"html_url":"https://github.com/Codeception/Aerospike-module","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/Codeception/Aerospike-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FAerospike-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FAerospike-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FAerospike-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FAerospike-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codeception","download_url":"https://codeload.github.com/Codeception/Aerospike-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FAerospike-module/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262484061,"owners_count":23318386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-01T08:08:58.347Z","updated_at":"2025-06-28T19:31:45.431Z","avatar_url":"https://github.com/Codeception.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aerospike Module for Codeception\n\nIntegrates [Aerospike][1] into Codeception tests.\n\n## Get Started\n\n### Requirements\n\nTo use this module on your machine, you need at least:\n\n- [Aerospike Server][1] \u003e= 3.5.3\n- [Aerospike PHP Extension][2]\n- Latest [Codeception][3] release\n\n### Installation\n\nCreate the `composer.json` file as follows:\n\n```json\n{\n    \"require-dev\": {\n        \"codeception/codeception\": \"^2.2\",\n        \"codeception/aerospike-module\": \"^1.0\"\n    }\n}\n```\n\nThen install dependencies:\n\n```sh\n$ php composer.phar install\n```\n\n### Example (`unit.suite.yml`)\n\n```yaml\nmodules:\n    - Aerospike:\n         addr: '127.0.0.1' # Aerospike host to connect\n         port: 3000        # default Aerospike port\n         set: 'cache'      # the Aerospike set to store data\n         namespace: 'test' # the Aerospike namespace to store data\n         reconnect: false  # whether the module should reconnect to the Aerospike before each test\n         prefix: 'prefix_' # the key prefix\n```\n\nThen regenerate base class for unit suite\n\n```sh\n$ vendor/bin/codecept build\n```\n\n## Usage\n\nGrabs value from Aerospike by key:\n\n```php\n$users_count = $I-\u003egrabValueFromAerospike('users_count');\n```\n\nChecks item in Aerospike exists and the same as expected:\n```php\n$I-\u003eseeInAerospike('key');\n$I-\u003eseeInAerospike('key', 'value');\n```\n\nChecks item in Aerospike does not exist or is the same as expected:\n```php\n$I-\u003edontSeeInAerospike('key');\n$I-\u003edontSeeInAerospike('key', 'value');\n```\n\nInserts data into Aerospike database:\n```php\n$I-\u003ehaveInAerospike('users', ['name' =\u003e 'miles', 'email' =\u003e 'miles@davis.com']);\n```\n\n## Changelog\n\n[Changelog](https://github.com/Codeception/Aerospike-module/releases)\n\n## License\n\nAerospike Module is open-sourced software licensed under the [MIT][4] License.\n\n© 2015-2022 Codeception Team and contributors\n\n[1]: http://www.aerospike.com/\n[2]: http://www.aerospike.com/docs/client/php/install/\n[3]: https://github.com/Codeception/Codeception\n[4]: https://github.com/Codeception/Aerospike-module/blob/master/LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeception%2Faerospike-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeception%2Faerospike-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeception%2Faerospike-module/lists"}