PHPackages                             velikonja/sync-fs - 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. [CLI &amp; Console](/categories/cli)
4. /
5. velikonja/sync-fs

ActiveLibrary[CLI &amp; Console](/categories/cli)

velikonja/sync-fs
=================

PHP Library with command line tool for simple syncing folders via configuration file.

0.2(11y ago)07.8k1MITPHPPHP &gt;=5.3.3

Since Aug 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/matejvelikonja/SyncFS)[ Packagist](https://packagist.org/packages/velikonja/sync-fs)[ RSS](/packages/velikonja-sync-fs/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (9)Versions (3)Used By (1)

SyncFS
======

[](#syncfs)

[![Build Status](https://camo.githubusercontent.com/9dfba6da82d6bb29bbde88252c5d1865a95dc7f8e05c64c5aae0a1c2dd7809c1/68747470733a2f2f7472617669732d63692e6f72672f6d6174656a76656c696b6f6e6a612f53796e6346532e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matejvelikonja/SyncFS)[![Code Coverage](https://camo.githubusercontent.com/712d6a777c016e9558de32753f4a3d5370e73398e46428856acba2b6afa209ff/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6174656a76656c696b6f6e6a612f53796e6346532f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/matejvelikonja/SyncFS/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cc6167834a487a5a4b12e1160b98a516e4555710d632d4d6e1b32173aa594f73/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6174656a76656c696b6f6e6a612f53796e6346532f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/matejvelikonja/SyncFS/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/e780f568d5d1085a281fcddf0901633dd2c3df8ac91a911922fa4cbce9ecdd6a/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61656565386530322d366164312d343765622d393234622d3164316265363834346164382f6d696e692e706e67)](https://insight.sensiolabs.com/projects/aeee8e02-6ad1-47eb-924b-1d1be6844ad8)

PHP Library with command line tool for simple syncing folders via configuration file.

SyncFS is PHP5 library build on Symfony components. Via simple configuration file written in YAML, you can define folders that you would like to sync, locally or remotely.

**Usage examples**

- Backing up local folder to external hard drive.
- Backing up local folder to remote machine.
- Syncing production assets to local machine for easier development.
- Syncing production assets to staging / beta environment for better mimicking of production.

**Dependencies**

- Rsync - command line tool
- Linux or OSX machine.

Install as tool
---------------

[](#install-as-tool)

### Via as composer

[](#via-as-composer)

```
$ composer global require "velikonja/sync-fs"
```

#### Usage

[](#usage)

```
$ ~/.composer/vendor/bin/syncfs
```

Add folder `~/.composer/vendor/bin/` to `$PATH` variable for global usage.

Install as library
------------------

[](#install-as-library)

```
$ composer require "velikonja/sync-fs"
```

Setup and usage of tool
-----------------------

[](#setup-and-usage-of-tool)

- First run `syncfs init` to create example config file in home folder (you can change config path via command arguments).
- Edit config file.
- Run `syncfs sync`.
- Explore other possibilities with `syncfs list`.

Contributing
------------

[](#contributing)

Install dependencies

```
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install --dev
```

### Tests

[](#tests)

PHPUnit tests

```
$ vendor/bin/phpunit
```

Coding standards tests

```
$ phpcs --standard=PSR2 --ignore=/vendor --ignore=/log ./
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~95 days

Total

2

Last Release

4259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc30ab2b3d21c8fdf579428fa05f561f3e235bfb2a9372db1ee7f4482c5b4a75?d=identicon)[matejvelikonja](/maintainers/matejvelikonja)

---

Top Contributors

[![matejvelikonja](https://avatars.githubusercontent.com/u/1881087?v=4)](https://github.com/matejvelikonja "matejvelikonja (95 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/velikonja-sync-fs/health.svg)

```
[![Health](https://phpackages.com/badges/velikonja-sync-fs/health.svg)](https://phpackages.com/packages/velikonja-sync-fs)
```

###  Alternatives

[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M507](/packages/pimcore-pimcore)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
