A moodle plugin with functions to interact with the Microsoft Azure Blob Storage service.
Since March 2024, Microsoft officially stopped supporting the Azure Storage for PHP SDK. This meant the code slowly became more and more out of date and is no longer receiving any updates. This plugin intends to be a lightweight and simple implementation of only the Blob storage components (for example, it does not support queues, tables, etc...).
This is mainly used as a dependency when using Azure storage with tool_objectfs, see https://github.com/catalyst/moodle-tool_objectfs
Branch | Version support | PHP Version |
---|---|---|
MOODLE_402_STABLE | 4.2 + | 8.0.0+ |
You can install this plugin from the plugin directory or get the latest version on GitHub.
git clone https://github.com/catalyst/moodle-local_azureblobstorage local/azureblobstorage
There are two usage options:
- Call the API functions directly e.g.
api::put_blob
- Register the stream wrapper, which allows you to use PHP's built in file methods to move files e.g.
copy('/file.txt', 'azure://container/file')
This plugin was developed by Catalyst IT Australia:
Issues, and pull requests using github are welcome and encouraged!
https://github.com/catalyst/moodle-local_azureblobstorage/issues
If you would like commercial support or would like to sponsor additional improvements to this plugin please contact us: