Use the Custom adapter

February 13, 2021 ยท View on GitHub

In order to use a custom adapter, you first need to create a service implementing the League\Flysystem\AdapterInterface.

Set this service as the value of the service key in the oneup_flysystem configuration.

oneup_flysystem:
    adapters:
        acme.flysystem_adapter:
            custom:
                service: my_flysystem_service

More to know