S3 Storage Module

This module allows to connect FreeScout to any S3 storage (AWS, DitigalOcean, etc) and store attachments, user photos, customer photos and uploads in the remote storage.

Module is free. In order to install the module – download it using “Download Now” button. Installation Instructions are available here.

Bug reports and pull requests should be submitted to the module’s GitHub repository.

Configuring

Add the following parameters to the .env file and clear cache:

FILESYSTEM_DRIVER=s3

AWS_ACCESS_KEY_ID=access_key
AWS_SECRET_ACCESS_KEY=secret_key
AWS_DEFAULT_REGION=region_name
AWS_BUCKET=my-bucket
AWS_ENDPOINT=https://endpoint.s3-example.com
# By default S3 driver uses virtual-hosted style for file URLs.
# This parameter enables path-style for file URLs:
# - true: https://s3-example.com/my-bucket/file.jpg
# - false: https://my-bucket.s3-example.com/file.jpg
AWS_USE_PATH_STYLE_ENDPOINT=true
# URLs used to build publicly available file URLs.
AWS_URL=https://s3-example.com

When viewing or downloading attachments stored in S3, they are proxied through PHP. Users’ photos, customers’ photos, and files in ‘/uploads’ are served via direct URLs to S3 storage.

  • Version: 1.0.0
  • Required App Version: 1.8.243
  • License Period: Lifetime
  • Open Source: AGPL-3.0