PHPackages                             syofyanzuhad/sshelf-cli - 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. syofyanzuhad/sshelf-cli

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

syofyanzuhad/sshelf-cli
=======================

Sshelf CLI — Elegant command-line interface for managing your Sshelf instance.

v1.0.0-beta.1(2mo ago)00MITPHPPHP ^8.2

Since May 23Pushed 2mo agoCompare

[ Source](https://github.com/syofyanzuhad/sshelf-cli)[ Packagist](https://packagist.org/packages/syofyanzuhad/sshelf-cli)[ RSS](/packages/syofyanzuhad-sshelf-cli/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

Sshelf CLI
==========

[](#sshelf-cli)

> Elegant command-line interface for managing your Sshelf instance.

Sshelf CLI allows you to manage your servers, SSH keys, tags, and execute remote commands directly from your terminal.

---

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

[](#installation)

### Prerequisites

[](#prerequisites)

- PHP 8.2 or higher

### Local Setup

[](#local-setup)

1. Clone the repository: ```
    git clone https://github.com/your-username/sshelf-cli.git
    cd sshelf-cli
    ```
2. Install dependencies: ```
    composer install
    ```
3. Use the `sshelf` binary: ```
    ./sshelf --version
    ```

### Global Installation (Optional)

[](#global-installation-optional)

To use `sshelf` from anywhere, create a symlink:

```
sudo ln -s "$(pwd)/sshelf" /usr/local/bin/sshelf
```

---

Getting Started
---------------

[](#getting-started)

### 1. Authentication

[](#1-authentication)

Login to your Sshelf instance using your API URL and Bearer Token:

```
sshelf auth:login
```

Check your connection status:

```
sshelf ping
```

### 2. Manage Servers

[](#2-manage-servers)

List all your servers:

```
sshelf server:list
```

Add a new server:

```
sshelf server:add --name="Web-01" --host="1.2.3.4" --username="root"
```

### 3. Remote Execution

[](#3-remote-execution)

Execute a command on a remote server by ID:

```
sshelf exec 1 "uptime"
```

Run a saved Quick Command:

```
sshelf qc:run 5
```

---

Core Commands
-------------

[](#core-commands)

CommandDescription`auth:login`Authenticate with your Sshelf instance`auth:status`Show current authentication status`ping`Check connectivity to your Sshelf instance`server:list`List all servers (supports `--json`, `--group`)`server:add`Add a new server`exec`Execute a command on a remote server`qc:run`Run a saved quick command`key:list`List all SSH keys`tag:list`List all tags`completion`Generate shell completion scripts---

Shell Completion
----------------

[](#shell-completion)

Generate completion scripts for your favorite shell:

```
# Zsh
sshelf completion zsh > /usr/local/share/zsh/site-functions/_sshelf

# Bash
sshelf completion bash >> ~/.bashrc
```

---

License
-------

[](#license)

Sshelf CLI is open-source software licensed under the MIT license.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance87

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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

62d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1cac985174ded780c6587c27619150114b5ec3bb47ea0bb25696760c1a9fc86?d=identicon)[Syofyan Zuhad](/maintainers/Syofyan%20Zuhad)

---

Top Contributors

[![syofyanzuhad](https://avatars.githubusercontent.com/u/52684582?v=4)](https://github.com/syofyanzuhad "syofyanzuhad (20 commits)")

---

Tags

cliconsolelaravel-zerosshelf

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/syofyanzuhad-sshelf-cli/health.svg)

```
[![Health](https://phpackages.com/badges/syofyanzuhad-sshelf-cli/health.svg)](https://phpackages.com/packages/syofyanzuhad-sshelf-cli)
```

###  Alternatives

[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

10097.5k](/packages/mehrancodes-laravel-harbor)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.7k357.7M11.5k](/packages/nunomaduro-collision)

PHPackages © 2026

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