PHPackages                             trenaldas/hush-hush - 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. trenaldas/hush-hush

ActiveLibrary

trenaldas/hush-hush
===================

AWS Secrets Manager helper package

1.4(4y ago)297MITPHPPHP &gt;=7.4

Since Oct 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/trenaldas/hush-hush)[ Packagist](https://packagist.org/packages/trenaldas/hush-hush)[ RSS](/packages/trenaldas-hush-hush/feed)WikiDiscussions master Synced yesterday

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

Hush-Hush For Laravel
=====================

[](#hush-hush-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/ca74eb9331cd5f47bc3e20d3e1e2535c3e09958922967984966789911bad83b4/68747470733a2f2f706f7365722e707567782e6f72672f7472656e616c6461732f687573682d687573682f762f737461626c65)](https://packagist.org/packages/trenaldas/hush-hush)[![Total Downloads](https://camo.githubusercontent.com/745ffd76a71e83df375428eab683767244992de6da9b253eba67bd6d33d9e1db/68747470733a2f2f706f7365722e707567782e6f72672f7472656e616c6461732f687573682d687573682f646f776e6c6f616473)](https://packagist.org/packages/trenaldas/hush-hush)[![Latest Unstable Version](https://camo.githubusercontent.com/b88e4e6bd319cc3dbc255cdc585bc3831862d6046d6d94c70e6000039ad10e71/68747470733a2f2f706f7365722e707567782e6f72672f7472656e616c6461732f687573682d687573682f762f756e737461626c65)](https://packagist.org/packages/trenaldas/hush-hush)[![License](https://camo.githubusercontent.com/00b815c6b06d6dd16a1821c0c21c33b1b4924a0bc68cfb07e39671c66d148a0a/68747470733a2f2f706f7365722e707567782e6f72672f7472656e616c6461732f687573682d687573682f6c6963656e7365)](https://packagist.org/packages/trenaldas/hush-hush)[![Monthly Downloads](https://camo.githubusercontent.com/5463c2ab21decc03204ea5c1b5c1590203ac2b6e2aa8aebd99a416c4f1b29b9f/68747470733a2f2f706f7365722e707567782e6f72672f7472656e616c6461732f687573682d687573682f642f6d6f6e74686c79)](https://packagist.org/packages/trenaldas/hush-hush)

Composer package to help with AWS Secrets Manager service secrets (hush-hushes). This package will automatically update your database credentials from AWS Secrets Manager secret.

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

[](#installation)

Use Composer to install Hush-Huhs to your Laravel project

```
composer require trenaldas/hush-hush

```

After installing Hush-Hush Composer package, use command below:

```
php artisan hush-hush:install

```

This will publish config file to `config/hush-hush.php` and will create empty `hush-hush.yml`file in your root directory.

Config File
===========

[](#config-file)

Config file has three main configs:

```
environments
exception_throw
every_request

```

'environment' config describes the environments you want your secrets to be retrieved at. It's set to have two most common environments by default: `staging` and `production`. You should amend these accordingly with your project environment names (best do it before running database and secret commands).

'exception\_throw' config is set to false by default. This will log errors in case of any failure (fore example while running composer install in the environment that does not have access to AWS SM)

'every\_request' config is set to true by default. Calls SM with every request, if set to false - checks if connection is okay, and if not, calls SM to update db credentials.

Usage
=====

[](#usage)

#### For database login details

[](#for-database-login-details)

Use command:

```
php artisan hush-hush:database

```

#### For any other secret to store

[](#for-any-other-secret-to-store)

Use command:

```
php artisan hush-hush:create-secret

```

All secrets created can be manually edited, deleted or added in `hush-hush.yml` file.

#### To get secrets anywhere in your code

[](#to-get-secrets-anywhere-in-your-code)

Use class HushHush function `uncover('localSecretName')` to get secret.

.yml file example
=================

[](#yml-file-example)

```
database:
  name: mysql
  environemts:
    local: hush-hush-secret-local
    staging: hush-hush-secret-staging
    production: hush-hush-secret-production
secrets:
  local_secret_name:
    local_name: app-secret
    environments:
      local: hush-hush-local
      staging: hush-hush-staging
      production: hush-hush-production
  local_super_secret_name:
    local_name: my-api-login
    environments:
      local: hush-hush-super-local
      staging: hush-hush-super-staging
      production: hush-hush-super-production
```

Authors
-------

[](#authors)

- **Renaldas Tauras** - [trenaldas](https://github.com/trenaldas)

```
  _   _           _           _   _           _
 | | | |_   _ ___| |__       | | | |_   _ ___| |__
 | |_| | | | / __| '_ \ _____| |_| | | | / __| '_ \
 |  _  | |_| \__ \ | | |_____|  _  | |_| \__ \ | | |
 |_| |_|\__,_|___/_| |_|     |_| |_|\__,_|___/_| |_|

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

3

Last Release

1630d ago

### Community

Maintainers

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

---

Top Contributors

[![trenaldas](https://avatars.githubusercontent.com/u/43147369?v=4)](https://github.com/trenaldas "trenaldas (1 commits)")

---

Tags

laravelawsmanagersecretsaws-sdkhush-hush

### Embed Badge

![Health badge](/badges/trenaldas-hush-hush/health.svg)

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

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)[sunaoka/laravel-ses-template-driver

Amazon SES template mail driver for Laravel.

1088.0k](/packages/sunaoka-laravel-ses-template-driver)

PHPackages © 2026

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