Skip to content

askvortsov1/flarum-azure-poc

Repository files navigation

Flarum Azure Storage

License Latest Stable Version Total Downloads

A Flarum extension. Azure Filesystem Extender for Flarum.

This is a proof of concept extension for flarum/framework#2732. It does not contain proper features needed for a driver like this, such as caching. It should NOT be used in production!!!!

Installation

Install with composer:

composer require askvortsov/flarum-azure:"*"

Configuration

Set up a blob storage container via the azure portal.

Add the following to your config.php:

'azure-config' => 
  array (
    'DISK_NAME' =>
    array (
      'accountName' => '...',
      'accountKey' => '...',
      'containerName' => '...'
    )
  )

Add the following row to your settings table:

key: 'disk_driver.DISK_NAME'
value: 'azure'

Flarum's default disk names are flarum-assets and flarum-avatars. I recommend testing with flarum-assets.

Updating

composer update askvortsov/flarum-azure:"*"
php flarum migrate
php flarum cache:clear

Links

About

PoC Azure filesystem driver for Flarum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published