PHPackages                             compwright/aws-env - 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. compwright/aws-env

ActiveLibrary

compwright/aws-env
==================

Load environment variables securely from AWS SSM

v3.0.0(5mo ago)07.7k—8.3%MITPHPPHP ^8.4

Since Jul 26Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/compwright/aws-env)[ Packagist](https://packagist.org/packages/compwright/aws-env)[ RSS](/packages/compwright-aws-env/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (8)Used By (0)

aws-env
=======

[](#aws-env)

Command-line script to obtain service configuration environment and secrets securely from AWS SSM.

Configuration
-------------

[](#configuration)

Configuration can be provided via command line options or environment variables:

OptionEnv. VariableDescription-p, --pathAWS\_ENV\_PATHPath of secrets to load from SSM-f, --formatAWS\_ENV\_FORMATOutput format, one of `dotenv`, `env`, or `export`This script can find AWS credentials in the usual ways, including:

1. If running on EC2, by assuming an IAM role (recommended)
2. By reading the `~/.aws/config` and `~/.aws/credentials` files, with the optional `AWS_PROFILE` environment variable
3. Explicitly with the `AWS_REGION`, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables

Usage
-----

[](#usage)

```
Usage:
  aws-env [options]

Options:
  -p, --path=PATH       Parameter key path [default: "/"]
  -f, --format=FORMAT   Output format: dotenv, env, export [default: "env"]
  -h, --help            Display help for the given command. When no command is given display help for the bin/aws-env command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

```

For example, to start a shell with a new environment consisting only of the items pulled from AWS SSM + $PATH:

```
env -i -S"$(bin/aws-env -p /my_app/development) PATH=$PATH" && /bin/bash

```

License
-------

[](#license)

MIT License

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance71

Regular maintenance activity

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~215 days

Total

7

Last Release

164d ago

Major Versions

v1.0.4 → v2.0.02024-01-06

v2.0.0 → v3.0.02025-12-05

PHP version history (2 changes)v2.0.0PHP ^8.2

v3.0.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/138688?v=4)[Jonathon Hill](/maintainers/compwright)[@compwright](https://github.com/compwright)

---

Top Contributors

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

---

Tags

awscomposerenvphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/compwright-aws-env/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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