2017 © Pedro Peláez
 

library rsync-lib

Fork of a simple PHP rsync wrapper library by Alberto Fernandez

image

clear01/rsync-lib

Fork of a simple PHP rsync wrapper library by Alberto Fernandez

  • Wednesday, June 7, 2017
  • by petrofcz
  • Repository
  • 2 Watchers
  • 0 Stars
  • 89 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 27 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

rsync-lib

A simple PHP rsync wrapper library, (*1)

Build Status Scrutinizer Code Quality, (*2)

Installation

Require it in composer:, (*3)

composer require albertofem/rsync-lib dev-master

Install it:, (*4)

composer update albertofem/rsync-lib

If you want to run the tests:, (*5)

./vendor/bin/phpunit

Usage

Basic usage example:, (*6)

<?php

use AFM\Rsync\Rsync;

$origin = __DIR__;
$target = "/target/dir/";

$rsync = new Rsync;
$rsync->sync($origin, $target);

Change behaviour:, (*7)

<?php

use AFM\Rsync\Rsync;

$origin = __DIR__;
$target = "/target/dir";

$config = array(
    'delete_from_target' => true, 
    'ssh' => array(
        'host' => myhost.com, 
        'public_key' => '/my/key.pub'
    )
);

$rsync = new Rsync($config);

// change options programatically
$rsync->setFollowSymlinks(false);

$rsync->sync($origin, $target);

The Versions

07/06 2017

dev-master

9999999-dev http://albertofem.com

Fork of a simple PHP rsync wrapper library by Alberto Fernandez

  Sources   Download

MIT

The Requires

 

The Development Requires

by Clear 01 Developmnet, s.r.o.

rsync library

07/06 2017

v0.1.1

0.1.1.0 http://albertofem.com

Fork of a simple PHP rsync wrapper library by Alberto Fernandez

  Sources   Download

MIT

The Requires

 

The Development Requires

by Clear 01 Developmnet, s.r.o.

rsync library

30/05 2017

v0.1

0.1.0.0 http://albertofem.com

Fork of a simple PHP rsync wrapper library by Alberto Fernandez

  Sources   Download

MIT

The Requires

 

The Development Requires

by Clear 01 Developmnet, s.r.o.

rsync library

16/12 2016

dev-john-feature-new_ssh_options

dev-john-feature-new_ssh_options http://albertofem.com

A simple PHP rsync wrapper library

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

rsync library

02/03 2015

1.0.0-alpha2

1.0.0.0-alpha2 http://albertofem.com

A simple PHP rsync wrapper library

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

rsync library

03/04 2014

1.0.0-alpha

1.0.0.0-alpha http://albertofem.com

A simple PHP rsync wrapper library

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

rsync library