artarts36 / git-handler-remote
0.1.0
2021-08-22 21:41 UTC
Requires
- php: >=7.2
- ext-ssh2: *
- artarts36/git-handler: ^1.0
- artarts36/shell-command-ssh-executor: ^1.2.0
This package is auto-updated.
Last update: 2024-10-23 04:15:23 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/');