OpnForm uses Laravel’s filesystem, which provides a powerful abstraction layer for various file storage systems. While AWS S3 is a popular choice, OpnForm supports both local storage and S3-compatible services.Documentation Index
Fetch the complete documentation index at: https://docs.opnform.com/llms.txt
Use this file to discover all available pages before exploring further.
- Create an S3 bucket in your AWS account (or use an equivalent service).
- Create an IAM user with access to this bucket. Ensure the user has the necessary permissions to read from and write to the bucket.
-
Configure CORS for the S3 bucket permissions, by adding the following under “Cross-origin resource sharing (CORS)”:
-
Set the following environment variables in your OpnForm installation (
api/.env):AWS_ACCESS_KEY_ID: Your IAM user’s access key IDAWS_SECRET_ACCESS_KEY: Your IAM user’s secret access keyAWS_DEFAULT_REGION: The AWS region where your S3 bucket is locatedAWS_BUCKET: The name of your S3 bucket