tbcd / file-messenger
1.0.0
2023-04-02 21:12 UTC
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-03-05 02:48:10 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'