https://github.com/launchdarkly/php-server-sdk-shared-tests
Unit test code shared by LaunchDarkly PHP SDK integration projects
https://github.com/launchdarkly/php-server-sdk-shared-tests
feature-flags feature-toggles launchdarkly launchdarkly-sdk launchdarkly-sdk-component managed-by-terraform php
Last synced: 1 day ago
JSON representation
Unit test code shared by LaunchDarkly PHP SDK integration projects
- Host: GitHub
- URL: https://github.com/launchdarkly/php-server-sdk-shared-tests
- Owner: launchdarkly
- License: other
- Created: 2021-07-19T19:01:54.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2026-02-24T15:11:05.000Z (5 months ago)
- Last Synced: 2026-02-24T19:04:18.900Z (5 months ago)
- Topics: feature-flags, feature-toggles, launchdarkly, launchdarkly-sdk, launchdarkly-sdk-component, managed-by-terraform, php
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 33
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# LaunchDarkly Server-Side PHP SDK Shared Test Code
[](https://github.com/launchdarkly/php-server-sdk-shared-tests/actions/workflows/ci.yml)
This project provides support code for testing LaunchDarkly PHP SDK integrations. Feature store implementations, etc., should use this code whenever possible to ensure consistent test coverage and avoid repetition. An example of a project using this code is [php-server-sdk-redis](https://github.com/launchdarkly/php-server-sdk-redis).
The code is not published to Packagist, since it isn't of any use in any non-test context. Instead, it's meant to be used as a git repository source.
In your project that uses the shared tests, add this to `composer.json`:
```json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/launchdarkly/php-server-sdk-shared-tests"
},
],
```
And add this dependency:
```json
"launchdarkly/server-sdk-shared-tests": "dev-main"
```