S3 object browser plugin containing components for front end views to interact with an s3 bucket like a file browser. This is a plugin for WinterCMS.
There is already a media manager and remote filesystem support in WinterCMS.
Although the CMS supports these features, there are not many good examples of components that show files to users. Here are some.
This plugin allows an additional location and method of storing files. It can support unofficial
S3 implementations as well as HTTP only S3 services. This can be very useful if you want store files in S3 in a self hosted or non-public configuration. It is intended to allow front-end users to interact with stored files. It provides an API that can be modified with middleware creating application specific access control on files.
For example:
Say that your website hosts a bunch of CAD files that your users can download, but you only want some users to be able to access them.
By adding a middleware to the s3browser routes only allowed files will display on the downloads page.
Admittedly I started this plugin without really understanding the laravel filesystem so I aim to migrate this implementation to use the built in remote storage provided by WinterCMS.
Just add the various components to views.
- {GET}
/api/v1/list/{bucket}
- {POST/GET}
/api/v1/object
- {GET}
/api/v1/download
- {POST}
/api/v1/upload
- {GET}
/api/v1/zip
- {GET}
/api/v1/select
- s3browser - browse a given bucket
- s3uploader - upload to a given bucket
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.