tbcd/file-messenger

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/tbcd/file-messenger

1.0.0 2023-04-02 21:12 UTC

This package is auto-updated.

Last update: 2025-10-05 04:04:05 UTC


README

This package is an extension of symfony/messenger component providing transport for files using league/flysystem component

Installation

composer require tbcd/file-messenger

Usage

This transport can be configured with any of the league/flysystem adapters.

For now only the sftp, the ftp and the local adapters are implemented

Configure the transport as expected in the messenger config file

# config/packages/messenger.yaml

framework:
    messenger:
        transports:
            # https://symfony.com/doc/current/messenger.html#transport-configuration
            sftp:
                dsn: 'sftp://foo:bar@localhost:22/rootPath'
            ftp:
                dsn: 'ftp://foo:bar@localhost:21/rootPath'
            local:
                dsn: 'local://./rootPath'