PHPackages                             asilgag/aws-cli-wrapper - 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. [CLI &amp; Console](/categories/cli)
4. /
5. asilgag/aws-cli-wrapper

ActiveLibrary[CLI &amp; Console](/categories/cli)

asilgag/aws-cli-wrapper
=======================

A simple PHP wrapper over AWS CLI command

v1.0.0(6y ago)09.1k↓50%1MITPHPPHP &gt;=7.1.0

Since Mar 16Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (1)

aws-cli-wrapper
===============

[](#aws-cli-wrapper)

A simple PHP wrapper over CLI commands.

Installation
------------

[](#installation)

```
composer require asilgag/aws-cli-wrapper

```

Usage
-----

[](#usage)

```
use Asilgag\CliWrapper\AWS\AwsCliWrapper;
use Asilgag\CliWrapper\CliCommand;

// Create a new AWS CLI Wrapper.
$awsCli = new AwsCliWrapper();

// Set credentials if needed.
$awsCli->setEnvironment('AWS_ACCESS_KEY_ID', '***');
$awsCli->setEnvironment('AWS_SECRET_ACCESS_KEY', '***');

// Set options for the "aws" part of the command.
// @see https://docs.aws.amazon.com/cli/latest/reference/
$awsCli->getAwsOptions()->add('--region us-east-1');

// Set global options for specific commands.
// In this example, all "s3" commands will be suffixed with "--only-show-errors".
// @see https://docs.aws.amazon.com/cli/latest/reference/s3/
$awsCli->getGlobalOptions('s3')->add('--only-show-errors');

// Create new command.
$command = new CliCommand('s3', ['sync', '/source/path/', 's3://bucket/', '--include *.html', '--delete']);

// Execute command. It will throw a RuntimeException if it exits with a non-zero code.
try {
    $cli->exec($command);
}
catch (RuntimeException $e) {
    // Do some logging
}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

2254d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7623730?v=4)[Alberto Silva](/maintainers/asilgag)[@asilgag](https://github.com/asilgag)

---

Top Contributors

[![asilgag](https://avatars.githubusercontent.com/u/7623730?v=4)](https://github.com/asilgag "asilgag (7 commits)")

---

Tags

cliawsshellbash

### Embed Badge

![Health badge](/badges/asilgag-aws-cli-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/asilgag-aws-cli-wrapper/health.svg)](https://phpackages.com/packages/asilgag-aws-cli-wrapper)
```

###  Alternatives

[seregazhuk/php-watcher

Automatically restart PHP application once the source code changes

394137.8k4](/packages/seregazhuk-php-watcher)[kevinlebrun/colors.php

Colors for PHP CLI scripts

3426.7M45](/packages/kevinlebrun-colorsphp)[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24032.0k2](/packages/alecrabbit-php-console-spinner)[maximebf/consolekit

Library to create command line utilities

114104.4k9](/packages/maximebf-consolekit)[stepanenko3/nova-command-runner

Laravel Nova tool for running Artisan and bash(shell) commands.

36983.0k](/packages/stepanenko3-nova-command-runner)[tmuras/moosh

Moosh stands for MOOdle SHell. It is a command-line tool that will allow you to perform most common Moodle tasks.

2541.4k](/packages/tmuras-moosh)

PHPackages © 2026

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