PHPackages                             fivesqrd/jam-laravel - 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. [Database &amp; ORM](/categories/database)
4. /
5. fivesqrd/jam-laravel

ActiveLibrary[Database &amp; ORM](/categories/database)

fivesqrd/jam-laravel
====================

A Laravel 5 service provider for the AWS DynamoDB session handler.

v0.4.0(6y ago)12.9kPHPPHP &gt;=5.5.9

Since May 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fivesqrd/jam-laravel)[ Packagist](https://packagist.org/packages/fivesqrd/jam-laravel)[ RSS](/packages/fivesqrd-jam-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (11)Used By (0)

Jam for Laravel 5
-----------------

[](#jam-for-laravel-5)

A Laravel 5 service provider for the AWS DynamoDB [session handler](https://aws.amazon.com/blogs/aws/scalable-session-handling-in-php-using-amazon-dynamodb/).

NOTE: In the Laravel 5.8 [release notes](https://laravel.com/docs/5.8/releases) it was announced that DynamoDB session drivers are now baked into the framework itself. As a reault, this package should not be required for Laravel v5.8 and above.

```
composer require fivesqrd/jam-laravel

```

Configuration
-------------

[](#configuration)

.env requirements

```
SESSION_DRIVER=dynamodb
SESSION_LIFETIME=1440
SESSION_TABLE="My-Table-Name"

AWS_ACCESS_KEY_ID="my-key"
AWS_SECRET_ACCESS_KEY="my-secret"
AWS_DEFAULT_REGION="eu-west-1"
#AWS_ENDPOINT="http://localhost:8000"

```

Create DynamoDB table
---------------------

[](#create-dynamodb-table)

For production environments it's important to use the AWS Management Console to create the table. This is to ensure the correct billing and throughput settings are applied. The only requirement is that the table has a partition key of 'id'. For garbage collection you can set your TTL attribute to 'expires'

For [local DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html) servers and dev environments the following artisan command is available:

```
php artisan make:jam

```

IAM Permissions
---------------

[](#iam-permissions)

Allowing the session handler access to the table requires the following IAM permissions:

```
{
  "Version": "2012-10-17",
  "Statement": [
        {
            "Action": [
                "dynamodb:GetItem",
                "dynamodb:UpdateItem",
                "dynamodb:DeleteItem",
                "dynamodb:Scan",
                "dynamodb:BatchWriteItem"
            ],
            "Effect": "Allow",
            "Resource": "arn:aws:dynamodb:::table/"
        }
    ]
}

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~51 days

Recently: every ~115 days

Total

10

Last Release

2456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7326f7193078067ab21d775e45c06241d8cc03548c6c3191146d840f2e8277ba?d=identicon)[christianjburger](/maintainers/christianjburger)

---

Top Contributors

[![christianjburger](https://avatars.githubusercontent.com/u/43279?v=4)](https://github.com/christianjburger "christianjburger (14 commits)")

---

Tags

awsdynamodbphpsession-handlerlaravellaravel 5

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fivesqrd-jam-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/fivesqrd-jam-laravel/health.svg)](https://phpackages.com/packages/fivesqrd-jam-laravel)
```

###  Alternatives

[dannyweeks/laravel-base-repository

An abstract repository class for your Eloquent repositories that requires minimal config to get started.

202.0k](/packages/dannyweeks-laravel-base-repository)

PHPackages © 2026

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