Download the PHP package clinically/laravel-ai-bedrock without Composer

On this page you can find all versions of the php package clinically/laravel-ai-bedrock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-ai-bedrock

Laravel AI Bedrock Provider — DEPRECATED

This package is deprecated and no longer maintained.

AWS Bedrock support is now built into laravel/ai natively (since v0.6.3, April 2026, via PR #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

1. Update composer.json

Then composer update.

2. Update config/ai.php

The native provider uses slightly different credential keys. Rename access_keyaccess_key_id and secret_keysecret_access_key:

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

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

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)

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 (also deprecated/archived).

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

License

MIT License. See LICENSE for details.


All versions of laravel-ai-bedrock with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
laravel/ai Version ^0.3
clinically/prism-bedrock Version ^0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package clinically/laravel-ai-bedrock contains the following files

Loading the files please wait ...