PHPackages                             soukicz/llm-aws-bedrock - 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. soukicz/llm-aws-bedrock

ActiveLibrary

soukicz/llm-aws-bedrock
=======================

00PHP

Since Mar 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/soukicz/php-llm-bedrock)[ Packagist](https://packagist.org/packages/soukicz/llm-aws-bedrock)[ RSS](/packages/soukicz-llm-aws-bedrock/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Usage

[](#usage)

```
use Soukicz\Llm\Client\Anthropic\AnthropicEncoder;
use Soukicz\Llm\Cache\FileCache;
use Soukicz\Llm\Message\LLMMessage;
use Soukicz\Llm\Message\LLMMessageText;
use Soukicz\Llm\LLMConversation;
use Soukicz\Llm\LLMRequest;
use Soukicz\LlmAwsBedrock\BedrockClient;

require_once __DIR__ . '/vendor/autoload.php';

$cache = new FileCache(sys_get_temp_dir());
$encoder = new AnthropicEncoder();

$bedrock = new BedrockClient(
    $encoder,
    'eu-central-1',
    \Aws\Credentials\CredentialProvider::defaultProvider()(),
    $cache
);

$response = $bedrock->sendPrompt(new LLMRequest(
    model: BedrockClient::MODEL_ANTHROPIC_SONNET_37_20250219_v10,
    conversation: new LLMConversation([LLMMessage::createFromUser([new LLMMessageText('Hello, how are you?')])]),
));

echo $response->getLastText();
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![soukicz](https://avatars.githubusercontent.com/u/1814750?v=4)](https://github.com/soukicz "soukicz (1 commits)")

### Embed Badge

![Health badge](/badges/soukicz-llm-aws-bedrock/health.svg)

```
[![Health](https://phpackages.com/badges/soukicz-llm-aws-bedrock/health.svg)](https://phpackages.com/packages/soukicz-llm-aws-bedrock)
```

PHPackages © 2026

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