PHPackages                             sourcebroker/deployer-typo3-media - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. sourcebroker/deployer-typo3-media

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

sourcebroker/deployer-typo3-media
=================================

Media sync for TYPO3 with deployer-extended-media.

1.0.0(1y ago)012.5k—8.2%12MITPHP

Since Feb 23Pushed 10mo ago4 watchersCompare

[ Source](https://github.com/sourcebroker/deployer-typo3-media)[ Packagist](https://packagist.org/packages/sourcebroker/deployer-typo3-media)[ RSS](/packages/sourcebroker-deployer-typo3-media/feed)WikiDiscussions main Synced 1mo ago

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

deployer-typo3-media
====================

[](#deployer-typo3-media)

[![Latest Stable Version](https://camo.githubusercontent.com/8ce667d8f951cad202528add82b96054438da7127445b1e265f1fc954349b6af/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f7572636562726f6b65722f6465706c6f7965722d7479706f332d6d656469612e7376673f7374796c653d666c6174)](https://packagist.org/packages/sourcebroker/deployer-typo3-media)[![License: MIT](https://camo.githubusercontent.com/f48f8d6cf609f5b181b9c3218a85175fe8a5809c7ea400347f39697a5d55065d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](https://packagist.org/packages/sourcebroker/deployer-typo3-media)

What does it do?
----------------

[](#what-does-it-do)

This package allows to sync media between instances using host data stored in [deployer](https://deployer.org) configuration.

It allows to copy files to your local instance, copy files between instances, but also symlink files instead of copy to save disk space (if the staging instance is at the same server as production).

This package only extends [sourcebroker/deployer-extended-media](https://github.com/sourcebroker/deployer-extended-media) with settings specific for TYPO3 CMS.

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

[](#installation)

1. Install package with composer:

    ```
    composer require sourcebroker/deployer-typo3-media

    ```
2. Put the following lines at the beginning of your `deploy.php`:

    ```
    require_once(__DIR__ . '/vendor/autoload.php');

    new \SourceBroker\DeployerLoader\Loader([
      ['get' => 'sourcebroker/deployer-typo3-media'],
    ]);
    ```
3. Create a `.env` file (or `.env.local`) in your project root. The `.env` (or `.env.local`) file should be out of git because you need to store there information about instance name in var `INSTANCE`. The `INSTANCE` value must correspond to `host()` name.

    For the following real, example configuration:

    ```
