NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4538 most downloaded on Packagist
A DynamoDB based Eloquent model and Query builder for Laravel.
Latest stable
v1.4.0
Last release 1 years ago
08 Jun 2025
Release timing varies
gaps range from 2 weeks to 1.2 years
Most releases are documented
notes for 14 of 16 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
16 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
- Support Laravel 12.x - Support PHP 8.4
Support Laravel 11.x Support PHP 8.3
The traditional method will continue to be supported in v1.x. However, it might become deprecated in v2.x.
LastEvaluatedKey more simply and reliably. #40 (Thanks @raphaelcangucu !)We can now use the collection's method to retrieve the LastEvaluatedKey without having to reference the metadata for each model. This update makes it easy to obtain the LastEvaluatedKey, even when the items included in the response are empty.
$products = ProductCatalog::limit(5)->scan();
// can do this
$products->getLastEvaluatedKey();
// instead of
$products->first()->meta()['LastEvaluatedKey'];
The traditional method will continue to be supported in v1.x. However, it might become deprecated in v2.x.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed the issue where an exception occurs when the value of PK or SK is 0. (Thanks @adalbertoadrian !)
Support Laravel 10.x (Thanks @negoziator !)
Usage is documented here. It can be used via Model as well.
Fix return types #24 (Thanks @madrussa !)
Add a protocol by default on config endpoint #23 (Thanks @lucasgiovanny !)
Support Laravel 9.x (Thanks @andreagroferreira !)
Since I've been using this package in a few production apps for several months, I think it's time to call it v1.0.0. However, there are no major changes. It's fully backward compatible. Please feel free to submit any questions, feature requests, and PRs.
Support Model::create() method (Thanks @marvinosswald !)
I'm already using this package in a few production apps, so I think it's time to tag it as 1.0 shortly. (maybe when we support Laravel 9)
Nothing published for this version
Align config options format with Laravel's cache driver #11 (this is backward compatible, thanks @paulhenri-l !)
Support Atomic Counter #10 (thanks @mehedimi !)
- Support Laravel 8.x - Support PHP 8.0 - Drop support for PHP 7.2
The purpose of this change is to make AuthUserProvider more testable and support api_token authentication.
The purpose of this change is to make AuthUserProvider more testable and support api_token authentication.
Change the registration method.
use Kitar\Dynamodb\Model\AuthUserProvider;
...
public function boot()
{
$this->registerPolicies();
Auth::provider('dynamodb', function ($app, array $config) {
return new AuthUserProvider(new $config['model']);
});
}
use Kitar\Dynamodb\Model\AuthUserProvider;
...
public function boot()
{
$this->registerPolicies();
Auth::provider('dynamodb', function ($app, array $config) {
return new AuthUserProvider(
$app['hash'],
$config['model'],
$config['api_token_name'] ?? null,
$config['api_token_index'] ?? null
);
});
}
Optionally, add api_token_name and api_token_index if you use this package with api_token authentication.
'providers' => [
'users' => [
'driver' => 'dynamodb',
'model' => App\User::class
],
],
'providers' => [
'users' => [
'driver' => 'dynamodb',
'model' => App\User::class,
'api_token_name' => 'api_token',
'api_token_index' => 'api_token-index'
],
],
Nothing published for this version
One column per quarter.