PHPackages                             purple-php/provider-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. purple-php/provider-bedrock

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

purple-php/provider-bedrock
===========================

Optional AWS Bedrock provider adapter for Purple PHP.

v0.1.0(1mo ago)02↓90%MITPHPPHP ^8.2

Since Jun 5Pushed 1mo agoCompare

[ Source](https://github.com/LynnColeArt/purple-php-provider-bedrock)[ Packagist](https://packagist.org/packages/purple-php/provider-bedrock)[ RSS](/packages/purple-php-provider-bedrock/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Purple PHP Bedrock Provider
===========================

[](#purple-php-bedrock-provider)

Optional AWS Bedrock provider adapter for Purple PHP.

This package is the opt-in home for Bedrock-specific provider behavior. The core `purple-php/sdk` package keeps the provider contracts, policy, audit, schema, and `Sdk::fromProvider()` composition surface. Installing the core SDK alone does not require this package, AWS credentials, AWS SDK dependencies, live network calls, sidecar services, or native extensions.

Release Status
--------------

[](#release-status)

`purple-php/provider-bedrock` is published on Packagist from the standalone GitHub release repository at `https://github.com/LynnColeArt/purple-php-provider-bedrock`.

The first release line is `0.1.x`, beginning with `0.1.0`.

Package consumers should install the provider explicitly:

```
composer require purple-php/provider-bedrock:^0.1
```

Applications should construct a Bedrock-backed SDK through the package helper:

```
use Purple\Provider\Bedrock\BedrockSdk;

$sdk = BedrockSdk::create(
    accessKey: $_ENV['AWS_ACCESS_KEY_ID'],
    secretKey: $_ENV['AWS_SECRET_ACCESS_KEY'],
    region: 'us-east-1',
    model: 'anthropic.claude-3-haiku-20240307-v1:0',
);
```

The root SDK no longer exposes `Sdk::bedrock()`. Core applications that do not install this package should compose providers through `Purple\Sdk::fromProvider()`.

Local Validation
----------------

[](#local-validation)

During local monorepo development this package resolves `purple-php/sdk` through a Composer path repository pointing at the repository root.

```
composer validate --working-dir=packages/provider-bedrock --strict
composer install --working-dir=packages/provider-bedrock
composer check --working-dir=packages/provider-bedrock
```

Default package tests use injectable transports and fixtures. They must not require AWS credentials, live Bedrock calls, AWS SDK dependencies, sidecar services, or native extensions.

Real AWS signing, credential discovery, and live Bedrock integration tests are future opt-in work. They must stay outside the default Composer validation path unless a later release mission explicitly designs that surface.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

50d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f4b938e8de120aff57449b61308f89d6662c4a94e74f79910fd23756afca881?d=identicon)[LynnColeArt](/maintainers/LynnColeArt)

---

Top Contributors

[![LynnColeArt](https://avatars.githubusercontent.com/u/131792457?v=4)](https://github.com/LynnColeArt "LynnColeArt (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/purple-php-provider-bedrock/health.svg)

```
[![Health](https://phpackages.com/badges/purple-php-provider-bedrock/health.svg)](https://phpackages.com/packages/purple-php-provider-bedrock)
```

PHPackages © 2026

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