PHPackages                             atyagi/laravel-aws-ssh - 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. atyagi/laravel-aws-ssh

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

atyagi/laravel-aws-ssh
======================

Laravel Wrapper for SSH with AWS Services, such as EC2 and Elastic Beanstalk

1.0(12y ago)191MITPHPPHP &gt;=5.3.0

Since Apr 21Pushed 12y ago1 watchersCompare

[ Source](https://github.com/atyagi/laravel-aws-ssh)[ Packagist](https://packagist.org/packages/atyagi/laravel-aws-ssh)[ RSS](/packages/atyagi-laravel-aws-ssh/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (4)Used By (0)

Laravel AWS SSH
===============

[](#laravel-aws-ssh)

[![Build Status](https://camo.githubusercontent.com/86ed881a266362b114fbc1036d3229db32b43ea3b04319af06e0c9f51a20d4e0/68747470733a2f2f7472617669732d63692e6f72672f6174796167692f6c61726176656c2d6177732d7373682e737667)](https://travis-ci.org/atyagi/laravel-aws-ssh)[![Coverage Status](https://camo.githubusercontent.com/8b438bec5768643556d752f2aadc769c17e46c1ff82ed56875cd443c21e6f4e1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6174796167692f6c61726176656c2d6177732d7373682f62616467652e706e67)](https://coveralls.io/r/atyagi/laravel-aws-ssh)

Laravel AWS SSH Client for Log Tailing and Other using Instance ID's and Elastic Beanstalk Applications Names/Environments.

Purpose
-------

[](#purpose)

I found a need to want to SSH and tail logs from my EC2 Instances and Elastic Beanstalk Applications. I figured this would be an easier way to do so when working within a Laravel project thanks to Laravel 4.1 and the remoting functionality.

Long Term Goals
---------------

[](#long-term-goals)

Eventually I'll create a SSH-type Facade that allows for being able to SSH into EC2 instances (or Elastic Beanstalk instances) and run commands through it.

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

[](#installation)

With composer, simply add `"atyagi/laravel-aws-ssh": "dev-master"` to your composer.json.

Once `composer update` is ran, add

`'Atyagi\LaravelAwsSsh\Providers\LaravelAwsSshServiceProvider',`

to the providers array in `app/config.php`.

At this point, you should see `eb:tail` and `ec2:tail` available for use.

### Versions

[](#versions)

- dev-master -- Stable release version
- dev-dev -- Generally stable, but still the main development branch
- tags -- see Packagist () for specific tagged versions. Most releases to master get tagged.

Usage
-----

[](#usage)

Run Artisan commands as follows:

### Elastic Beanstalk

[](#elastic-beanstalk)

For tailing Elastic Beanstalk environments logs:

`php artisan eb:tail [-u|--user[="..."]] [--keyFile[="..."]] env logFile`

where:

- `u` is the user to SSH as (defaults to config value)
- `keyFile` is the key file location (defaults to key path value in config)
- `env` is the Environment name
- `logFile` is the absolute path of the log file location

### EC2

[](#ec2)

For tailing logs on EC2 Instances:

`php artisan ec2:tail [-u|--user[="..."]] [--keyFile[="..."]] instanceId logFile`

where:

- `u` is the user to SSH as (defaults to config value)
- `keyFile` is the key file location (defaults to key path value in config)
- `instanceId` is the EC2 Instance ID
- `logFile` is the absolute path of the log file location

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

[](#configuration)

```
 /*
    |--------------------------------------------------------------------------
    | AWS Credentials
    |--------------------------------------------------------------------------
    |
    | AWS Access Key, Secret Key, and Region.
    | Note that 'us-east-1' will be used if none is provided
    |
    */
    'aws' => array(
        'access_key' => '',   //AWS Access Key
        'secret_key' => '',   //AWS Secret Key
        'region' => '',       //AWS Region to use in querying
    ),

    /*
    |--------------------------------------------------------------------------
    | Defaults for SSH
    |--------------------------------------------------------------------------
    |
    | Default info for SSH commands
    |
    */
    'ssh_defaults' => array(
        'default_user' => '',       //Default SSH User
        'default_key_path' => '',   //Default SSH Key Path
    ),

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

4396d ago

Major Versions

0.1 → 1.02014-04-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/50353d5f0b551fd129fc17b72ab2ee993ed528736b31fc52a526acd5553d43ba?d=identicon)[atyagi](/maintainers/atyagi)

---

Top Contributors

[![atyagi](https://avatars.githubusercontent.com/u/1316495?v=4)](https://github.com/atyagi "atyagi (32 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/atyagi-laravel-aws-ssh/health.svg)

```
[![Health](https://phpackages.com/badges/atyagi-laravel-aws-ssh/health.svg)](https://phpackages.com/packages/atyagi-laravel-aws-ssh)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M686](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M861](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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