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
Requires
- php: >=8.1
- league/flysystem: ^3.0
- league/flysystem-ftp: ^3.0
- league/flysystem-sftp-v3: ^3.0
- symfony/messenger: ^6.0
Requires (Dev)
- phpunit/phpunit: ^10.0
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'