PHPackages                             taylornetwork/server-connector - 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. taylornetwork/server-connector

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

taylornetwork/server-connector
==============================

v1.2(3y ago)018MITPHPPHP ^7.4|^8.0

Since May 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/taylornetwork/server-connector)[ Packagist](https://packagist.org/packages/taylornetwork/server-connector)[ RSS](/packages/taylornetwork-server-connector/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

ServerConnector
===============

[](#serverconnector)

Do you need to ssh/sftp into servers and get tired of always typing `ssh user@some-connection.org`? Or worse having to type an IP address?

This console application will allow you to define connections you make frequently to connect as easy as `connect e`

Install
-------

[](#install)

Using Composer

```
$ composer global require taylornetwork/server-connector
```

Config
------

[](#config)

Config files will be published to `~/ServerConnector/config/`

Note: if config files are not automatically published run the `config:publish` command.

```
$ server-connector config:publish
```

#### defaults.php

[](#defaultsphp)

Defines the default connection type if omitted.

```
// defaults.php

return [
	'type' => 'ssh',
];
```

#### connections.php

[](#connectionsphp)

This is where you define all your server connections.

By default:

```
// connections.php

return [

	// Name of the connection as the key
	'example' => [

		// Add any short aliases to access this as
       'aliases' => [ 'ex', 'e' ],

       // Add credentials here, or an empty array
       'credentials' => [
            'username' => 'user1',

            // Password is not recommended, ideally omit this and use ssh keys
            'password' => 'password1',
        ],

	// Omit to use default or you can set the path to a private key
        'keyFile' => '~/.ssh/id_rsa',

        // URL or IP address to connect to
        'url' => 'connect.example.com',
    ],
];
```

Add your connections in the array that will be returned.

Usage
-----

[](#usage)

Once you have defined some connections you can run

```
$ server-connector connect ConnectionNameOrAlias
```

Which will connect to the connection with the default connection type

Alternatively

```
$ server-connector connect sftp ConnectionNameOrAlias
```

To connect via SFTP if it isn't the default.

### Register BASH Function

[](#register-bash-function)

To add a function to your `~/.profile` to call `server-connector` you can use

```
$ server-connector register
```

By default it will register a function `connect()` in your `~/.profile` you can specify the function name by

```
$ server-connector register FunctionName
```

After running this command you will need to source your `~/.profile` or restart your terminal application.

---

With the BASH function you can call this application by

```
connect ConnectionNameOrAlias
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 89.5% 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 ~414 days

Total

5

Last Release

1267d ago

PHP version history (2 changes)v1.0PHP &gt;=7.0.0

v1.2PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/83340094473f0bf5b2cf062bf394df221a52a30aa0e21cd0a77302977d6393ce?d=identicon)[samueljtaylor](/maintainers/samueljtaylor)

---

Top Contributors

[![samyrataylor](https://avatars.githubusercontent.com/u/15961687?v=4)](https://github.com/samyrataylor "samyrataylor (17 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (2 commits)")

---

Tags

phpserverssh

### Embed Badge

![Health badge](/badges/taylornetwork-server-connector/health.svg)

```
[![Health](https://phpackages.com/badges/taylornetwork-server-connector/health.svg)](https://phpackages.com/packages/taylornetwork-server-connector)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)

PHPackages © 2026

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