Download the PHP package convergine/craft-sharebox without Composer

On this page you can find all versions of the php package convergine/craft-sharebox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-sharebox

ShareBox for Craft CMS 4 / Craft CMS 5

ShareBox is a file manager plugin for CraftCMS v4.x that allows to upload and share files from Azure Blob Storage or Amazon S3 with your site visitors on the frontend.

For the plugin to work, an Amazon S3 ( https://aws.amazon.com/s3/ ) or Azure Blob Storage ( https://azure.microsoft.com/en-us/products/storage/blobs ) account is required and an Azure Blob Storage API key must be created https://learn.microsoft.com/en-us/rest/api/storageservices/blob-service-rest-api.

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)

Features

Requirements

Installation

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

  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:

or

  1. 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 e.g. https://www.yourdomain.com/files-directory

  1. Adjust the twig template to display ShareBox:

  2. 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.

Support

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

Roadmap

Screenshots


All versions of craft-sharebox with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^4.0.0 || ^5.0.0
microsoft/azure-storage-blob Version ^1.5.3
aws/aws-sdk-php Version ^3.234.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package convergine/craft-sharebox contains the following files

Loading the files please wait ....