PHPackages                             toteph42/filesync - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. toteph42/filesync

ActiveContao-bundle[Mail &amp; Notifications](/categories/mail)

toteph42/filesync
=================

Extended file synchronisation bundle with user e-mail notification for Contao Open Source CMS

1.5(6mo ago)07GPL-3.0+PHPPHP &gt;=8.0

Since Jan 1Pushed 6mo ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (7)Used By (0)

Synconize files and send e-Mail notification to members for Contao Open Source CMS
----------------------------------------------------------------------------------

[](#synconize-files-and-send-e-mail-notification-to-members-for-contao-open-source-cms)

[![](https://camo.githubusercontent.com/2bfeccbf63d3313c11d2443e9463cb812040d30ef48801855410a4c8353bf0d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7465706834322f66696c6573796e632e737667)](https://camo.githubusercontent.com/2bfeccbf63d3313c11d2443e9463cb812040d30ef48801855410a4c8353bf0d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7465706834322f66696c6573796e632e737667)[![](https://camo.githubusercontent.com/0f8f72a6b0afea5bec147fe4733a7ba301a3b1a8b99fdbf582a42b31d69e9d3b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f7465706834322f66696c6573796e632e737667)](https://camo.githubusercontent.com/0f8f72a6b0afea5bec147fe4733a7ba301a3b1a8b99fdbf582a42b31d69e9d3b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f7465706834322f66696c6573796e632e737667)[![](https://camo.githubusercontent.com/635a756769c2e8932ca05407c26902ce791f374299265bfc16e1bb6b49f68d99/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7465706834322f66696c6573796e632e737667)](https://camo.githubusercontent.com/635a756769c2e8932ca05407c26902ce791f374299265bfc16e1bb6b49f68d99/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7465706834322f66696c6573796e632e737667)

This small extension replaces to Contao internal `contao:filesync` command by `toteph42:filesync`. On top of the file synchronization, e-Mail notifications were send to users if any file has changed or is new.

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

[](#installation)

#### Via composer

[](#via-composer)

```
composer require toteph42/filesync

```

#### Via contao-manager

[](#via-contao-manager)

```
Search for totep42/filesync bundle and add it to your extensions.

```

After installing the contao-member-extension-bundle, you need to run a **contao install**.

Usage
-----

[](#usage)

1. Define `Member groups` exactly as the folder names were defined (e.g. member group `Group1`).
2. Assign this group to a member.
3. Create a directory below `files` directory named like your group (e.g. `files/Group1`).
4. Then copy any files to the directory and call `vendor/contao-console toteph42:filesync`.

#### Disable notification

[](#disable-notification)

1. Uncheck checkbox `Notify user about changes in file system` in member definition (default=true).

#### Member configuration

[](#member-configuration)

If you want members to give the possibility to select whether they want notification or not in frontend:

1. Create a frontend module `Personal data`.
2. Select field `Notify user about changes in file system` as `Editable fields`.
3. Create an `Article` and include the module you just created.

#### Creating message to send

[](#creating-message-to-send)

Now you need to create a `Forms` with the name of the group (e.g. member group `Group1`).

1. Click on checkbox `Send form data via e-mail` in section **Send form data**.
2. Enter the `sender` address in field `Recipient address` (e.g.****).
3. Add your `Subject`.
4. Select **Data format** `E-mail`.
5. **Save and close**
6. Add a content field with **Field type** `Explanation`.
7. Enter your e-Mail in `Text` field. Use the placehoder `[[files]]` where you want the list of files to be inserted.
8. **Save and close**

#### Testing

[](#testing)

To test, please go to your web directory and use the command

```
vendor/bin/contao-console toteph42:filesync

```

or for a specific php version e.g.

```
/opt/php8.3.24/bin/php vendor/bin/contao-console toteph42:filesync

```

### Production

[](#production)

To start sending notification e-Mails, you need to edit your crontab using `crontab -e` and enter:

```
# Synchronize files
30 * * * *    /opt/php8.3.13/bin/php [Path to your Contao installation]/vendor/bin/contao-console toteph42:filesync

```

Please enjoy!

If you enjoy my software, I would be happy to receive a donation.

[ ![Donate with PayPal](https://camo.githubusercontent.com/0145f4c212cf9f2b903c0ea3b8f27e952bde347eb91cf920353e02380d74e818/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f444b2f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/donate/?hosted_button_id=DS6VK49NAFHEQ)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance67

Regular maintenance activity

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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 ~62 days

Recently: every ~77 days

Total

6

Last Release

192d ago

### Community

Maintainers

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

---

Tags

emailnotificationfilecontaoe-mailsynchonisation

### Embed Badge

![Health badge](/badges/toteph42-filesync/health.svg)

```
[![Health](https://phpackages.com/badges/toteph42-filesync/health.svg)](https://phpackages.com/packages/toteph42-filesync)
```

###  Alternatives

[terminal42/notification_center

Notification Center extension for Contao Open Source CMS

68396.6k78](/packages/terminal42-notification-center)[oneup/contao-mailchimp

This extension connects a Contao installation with MailChimp.

1215.3k](/packages/oneup-contao-mailchimp)

PHPackages © 2026

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