modstore/connection-manager

Manage connections to your servers

1.0.3 2024-05-21 00:46 UTC

README

Latest Version on Packagist Total Downloads

A simple way to store and connect to your project's ssh connections. E.g.

| # | Name   | Details              |
|---|--------|----------------------|
| 1 | db     | forge@db.myhost.com  |
| 2 | worker | forge@168.104.172.20 |

Please select a connection (# or name):

Note that this package is only intended to be used in the local environment and won't be registered in production etc.

Installation

You can install the package via composer:

composer require modstore/connection-manager

You can publish and run the migrations with:

php artisan vendor:publish --tag="connection-manager-migrations"
php artisan migrate

Usage

List available connections, then select the one to connect to. Optionally the name of the connection can be provided to connect straight away without selecting from the list.

php artisan connect {name?}

Add a new connection

php artisan connect:add

Remove a connection

php artisan connect:remove

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.