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 6d 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

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

4211d 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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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