PHPackages                             nandi95/laravel-env-in-aws-ssm - 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. nandi95/laravel-env-in-aws-ssm

ActiveLibrary

nandi95/laravel-env-in-aws-ssm
==============================

Manage your environment variables in AWS' SSM Parameter store

0.4.0(1y ago)12.6k—7.1%2[1 PRs](https://github.com/nandi95/laravel-env-in-aws-ssm/pulls)MITPHP

Since Sep 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nandi95/laravel-env-in-aws-ssm)[ Packagist](https://packagist.org/packages/nandi95/laravel-env-in-aws-ssm)[ RSS](/packages/nandi95-laravel-env-in-aws-ssm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (11)Versions (8)Used By (0)

laravel-env-in-aws-ssm
======================

[](#laravel-env-in-aws-ssm)

> Manage your environment variables in in AWS' SSM Parameter store

Download or upload your .env files into the free [AWS's SSM](https://eu-west-2.console.aws.amazon.com/systems-manager/parameters) store. This allows you to store up to 10,000 keys over your aws account in each region. More keys are available subject to your [quota](https://docs.aws.amazon.com/general/latest/gr/ssm.html).

This provides a good companion to referencing env values in cloudformation, serverless framework or to download within runners in other forms of Continuous Deployment processes.

```
composer require nandi95/laravel-env-in-aws-ssm
```

This package provides two commands:

```
php artisan env:push
php artisan env:pull
php artisan env:list
```

### Arguments:

[](#arguments)

- `stage` - this is something the equivalent of `production|staging|develop|...`) which identifies what environment the variables are used in.
- `--appName=`(optional) - this is the name of the current app (equivalent the APP\_NAME in the `.env` file normally). If not given, or cannot be found, it will prompt the user for it.
- `--secretKey=`(optional) - The secret key for the user with the required permissions. If not given, or cannot be found, it will prompt the user for it.
- `--accessKey=`(optional) - The access key id for the user with the required permissions. If not given, or cannot be found, it will prompt the user for it.
- `--region=`(optional) - The region the infrastructure resides in. If not given, or cannot be found, it will prompt the user for it.
- `--decrypt`(optional | Default: false) - Decrypt the values before pulling them.

    > See more details about encrypt in the [AWS documentation](https://docs.aws.amazon.com/kms/latest/developerguide/services-parameter-store.html)

---

All commands will use the env file respective to the stage argument. For example: with stage argument `production` it will work with the `.env.production` file. If the file exists when pulling, it will back up the existing file.

### Parameter &lt;-&gt; environment variable

[](#parameter---environment-variable)

Keys are transformed in the following manner: `DB_PASSWORD` =&gt; `{appName}/{stage}/DB_PASSWORD`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~130 days

Recently: every ~163 days

Total

6

Last Release

683d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b63ffbcfdbe7a21558693d1a8efcbda4228177c31838985d80c4b0be99f3ae9?d=identicon)[nandi95](/maintainers/nandi95)

---

Top Contributors

[![nandi95](https://avatars.githubusercontent.com/u/41805560?v=4)](https://github.com/nandi95 "nandi95 (17 commits)")[![picheidt](https://avatars.githubusercontent.com/u/84984174?v=4)](https://github.com/picheidt "picheidt (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/nandi95-laravel-env-in-aws-ssm/health.svg)

```
[![Health](https://phpackages.com/badges/nandi95-laravel-env-in-aws-ssm/health.svg)](https://phpackages.com/packages/nandi95-laravel-env-in-aws-ssm)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[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)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[humanmade/s3-uploads

WordPress plugin to store uploads on S3

2.1k2.4M9](/packages/humanmade-s3-uploads)[bref/laravel-bridge

An advanced Laravel integration for Bref, including Octane support.

3384.1M11](/packages/bref-laravel-bridge)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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