PHPackages                             michalvlcek/aws-commands - 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. michalvlcek/aws-commands

ActiveLibrary

michalvlcek/aws-commands
========================

v0.1(10y ago)013[1 issues](https://github.com/michalvlcek/aws-commands/issues)PHPPHP &gt;=5.4

Since Mar 28Pushed 10y ago1 watchersCompare

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

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

Useful (symfony) commands for working with AWS.

### \# installation

[](#-installation)

- `composer install`
- create `.env` file from example (`cp .env.example .env`) and setup credentials:
    - if you already have AWS credentials file `~/.aws/credentials` you can copy *access keys* from there
    - if you don't you can create new *access keys* at

### \# usage

[](#-usage)

- `php app.php` - for list of all commands
- `php app.php name:of:command [[option] --argument]`

### \# commands

[](#-commands)

namedescription`demo:greet`Example command.[`ec2:hosts-info`](#ec2hosts-info)Creating "`/etc/hosts`" records from all EC2 instances (name and IP).[`iam:assumed-roles`](#iamassumed-roles)Lists assumed roles from group policies.---

#### `ec2:hosts-info`

[](#ec2hosts-info)

Command which allows to grab information from all EC2 instances (across all regions and sub-accounts) in "hosts" style format. Default call (with no argument) prints output to stdOut. If you set `file` argument output is appended to specified file.

```
php app.php ec2:hosts-info # dump to std output
```

```
php app.php ec2:hosts-info --file=/etc/hosts # dump to file
```

results in:

```
 12.12.123.123  SomeName        # i-c12ab06c
 12.12.12.1     AnotherName     # i-05fce0883ca1d7f12

```

---

#### `iam:assumed-roles`

[](#iamassumed-roles)

Command attempts to extract all possible assumed roles. It is done by querying user associated groups and their policyes. Command which allows to grab informations from all EC2 instances (across all regions) in "hosts" style format. Default call (with no argument) prints output to stdOut. If you set `file` argument output is appended to specified file.

```
php app.php iam:assumed-roles
```

results in:

```
array:2 [
  0 => array:2 [
    "account" => "012345678901"
    "role" => "roleName"
  ],
  1 => array:2 [
    "account" => "112345678901"
    "role" => "anotherRoleName"
  ]
]
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3697d ago

### Community

Maintainers

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

---

Top Contributors

[![mychalvlcek](https://avatars.githubusercontent.com/u/2392358?v=4)](https://github.com/mychalvlcek "mychalvlcek (12 commits)")

### Embed Badge

![Health badge](/badges/michalvlcek-aws-commands/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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