artarts36/git-handler-remote

0.1.0 2021-08-22 21:41 UTC

This package is auto-updated.

Last update: 2024-04-23 03:16:46 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/');