Download the PHP package konradmichalik/typo3-file-sync without Composer
On this page you can find all versions of the php package konradmichalik/typo3-file-sync. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download konradmichalik/typo3-file-sync
More information about konradmichalik/typo3-file-sync
Files in konradmichalik/typo3-file-sync
Package typo3-file-sync
Short Description File Sync - Synchronizes missing files between TYPO3 instances using configurable resource handlers.
License GPL-2.0-or-later
Informations about the package typo3-file-sync
A lightweight TYPO3 extension that synchronizes missing files on demand: either by fetching them from a remote instance or by generating local placeholder images.
[!TIP] Typical use case: staging systems or local development environments that get refreshed from production on a regular basis (e.g. via a database sync) without copying the full file storage. Missing files are fetched (or replaced with a placeholder) the moment they're actually requested, instead of shipping every asset on each refresh.
✨ Features
- Remote instance fetching: pull missing files from a remote TYPO3 instance on demand
- Placeholder image generation: generate local placeholder images (GD and SVG) when no remote instance is configured or reachable
- CLI commands: fetch missing files in bulk, reset missing-file flags or delete previously synced files
- Deferred image loading (experimental): render a placeholder immediately and swap in the real file after page load, with an optional blurred preview stage
- Custom resource handlers: implement your own remote source
🔥 Installation
Requirements
- TYPO3 13.4 LTS or 14.3 LTS
- PHP 8.2 to 8.5
- PHP extension
ext-gd(for placeholder and preview image generation; previews additionally need a GD build with WebP support)
Composer
TER
Download the zip file from TYPO3 extension repository (TER).
Setup
Upgrading
Run the same command after every update, or use the database analyser in the Install Tool. This release adds the column tx_typo3_file_sync_failed to sys_file, and deferred image loading needs it: between composer update and the schema update every materialize request fails with a database error and answers 500, so every deferred image stays a grey placeholder.
🚀 Quick start
Configure a storage in ext_localconf.php (or additional.php) to fetch missing files from a remote instance:
The array key (1) is the UID of the file storage. See Configuration for the backend UI alternative, chaining handlers, and the full option set.
📚 Documentation
| Page | What's inside |
|---|---|
| Configuration | Backend UI setup, the full PHP option set, and chaining handlers |
| Resource handlers | The built-in Remote Instance and Placeholder Image handlers, Basic Auth, timeouts, and concurrency |
| CLI commands | Fetching missing files in bulk, resetting missing-file flags and deleting synced files |
| Deferred image loading | The experimental three-stage pipeline, preview image generation internals, known limitations, and database-sync behavior |
| Custom resource handlers | Implementing RemoteResourceInterface, the optional batch-fetch extension point and the generating-handler marker |
💎 Credits
This project is inspired by the great filefill extension. File Sync targets TYPO3 13.4 LTS and 14.0+, generates placeholder images (GD and SVG) fully locally without relying on an external service like Placehold.co, and adds CLI commands for resetting and deleting synced files.
🧑💻 Contributing
Please have a look at CONTRIBUTING.md.
⭐ License
This project is licensed under GNU General Public License 2.0 (or later).
All versions of typo3-file-sync with dependencies
ext-gd Version *
doctrine/dbal Version ^4.4.5
guzzlehttp/guzzle Version ^7.16.2
guzzlehttp/psr7 Version ^2.13.3
psr/http-factory Version ^1.1
psr/http-message Version ^1.0 || ^2.0
psr/http-server-handler Version ^1.0.2
psr/http-server-middleware Version ^1.0.2
psr/log Version ^3.0.2
symfony/console Version ^7.4.14 || ^8.1.1
symfony/rate-limiter Version ^7.4 || ^8.0
typo3/cms-backend Version ^13.4 || ^14.0
typo3/cms-core Version ^13.4 || ^14.0