PHPackages                             flamecore/synchronizer-files - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. flamecore/synchronizer-files

ActiveLibrary[File &amp; Storage](/categories/file-storage)

flamecore/synchronizer-files
============================

Synchronize local and remote filesystems

12601[3 issues](https://github.com/seabreeze-project/synchronizer-files/issues)PHP

Since Sep 28Pushed 8y ago6 watchersCompare

[ Source](https://github.com/seabreeze-project/synchronizer-files)[ Packagist](https://packagist.org/packages/flamecore/synchronizer-files)[ RSS](/packages/flamecore-synchronizer-files/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

FlameCore FilesSynchronizer
===========================

[](#flamecore-filessynchronizer)

[![Build Status](https://camo.githubusercontent.com/1f5831b0ae2c0a8e7b9315063427358ababd87808ed9c76b177f935906d0e0e1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666c616d65636f72652f73796e6368726f6e697a65722d66696c65732e737667)](https://travis-ci.org/flamecore/synchronizer-files)[![Scrutinizer](https://camo.githubusercontent.com/71549532e10ab2d221947b721dd421bc0633d39c6c8dc60c643c42ce2fa5502b/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f666c616d65636f72652f73796e6368726f6e697a65722d66696c65732e737667)](https://scrutinizer-ci.com/g/flamecore/synchronizer-files)[![Coverage](https://camo.githubusercontent.com/362e42a2908e57412bd12ba23546dfd3536908bec7674b4ce06fda46ba095c92/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f666c616d65636f72652f73796e6368726f6e697a65722d66696c65732e737667)](https://scrutinizer-ci.com/g/flamecore/synchronizer-files)[![License](https://camo.githubusercontent.com/f6c19dfe7d5565b8c53a9cbe990449fdbaecc545125771833d1fb8bb136efd76/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666c616d65636f72652f73796e6368726f6e697a65722d66696c65732e737667)](http://www.flamecore.org/projects/synchronizer-files)

This library makes it easy to synchronize local and remote filesystems.

FilesSynchronizer was developed as backend for the deployment and testing tool [Seabreeze](https://github.com/flamecore/seabreeze). It is using our self-developed [Synchronizer](https://github.com/flamecore/synchronizer) library as foundation.

Getting Started
---------------

[](#getting-started)

Include the vendor autoloader and use the classes:

```
namespace Acme\MyApplication;

use FlameCore\Synchronizer\Files\FilesSynchronizer;
use FlameCore\Synchronizer\Files\Location\LocalFilesLocation;

require 'vendor/autoload.php';
```

Create your `Source` and `Target` objects:

```
$source = new LocalFilesLocation(['dir' => $sourcePath]);
$target = new LocalFilesLocation(['dir' => $targetPath]);
```

Create the `FilesSynchronizer` and assign the `Source` and the `Target`:

```
$synchronizer = new FilesSynchronizer($source, $target);
$synchronizer->observe($observer); // optionally set an EventObserver object
```

Now start syncing your files:

```
$synchronizer->synchronize();
$synchronizer->synchronize(false); // Do not preserve obsolete files
```

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

[](#installation)

### Install via Composer

[](#install-via-composer)

[Install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) if you don't already have it present on your system.

To install the library, run the following command and you will get the latest development version:

```
$ php composer.phar require flamecore/synchronizer-files:dev-master

```

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

[](#requirements)

- You must have at least PHP version 5.4 installed on your system.

Contributors
------------

[](#contributors)

If you want to contribute, please see the [CONTRIBUTING](CONTRIBUTING.md) file first.

Thanks to the contributors:

- Christian Neff (secondtruth)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/82268b2432ab90f14c62445938bc3cd1340dc66e0463035df57891826b418016?d=identicon)[secondtruth](/maintainers/secondtruth)

---

Top Contributors

[![secondtruth](https://avatars.githubusercontent.com/u/416441?v=4)](https://github.com/secondtruth "secondtruth (67 commits)")

---

Tags

php-librarysynchronizer

### Embed Badge

![Health badge](/badges/flamecore-synchronizer-files/health.svg)

```
[![Health](https://phpackages.com/badges/flamecore-synchronizer-files/health.svg)](https://phpackages.com/packages/flamecore-synchronizer-files)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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