PHPackages                             sunwolfengineering/laravel-secrets-vault - 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. [Security](/categories/security)
4. /
5. sunwolfengineering/laravel-secrets-vault

ActiveLibrary[Security](/categories/security)

sunwolfengineering/laravel-secrets-vault
========================================

Integrate Laravel applications with secret management systems for secure environment configuration.

v1.0.0(1y ago)1303—0%GPL-3.0-or-laterPHPPHP ^7.4|^8.0

Since Apr 9Pushed 1y agoCompare

[ Source](https://github.com/SunwolfEngineering/laravel-secrets-vault)[ Packagist](https://packagist.org/packages/sunwolfengineering/laravel-secrets-vault)[ Docs](https://github.com/sunwolfengineering/laravel-secrets-vault)[ RSS](/packages/sunwolfengineering-laravel-secrets-vault/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Laravel Secrets Vault
=====================

[](#laravel-secrets-vault)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b41b0382332593a55ac1b82a439be94982482db2a38403ded81ad65d03ab6b0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73756e776f6c66656e67696e656572696e672f6c61726176656c2d736563726574732d7661756c742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sunwolfengineering/laravel-secrets-vault)[![Total Downloads](https://camo.githubusercontent.com/377358f111a2d930fee5715cae283060e61fae177bae31589e201fefcd008d5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73756e776f6c66656e67696e656572696e672f6c61726176656c2d736563726574732d7661756c742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sunwolfengineering/laravel-secrets-vault)[![GitHub Actions](https://github.com/sunwolfengineering/laravel-secrets-vault/actions/workflows/main.yml/badge.svg)](https://github.com/sunwolfengineering/laravel-secrets-vault/actions/workflows/main.yml/badge.svg)

The Laravel Secrets Vault package provides a seamless integration between Laravel applications and secret management services, starting with support for AWS Secrets Manager. This package allows developers to securely manage application secrets, such as database passwords or API keys, outside of their version control systems, improving the security posture of their applications.

Requirements
------------

[](#requirements)

- Laravel 8.x or higher
- PHP 7.4 or higher

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

[](#installation)

You can install the package via composer:

```
composer require sunwolfengineering/laravel-secrets-vault
```

After installing, you should publish the package's configuration file to your application's config directory:

```
php artisan vendor:publish --provider="SunwolfEngineering\LaravelSecretsVault\LaravelSecretsVaultServiceProvider" --tag="config"
```

Configuring your Secrets Vault
------------------------------

[](#configuring-your-secrets-vault)

After publishing the config file, it will appear in your application's config directory as secrets-vault.php. You'll need to set the appropriate environment variables in your `.env` file to configure the AWS SDK and enable the package:

```
LARAVEL_SECRETS_VAULT_ENABLED=true
AWS_DEFAULT_REGION=your-aws-region
AWS_ACCESS_KEY_ID=your-aws-access-key-id
AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
LARAVEL_SECRETS_VAULT_TAG_NAME=stage
LARAVEL_SECRETS_VAULT_TAG_VALUE=local
```

Additionally, you can define mappings from secret keys in AWS Secrets Manager to your Laravel application's config keys within the mappings array in the secrets-vault.php config file.

Usage
-----

[](#usage)

With the package installed and configured, it automatically fetches and injects the secrets into your Laravel application's configuration based on the mappings defined in the secrets-vault.php config file. This process occurs during the application's bootstrapping phase, ensuring that your secrets are available before your application services are loaded.

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

   [![Joe Purdy](https://avatars.githubusercontent.com/u/6409227?v=4?s=100)
**Joe Purdy**](https://purdy.dev/?ref=github)
[💻](#code-joepurdy "Code") [🚧](#maintenance-joepurdy "Maintenance")  ### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The GNU GPLv3. Please see [License File](LICENSE.md) for more information.

About Sunwolf Studio
--------------------

[](#about-sunwolf-studio)

Sunwolf Studio, a Fractional SRE development studio based in Portland, offers expert services to startups navigating the dynamic landscape of product development. Specializing in Site Reliability Engineering, cybersecurity, cloud application development, and developer experience optimization, Sunwolf Studio bridges the gap between technological needs and business goals. With a deep commitment to elevating development practices and ensuring product reliability, they're ready to tackle challenges from the ground up and foster long-term growth. For more on their hands-on approach and to explore potential collaborations, visit [Sunwolf Studio](https://www.sunwolf.studio?ref=laravel-secrets-vault).

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~0 days

Total

2

Last Release

712d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/110844488a2fbc18aec19cb85144c88d65af49b070bc54c9745f76de91f89904?d=identicon)[joepurdy](/maintainers/joepurdy)

---

Top Contributors

[![joepurdy](https://avatars.githubusercontent.com/u/6409227?v=4)](https://github.com/joepurdy "joepurdy (3 commits)")[![allcontributors[bot]](https://avatars.githubusercontent.com/in/23186?v=4)](https://github.com/allcontributors[bot] "allcontributors[bot] (1 commits)")

---

Tags

laravellaravel-secrets-vault

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sunwolfengineering-laravel-secrets-vault/health.svg)

```
[![Health](https://phpackages.com/badges/sunwolfengineering-laravel-secrets-vault/health.svg)](https://phpackages.com/packages/sunwolfengineering-laravel-secrets-vault)
```

###  Alternatives

[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

1.0k453.9k2](/packages/akaunting-laravel-firewall)[msurguy/honeypot

Honeypot spam prevention

4381.2M10](/packages/msurguy-honeypot)[enlightn/laravel-security-checker

A Laravel package to scan your dependencies for known security vulnerabilities.

51171.8k](/packages/enlightn-laravel-security-checker)

PHPackages © 2026

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