artarts36/git-handler-remote

0.1.0 2021-08-22 21:41 UTC

This package is auto-updated.

Last update: 2024-12-23 04:38:52 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/');