artarts36/git-handler-remote

0.1.0 2021-08-22 21:41 UTC

This package is auto-updated.

Last update: 2024-01-23 02:43:43 UTC


README

Work with git repository on remote server

Installation:

composer require artarts36/git-handler-remote

Usage

use ArtARTs36\GitHandler\Factory\RemoteGitFactory;
use ArtARTs36\ShellCommand\Executors\Ssh\Connection;

$connection = Connection::withPassword('host', 'user', 'password');

$git = (new RemoteGitFactory($connection))->factory('/var/web/project/');