PHPackages                             sfolador/ecs-manage - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sfolador/ecs-manage

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sfolador/ecs-manage
===================

Easily manage your ECS Cluster with this simple artisan command

1.0(3y ago)19[4 PRs](https://github.com/sfolador/ecs-manage/pulls)MITPHPPHP ^8.1CI passing

Since May 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/sfolador/ecs-manage)[ Packagist](https://packagist.org/packages/sfolador/ecs-manage)[ Docs](https://github.com/sfolador/ecs-manage)[ RSS](/packages/sfolador-ecs-manage/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (6)Used By (0)

[![](https://camo.githubusercontent.com/86486140d1528b0cea536ff0c9fa83ba2cebe5fc6466f1d4d35f64adaeedc514/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4543532532304d616e6167652e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d73666f6c61646f722532466563732d6d616e616765267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4d616e6167652b796f75722b4543532b7461736b732b776974682b612b73696d706c652b4172746973616e2b636f6d6d616e64266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d7465726d696e616c267769647468733d373030)](https://camo.githubusercontent.com/86486140d1528b0cea536ff0c9fa83ba2cebe5fc6466f1d4d35f64adaeedc514/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4543532532304d616e6167652e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d73666f6c61646f722532466563732d6d616e616765267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4d616e6167652b796f75722b4543532b7461736b732b776974682b612b73696d706c652b4172746973616e2b636f6d6d616e64266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d7465726d696e616c267769647468733d373030)

Easily manage your ECS Cluster with this simple artisan command
===============================================================

[](#easily-manage-your-ecs-cluster-with-this-simple-artisan-command)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8e3f89e3c8d557d21995c9cca1104ff63cf3dfab9ec6e8711585dc547322d582/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73666f6c61646f722f6563732d6d616e6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sfolador/ecs-manage)[![GitHub Tests Action Status](https://camo.githubusercontent.com/fb77b3b2e8fefa40c2e2fa701c2810c998fc19b3ed87724c3ab43d00ff1466cc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73666f6c61646f722f6563732d6d616e6167652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/sfolador/ecs-manage/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/2e66d0c9b80386df9a3a9b0f0bdd34b20b78a4dad8f88647022edd1cca549051/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73666f6c61646f722f6563732d6d616e6167652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/sfolador/ecs-manage/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1e605ac0920afffb788e1b22098563f9510e6b4fa58d700a3a2a882ecb36b1c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73666f6c61646f722f6563732d6d616e6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sfolador/ecs-manage)

This package allows you to easily manage your ECS Cluster with a simple artisan command.

Requirements
------------

[](#requirements)

You can use this package with Laravel 10.x, and you should have the AWS CLI installed and configured.

```
Please check if your AWS CLI is configured with the correct region and credentials.
Refer to this link: https://docs.aws.amazon.com/cli/v1/userguide/install-macos.html if you need more information on that specific subject.

```

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

[](#installation)

You can install the package via composer:

```
composer require sfolador/ecs-manage
```

You can publish the config file with:

```
php artisan vendor:publish --tag="ecs-manage-config"
```

This is the contents of the published config file:

```
return [

     'environments' => [
        'staging',
        'production',
    ],

     'default_terminal' => 'iTerm'
];
```

Usage
-----

[](#usage)

```
php artisan ecs:manage
```

you will see an output that looks like this:

```
Select a cluster [mycluster-ecs]:
[0] mycluster-ecs
```

You should select the cluster you want to use. After selecting a cluster you should select and "environment":

```
 Select an environment:
  [0] staging
  [1] production
```

These options can be customized in the config file and will act as a filter on services. Once you select an "environment", you will see a list of services that match the selected "environment".

So, for example, if you selected "staging", the list of services will be:

This works very well if you have a naming convention for your services.

```
Select a service [sfolador-zero-staging-FARGATE]:
  [0 ] sfolador-zero-staging-FARGATE
  [1 ] sfolador-one-staging-FARGATE
  [2 ] sfolador-two-staging-FARGATE
  [3 ] sfolador-three-staging-EC2
```

Select a service and you will see a list of tasks that match the selected service:

```
 Select a task [xxxxxxxxxxxxxx]:
  [0] xxxxxxxxxxxxxx
```

Once you select a task, a terminal window will open and will try to connect to the selected task. The command that will launched in the terminal window is:

```
aws ecs execute-command --region SELECTED_AWS_REGION  --cluster SELECTED_CLUSTER --task SELECTED_TASK --command \"/bin/sh\" --interactive
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Simone Folador](https://github.com/sfolador)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance60

Regular maintenance activity

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

1102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54c6b8884e3bd4e86d26de024ca07094728adc7db2a8a483538222121b00f9f1?d=identicon)[sfolador](/maintainers/sfolador)

---

Top Contributors

[![sfolador](https://avatars.githubusercontent.com/u/36632?v=4)](https://github.com/sfolador "sfolador (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")

---

Tags

laravelsfoladorecs-manage

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/sfolador-ecs-manage/health.svg)

```
[![Health](https://phpackages.com/badges/sfolador-ecs-manage/health.svg)](https://phpackages.com/packages/sfolador-ecs-manage)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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