Plugin screenshot thumbnail 1/5
Plugin screenshot thumbnail 2/5
Plugin screenshot thumbnail 3/5
Plugin screenshot thumbnail 4/5
Plugin screenshot thumbnail 5/5

ShareBox for Craft CMS 4


ShareBox allows uploading and sharing files through Azure Blob Storage or Amazon S3 with your site visitors.

For the plugin to work, an Amazon S3 ( ) or Azure Blob Storage ( ) account is required and an Azure Blob Storage API key must be created

Note: The plugin works only with the files and folders that will be created after connecting the plugin to your Azure/Amazon instance. It cannot display files or folders that already exist on your Azure/Amazon account. Only files / folders created through plugin will show up in directory view


  • AWS Integration: Easily upload files to Amazon S3 and share them in a "directory-view" on your website frontend
  • Microsoft Azure Integration: Easily upload files to Azure Blob Storage and share them in a "directory-view" on your website frontend
  • Password protect the files directory view on the front page (optional)
  • Google ReCaptcha integration for the directory view
  • Simple download statistics


  • Azure Blob Storage or Amazon S3 account is rewquired for this plugin to work
  • Craft CMS 4.0.0 or later
  • PHP 8.0.2 or later


1 - You can install this plugin from the Plugin Store or with Composer

#installation with composer

#1. go to the project directory

cd /path/to/my-project

#2. tell Composer to load the plugin

composer require convergine/craft-sharebox

#3. tell Craft to install the plugin

./craft plugin/install craft-sharebox

2 - Activate the plugin in the CraftCMS Control Panel (if it's not yet activated)

3 - Edit your .env file and add the following variables:

## for Azure Blob Storage


## edit the following variables with your own values



#for Amazon S3


#edit the following variables with your own values


4 - Configure the settings in plugin menu in the CraftCMS Control Panel

Go to ShareBox settings and enter the full URL of the page where you are going to display the file sharing

5 - Adjust the twig template to display ShareBox:

#register the asset bundle (somewhere at the top of the file)

{% do view.registerAssetBundle("convergine\\sharebox\\assets\\FilesAssets") %}

#add the following code where you want the directory to show up

{% set files = craft.azurefiles.files%}  
{{ files|raw }}

6 - Now you are ready to proceed with uploading files through the plugin interface in the CraftCMS Control Panel.

Note: If you decide to switch between Azure/Amazon after you've already created folders and uploaded files through the plugin interface, you will need to re-upload everything through plugin again, after the provider switch, as the plugin will see new provider's container as completely empty.

Customizing Design

At the moment, the only way to adjust the design of the frontend directory view is to either add the same styles that are used in Sharebox' frontend.css with !important attribute, or to add adjusted styles within your template where Sharebox' twig code is placed.
Editing the styles directly in plugin files will result in overwritten changed upon update of the plugin.


For any issues or questions, you can reach us by email or by opening an issue on GitHub.


  • Support for local file storage
  • Improved statistics

Plus $20/year after one year.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
Craft 4, Craft 5
Last release
March 21, 2024
Activity (30 days)
Closed Issues
Open Issues
Merged PRs
Open PRs