PHPackages                             customergauge/aurora - 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. customergauge/aurora

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

customergauge/aurora
====================

Aurora Connector for Laravel with READ COMMITTED &amp; AWS Secret Manager

2.0.2(1y ago)818.2k↓20.7%3MITPHPPHP &gt;=8.0

Since Dec 22Pushed 1y ago9 watchersCompare

[ Source](https://github.com/cgauge/laravel-aurora-connector)[ Packagist](https://packagist.org/packages/customergauge/aurora)[ RSS](/packages/customergauge-aurora/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (14)Used By (0)

Laravel Aurora Connector 📮
==========================

[](#laravel-aurora-connector-)

This library creates a new database driver for Laravel dedicated to connect to Aurora. It gives us an opportunity to properly configure the READ COMMITTED isolation as well as load the database password from AWS Secrets.

Installation
============

[](#installation)

```
composer require customergauge/aurora
```

Usage
=====

[](#usage)

In the `config/database.php`, we define a connection using the `aurora` driver

```
'tenant' => [
    'driver' => 'aurora',
    'host' => env('DB_HOST'),
    'port' => env('DB_PORT),
    'database' => env('DB_DATABASE'),
    'username' => env('DB_USERNAME'),
    'charset' => 'utf8mb4',
    'collation' => 'utf8mb4_unicode_ci',
    'prefix' => '',
    'prefix_indexes' => true,
    'strict' => false,
    'engine' => null,
    'options' => [],
    'aurora' => [
        'secret' => env('AWS_SECRET_NAME'),
    ],
],
```

You also need set a region inside `config/aws.php` to be able register AWS Secret Manger Client, this configuration is necessary to set fallback if for some reason the extension or container is not working.

```
return [
    'region' => env('AWS_REGION'),
    ...
];
```

The new 'aurora' key will allow the confiugration for the AWS Secret manager.

### Isolation Levels

[](#isolation-levels)

By default we allow Aurora to use read committed from the read replica to reduce history length maintained by the writer replica. If you want to turn it off, go in the `database.php`, inside the connection that you want and add

```
        'tenant' => [
            'driver' => 'aurora',
            'isolation_level' => 'off'
            ...
        ],
```

Click to know more about [Isolations Levels](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.IsolationLevels)

### AWS Lambda Extension

[](#aws-lambda-extension)

This library performs better together with a cache server, more info:

Contributing
------------

[](#contributing)

Contributions are always welcome, please have a look at our issues to see if there's something you could help with.

License
-------

[](#license)

Laravel Aurora Connector is licensed under MIT license.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance42

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~94 days

Recently: every ~273 days

Total

13

Last Release

479d ago

Major Versions

1.6.0 → 2.0.02025-01-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/0325707319c1497846deddeb429fef8d7510c299c2e764d7e5a05b198fcb4d28?d=identicon)[Deleu](/maintainers/Deleu)

![](https://avatars.githubusercontent.com/u/219340?v=4)[Abe](/maintainers/abdala)[@abdala](https://github.com/abdala)

![](https://avatars.githubusercontent.com/u/2944692?v=4)[Denis Alustau](/maintainers/Alustau)[@alustau](https://github.com/alustau)

---

Top Contributors

[![abdala](https://avatars.githubusercontent.com/u/219340?v=4)](https://github.com/abdala "abdala (14 commits)")[![deleugpn](https://avatars.githubusercontent.com/u/9533181?v=4)](https://github.com/deleugpn "deleugpn (13 commits)")[![alustau](https://avatars.githubusercontent.com/u/2944692?v=4)](https://github.com/alustau "alustau (8 commits)")[![fantazista](https://avatars.githubusercontent.com/u/2095755?v=4)](https://github.com/fantazista "fantazista (3 commits)")

---

Tags

awsdatabasedriverlambdalaravelmysqlsecrets-managerlaravelpasswordmysqlconnectorsecretaurorarotation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/customergauge-aurora/health.svg)

```
[![Health](https://phpackages.com/badges/customergauge-aurora/health.svg)](https://phpackages.com/packages/customergauge-aurora)
```

###  Alternatives

[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k25.2M34](/packages/kirschbaum-development-eloquent-power-joins)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[guanguans/laravel-dump-sql

laravel 中轻松容易的输出完整的 SQL 语句。 - Easy output of complete SQL statements for laravel framework.

3635.6k](/packages/guanguans-laravel-dump-sql)[ntanduy/cloudflare-d1-database

Easy configuration and setup for D1 Database connections in Laravel.

215.4k](/packages/ntanduy-cloudflare-d1-database)[rodrigopedra/laravel-query-logger

Laravel query logger

1211.8k](/packages/rodrigopedra-laravel-query-logger)

PHPackages © 2026

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