PHPackages                             albertofem/rsync-lib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. albertofem/rsync-lib

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

albertofem/rsync-lib
====================

A simple PHP rsync wrapper library

1.0.0(8y ago)93394.2k—0.3%30[3 issues](https://github.com/albertofem/rsync-lib/issues)[1 PRs](https://github.com/albertofem/rsync-lib/pulls)5MITPHPPHP &gt;=5.4CI failing

Since Apr 3Pushed 1y ago3 watchersCompare

[ Source](https://github.com/albertofem/rsync-lib)[ Packagist](https://packagist.org/packages/albertofem/rsync-lib)[ Docs](http://albertofem.com)[ RSS](/packages/albertofem-rsync-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (5)

rsync-lib
=========

[](#rsync-lib)

A simple PHP rsync wrapper library

[![Build Status](https://camo.githubusercontent.com/1e38f57a6eae0ad327ac6c8fcbc78848e619cafeff016fbfe426ef191141e032/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f616c626572746f66656d2f7273796e632d6c69622e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/albertofem/rsync-lib) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/f42ec637e3804ec0b8de32145a4ab79ed4babc241f30155c6c9cb09d96a10d1d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c626572746f66656d2f7273796e632d6c69622f6261646765732f7175616c6974792d73636f72652e706e673f733d65366632383539636265333131613462643935326364656464373861623038313765346534633364)](https://scrutinizer-ci.com/g/albertofem/rsync-lib/)

Requirements
------------

[](#requirements)

This library requires PHP &gt;=5.4

Changelog
---------

[](#changelog)

01-13-2018

- Dropped PHP 5.3 support
- Rename `public_key` option to the correct `private_key` one. Old one still works and will be deprecated in version 2.0

Installation
------------

[](#installation)

Require it in composer:

```
composer require albertofem/rsync-lib 1.0.0

```

Install it:

```
composer update albertofem/rsync-lib

```

If you want to run the tests:

```
./vendor/bin/phpunit

```

Usage
-----

[](#usage)

Basic usage example:

```
