PHPackages                             clinically/laravel-ai-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. clinically/laravel-ai-bedrock

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

clinically/laravel-ai-bedrock
=============================

AWS Bedrock provider for the Laravel AI SDK

v0.1.0(3mo ago)11.1k—5.5%2[4 PRs](https://github.com/clinically-au/laravel-ai-bedrock/pulls)MITPHPPHP ^8.4CI failing

Since Mar 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/clinically-au/laravel-ai-bedrock)[ Packagist](https://packagist.org/packages/clinically/laravel-ai-bedrock)[ RSS](/packages/clinically-laravel-ai-bedrock/feed)WikiDiscussions main Synced 3w ago

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

Laravel AI Bedrock Provider — DEPRECATED
========================================

[](#laravel-ai-bedrock-provider--deprecated)

> **This package is deprecated and no longer maintained.**
>
> AWS Bedrock support is now built into [`laravel/ai`](https://github.com/laravel/ai) natively (since [v0.6.3](https://github.com/laravel/ai/releases), April 2026, via [PR #270](https://github.com/laravel/ai/pull/270)). The native provider covers everything this package bridged — streaming, tool calling, embeddings (Titan + Cohere), and image generation (Nova Canvas) — built directly on the AWS SDK without a Prism dependency.
>
> **Use the native provider in `laravel/ai` ^0.6.3 (or newer) instead.** This repository is now archived.

Migration guide
---------------

[](#migration-guide)

### 1. Update `composer.json`

[](#1-update-composerjson)

```
 "require": {
-    "clinically/laravel-ai-bedrock": "^0.1",
-    "laravel/ai": "^0.3"
+    "laravel/ai": "^0.7"
 }
```

Then `composer update`.

### 2. Update `config/ai.php`

[](#2-update-configaiphp)

The native provider uses slightly different credential keys. Rename `access_key` → `access_key_id` and `secret_key` → `secret_access_key`:

```
 'providers' => [
     'bedrock' => [
         'driver' => 'bedrock',
-        'access_key' => env('AWS_ACCESS_KEY_ID'),
-        'secret_key' => env('AWS_SECRET_ACCESS_KEY'),
+        'access_key_id' => env('AWS_ACCESS_KEY_ID'),
+        'secret_access_key' => env('AWS_SECRET_ACCESS_KEY'),
         'session_token' => env('AWS_SESSION_TOKEN'),
         'region' => env('AWS_BEDROCK_REGION', env('AWS_DEFAULT_REGION', 'us-east-1')),
         'models' => [
             'text' => [
                 'default' => env('AWS_BEDROCK_TEXT_MODEL', 'us.anthropic.claude-sonnet-4-5-20250929-v1:0'),
                 'cheapest' => env('AWS_BEDROCK_CHEAPEST_MODEL', 'us.anthropic.claude-haiku-4-5-20251001-v1:0'),
                 'smartest' => env('AWS_BEDROCK_SMARTEST_MODEL', 'us.anthropic.claude-opus-4-6-v1'),
             ],
             'embeddings' => [
                 'default' => env('AWS_BEDROCK_EMBEDDINGS_MODEL', 'amazon.titan-embed-text-v2:0'),
                 'dimensions' => env('AWS_BEDROCK_EMBEDDINGS_DIMENSIONS', 1024),
             ],
             'image' => [
                 'default' => env('AWS_BEDROCK_IMAGE_MODEL', 'amazon.nova-canvas-v1:0'),
             ],
         ],
     ],
 ],
```

Note: the native provider defaults to `us.`-prefixed cross-region inference profile IDs for text models. Adjust to your preferred region/profile.

### 3. Remove the service provider registration

[](#3-remove-the-service-provider-registration)

The native provider is wired automatically by `laravel/ai`. Nothing extra to register.

### 4. Application code

[](#4-application-code)

No changes needed. `Ai::textProvider('bedrock')`, `Ai::embeddingProvider('bedrock')`, and the `#[Agent(provider: 'bedrock')]` attribute all continue to work the same way against the native provider.

Original purpose (historical)
-----------------------------

[](#original-purpose-historical)

This package existed because the official `laravel/ai` SDK did not include a Bedrock provider, and the upstream `prism-php/bedrock` package was missing streaming support. It bridged the two via [`clinically/prism-bedrock`](https://github.com/clinically-au/prism-bedrock) (also deprecated/archived).

All of these gaps are now closed in `laravel/ai` itself.

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance88

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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

96d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2ea2e401c2f1f18cafc42d8fb98305ae3575db1fb25455af1c3156d0e79f90e?d=identicon)[wojt-janowski](/maintainers/wojt-janowski)

---

Top Contributors

[![wojt-janowski](https://avatars.githubusercontent.com/u/209190810?v=4)](https://github.com/wojt-janowski "wojt-janowski (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clinically-laravel-ai-bedrock/health.svg)

```
[![Health](https://phpackages.com/badges/clinically-laravel-ai-bedrock/health.svg)](https://phpackages.com/packages/clinically-laravel-ai-bedrock)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.3k2.2k](/packages/unopim-unopim)[webcrafts-studio/lens-for-laravel

A plug-and-play accessibility auditor for Laravel.

371.4k](/packages/webcrafts-studio-lens-for-laravel)[eslam-reda-div/filament-copilot

A Filament plugin for AI-powered copilot features.

286.4k](/packages/eslam-reda-div-filament-copilot)

PHPackages © 2026

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