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(9y ago)013[1 issues](https://github.com/michalvlcek/aws-commands/issues)PHPPHP &gt;=5.4

Since Mar 28Pushed 9y 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 today

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 25% 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

3645d 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.6k500.1M14.9k](/packages/laravel-framework)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.0k4](/packages/wpstarter-framework)

PHPackages © 2026

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