PHP code example of launchdarkly / server-sdk-dynamodb
1. Go to this page and download the library: Download launchdarkly/server-sdk-dynamodb 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/ */
launchdarkly / server-sdk-dynamodb example snippets
$fr = LaunchDarkly\Integrations\DynamoDB::featureRequester([
"dynamodb_table" => "my-table-name"
]);
$config = [ "feature_requester" => $fr ];
$client = new LDClient("sdk_key", $config);
shell
php composer.phar install launchdarkly/server-sdk-dynamodb --save