PHPackages                             codingmonkeys/secrets-manager - 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. codingmonkeys/secrets-manager

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

codingmonkeys/secrets-manager
=============================

A Laravel package for fetching secrets from AWS Secrets Manager

0.0.6(2y ago)017MITPHPPHP ^8.1

Since Aug 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/coding-monkeys-bv/secrets-manager)[ Packagist](https://packagist.org/packages/codingmonkeys/secrets-manager)[ RSS](/packages/codingmonkeys-secrets-manager/feed)WikiDiscussions main Synced yesterday

READMEChangelog (5)Dependencies (4)Versions (7)Used By (0)

Laravel AWS Secrets Manager
===========================

[](#laravel-aws-secrets-manager)

This package allows you to fetch your secrets from AWS Secrets Manager.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require codingmonkeys/secrets-manager
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

The secrets manager package uses the following environment variables:

```
DB_CONNECTION=mysql
AWS_DEFAULT_REGION=eu-central-1
SECRETS_MANAGER_ROLE=arn:aws:iam::123456789012:role/role-name
SECRETS_MANAGER_ROLE_SESSION_NAME=role-session-name
SECRETS_MANAGER_AWS_ACCOUNT_ID=123456789012
SECRETS_MANAGER_ENVIRONMENT=dev
SECRETS_MANAGER_CACHE_TIMEOUT=60
```

Please note: SECRETS\_MANAGER\_CACHE\_TIMEOUT is the number of minutes the secrets are cached.

### Implementation

[](#implementation)

In AppServiceProvider, paste this line in the boot method:

```
$secretsManager = app('secrets-manager')->getSecrets();
$secrets = $secretsManager->secrets;
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

6

Last Release

1023d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd90b62171fc6768affb56df3195dea392aa5ea886082a6b0d1a8478f05d091e?d=identicon)[voicecode](/maintainers/voicecode)

---

Top Contributors

[![voicecode-bv](https://avatars.githubusercontent.com/u/4598259?v=4)](https://github.com/voicecode-bv "voicecode-bv (10 commits)")

---

Tags

secrets-managercodingmonkeys

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/codingmonkeys-secrets-manager/health.svg)

```
[![Health](https://phpackages.com/badges/codingmonkeys-secrets-manager/health.svg)](https://phpackages.com/packages/codingmonkeys-secrets-manager)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)

PHPackages © 2026

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