Provides a filesystem alternative to Drupal Core Filesystem and StreamWrappers, using Flysystem as Drupal stream wrappers.

This module can be used alongside Drupal Core Filesystem, but can potentially serve as a total replacement for Drupal Core’s Filesystem/StreamWrapper components.

From the Flysystem website:

Flysystem is a file storage library for PHP. It provides one interface to interact with many types of filesystems. When you use Flysystem, you’re not only protected from vendor lock-in, you’ll also have a consistent experience for which ever storage is right for you.

See the README for documentation.

Suppported Adapters

v3.0-alpha1, included with this module

  • Local
  • AsyncAws S3 Adapter
  • Aws S3 (v3) Adapter (includes support for presigned URLs and Cloudfront)
  • SFTP Adapter (V3), which uses version 3 of phpseclib

v2.3 and prior

For v3 of this module, pull requests are encouraged to add additional support for other adapters.

Key Feature Additions to v3

  • Configurable adapters through the Drupal Admin UI, stored in Drupal config. This eliminates the need for configuring adapters in settings.php.
  • Backwards compatibility support is included for settings.php configuration, for users who prefer this method, either because they are currently using Flysystem v2 (where this is the only option), or for enhanced site security. Please note, a scheme configuration in settings.php takes priority over a scheme configuration using Drupal Config. See the README for more information on configuring Flysystem v3.

Troubleshooting

If you are having trouble with this module, check the status page admin/reports/status. The status page runs all the Flysystem checks and provides useful error reporting.

Supporting organizations: 
Sponsored development

Project information

Releases