PHPackages                             dl/assetsync - 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. dl/assetsync

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

dl/assetsync
============

Sync files from various sources to neos assets.

3.0.5(3y ago)1021.4k↓50%2[1 issues](https://github.com/daniellienert/dl-assetsync/issues)MITPHPPHP ^7.2 || ^8.0

Since Mar 19Pushed 3y ago2 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (29)Used By (0)

[![Travis Build Status](https://camo.githubusercontent.com/f94d6fc3ccb7a0cbfd5e8272500cd97a7f239dbcc82e67324925e222719f6e26/68747470733a2f2f7472617669732d63692e6f72672f64616e69656c6c69656e6572742f646c2d617373657473796e632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/daniellienert/dl-assetsync) [![Latest Stable Version](https://camo.githubusercontent.com/49b02607e1bb2b56e75c85fce3c22cdeacf7041fd2c6bddce3073bd6a422b5f8/68747470733a2f2f706f7365722e707567782e6f72672f646c2f617373657473796e632f762f737461626c65)](https://packagist.org/packages/dl/assetsync) [![Total Downloads](https://camo.githubusercontent.com/cfe48b3283ed78cce3cb3aeeef6a334093910f41f0ca90634583eb87e1dc2a6c/68747470733a2f2f706f7365722e707567782e6f72672f646c2f617373657473796e632f646f776e6c6f616473)](https://packagist.org/packages/dl/assetsync) [![License](https://camo.githubusercontent.com/2bb64c8abd78a00e57c2dad5e6d59e6352cb5021a81ffd671481fe10e43403b0/68747470733a2f2f706f7365722e707567782e6f72672f646c2f617373657473796e632f6c6963656e7365)](https://packagist.org/packages/dl/assetsync)[![My wishlist on amazon](https://camo.githubusercontent.com/25c7ebb16a2d458e06b90a546c1d98e77cf33f27c42006a4b6f8357e21f334ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576973686c6973742d416d617a6f6e2d79656c6c6f772e737667)](https://www.amazon.de/hz/wishlist/ls/MSNQT8FTAMT5?ref_=wl_share)

Neos Asset Synchronization
==========================

[](#neos-asset-synchronization)

This package makes it possible to sync files from various sources into the Neos asset management. Sources can be a folder on the local file system as well as cloud services like NextCloud or Dropbox. New sync sources can be added easily. You can specify tags that are assigned to the importet assets in order to find them easily in the media browser.

### Available Sources

[](#available-sources)

These are currently available sources, new sources can be implemented easily - take a look at the `SourceInterface` to see how its done.

These are the available sources. Have a look at the detailed configuration examples bewlow.

- **Local Filesystem Source**: Import files from a local folder.
- **WebDav Source**: Import files from a webdav server. Also suitable to sync files from your **Owncloud** or **Nextcloud** account.
- **Dropbox Source**: Import files from a Dropbox folder.

Installation and integration
----------------------------

[](#installation-and-integration)

The installation is done with composer:

```
composer require dl/assetsync

```

An additional database table is required which is created using:

```
./flow doctrine:migrate

```

Usage
-----

[](#usage)

Run the synchronization via the command controller:

```
./flow assetsync:sync

```

Or run all available sourceConfiguration:

```
./flow assetsync:syncall

```

Source Configuration
--------------------

[](#source-configuration)

### Generic Source configuration

[](#generic-source-configuration)

**sourceClass**

Full qualified class name of the source class.

**fileIdentifierPattern**

This pattern can be used to filter the to be imported files by a given pattern. Currently the file identifier is the filename and path for all implemented sources. This can change for new sources.

Example:

```
fileIdentifierPattern: '.+\.(gif|jpg|jpeg|tiff|png)'

```

Default: `.*`

**removeAssetsNotInSource**

Configures, if files which are synced in previously, but doesn't exist in the source anymore should be removed from the assets.

Default: `false`

### Local Filesystem Source

[](#local-filesystem-source)

Syncs files from a local file system directory.

Implementation`DL\AssetSync\Source\LocalFilesystemSource`Required PackagenoneConfiguration Example:

```
DL:
  AssetSync:
    sourceConfiguration:
      :
        sourceClass: DL\AssetSync\Source\LocalFilesystemSource
        assetTags:
          - myLocalFileSource
        assetCollections:
          - assetCollectionWithSyncedItems
        sourceOptions:
          sourcePath: ''

```

### WebDav Source

[](#webdav-source)

Syncs files from a WebDav Server. This can also be used to sync files from OwnCloud or NextCloud. It uses the packages League\\Flysystem for an easier file system abstraction.

Implementation`DL\AssetSync\Source\LeagueFlysystem\WebDavSource`Required Package`league/flysystem-webdav`Configuration Example for a OwnCloud share:

```
DL:
  AssetSync:
    sourceConfiguration:
      :
        sourceClass: DL\AssetSync\Source\LeagueFlysystem\WebDavSource
        sourceOptions:
          baseUri: '/remote.php/webdav/'
          pathPrefix: '/remote.php/webdav'
          userName: ''
          password: ''
          authType: 1
          sourcePath: ''

```

### Dropbox Source

[](#dropbox-source)

Syncs files from Dropbox. You need to create an application to retreive the app key on https://www.dropbox.com/developers/apps.

Implementation`DL\AssetSync\Source\LeagueFlysystem\DropboxSource`Required Package`league/flysystem-dropbox`Configuration Example for Dropbox:

```
dropboxSource:
  sourceClass: DL\AssetSync\Source\LeagueFlysystem\DropboxSource
  sourceOptions:
    sourcePath: ''
    accessToken:
    appSecret:

```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 95.4% 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 ~82 days

Recently: every ~287 days

Total

28

Last Release

1114d ago

Major Versions

1.3.0 → 2.0.02019-01-14

2.2.0 → 3.0.02019-11-01

PHP version history (4 changes)1.2.0PHP ~7.0

2.0.0PHP ~7.1

2.2.0PHP ^7.2

3.0.4PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/642226?v=4)[Daniel Lienert](/maintainers/daniellienert)[@daniellienert](https://github.com/daniellienert)

---

Top Contributors

[![daniellienert](https://avatars.githubusercontent.com/u/642226?v=4)](https://github.com/daniellienert "daniellienert (103 commits)")[![andrehoffmann30](https://avatars.githubusercontent.com/u/23524251?v=4)](https://github.com/andrehoffmann30 "andrehoffmann30 (4 commits)")[![fnkr](https://avatars.githubusercontent.com/u/616991?v=4)](https://github.com/fnkr "fnkr (1 commits)")

---

Tags

assetsdropboxneoscmsowncloudwebdavsynchronizationassetsneoscmsdropboxowncloudflow-framework

### Embed Badge

![Health badge](/badges/dl-assetsync/health.svg)

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

###  Alternatives

[spatie/flysystem-dropbox

Flysystem Adapter for the Dropbox v2 API

3644.6M68](/packages/spatie-flysystem-dropbox)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[spicyweb/craft-embedded-assets

Manage YouTube videos, Instagram photos and more as first class assets

172435.6k9](/packages/spicyweb-craft-embedded-assets)[benjamincrozat/laravel-dropbox-driver

Dropbox storage driver for Laravel.

55275.3k2](/packages/benjamincrozat-laravel-dropbox-driver)[nette/assets

🎨 Nette Assets: elegant asset management for PHP with versioning, caching and mappers for various storage backends.

41346.6k7](/packages/nette-assets)[benjamminf/craft-embedded-assets

Manage YouTube videos, Instagram photos and more as first class assets

17113.1k](/packages/benjamminf-craft-embedded-assets)

PHPackages © 2026

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