Moodle Plugins directory: Amazon's SDK for PHP: Versions: 3.208.1 | Moodle.org

Amazon's SDK for PHP
Amazon's SDK for PHP 3.208.1
AWS SDK - Moodle Plugin
A moodle plugin containing Amazon's SDK for PHP.
Why does this exist?
There is a growing collection of various Moodle plugins that require these AWS libraries in order to work. We don't want to have multiple copies of these libraries bundled into each plugin, firstly because they are quite large, but also because it can cause issues with library namespaces and php auto loading.
Plugins that depend on this library are:
https://github.com/catalyst/moodle-fileconverter_librelambda
https://github.com/catalyst/moodle-filter_smartmedia
https://github.com/catalyst/moodle-local_smartmedia
https://github.com/catalyst/moodle-logstore_standardqueued
https://github.com/catalyst/moodle-search_elastic
https://github.com/catalyst/moodle-tool_cloudmetrics
https://github.com/catalyst/moodle-tool_emailutils
https://github.com/catalyst/moodle-tool_mfa/tree/master/factor/sms
https://github.com/catalyst/moodle-tool_objectfs
https://github.com/catalyst/moodle-tool_s3logs
Branches
Moodle version | Branch |
---|---|
Moodle 3.3+ | master |
SDK Usage
To use the SDK, simply include the autoloader contained within this plugin.
require_once($CFG->dirroot . '/local/aws/sdk/aws-autoloader.php');
If you are writing a plugin that will use this SDK, it is recommended that you add this to the plugin's version.php:
$plugin->dependencies = array(
'local_aws' => 2022011300
);
Also you can use AWS region admin setting in your plugin like:
use local_aws\admin_settings_aws_region;
...
$settings->add(new admin_settings_aws_region('my_plugin/s3_region',
new \lang_string('settings:aws:region', 'my_plugin'),
new \lang_string('settings:aws:region_help', 'my_plugin'), ''));
Installation
You can install this plugin from the plugin directory or get the latest version on GitHub.
git clone https://github.com/catalyst/moodle-local_aws local/aws
Crafted by Catalyst IT
This plugin was developed by Catalyst IT Australia:
Contributing and Support
Issues, and pull requests using github are welcome and encouraged!
https://github.com/catalyst/moodle-local_aws/issues
If you would like commercial support or would like to sponsor additional improvements to this plugin please contact us:
Version information
- Version build number
- 2023011100
- Version release name
- 3.208.1
- Maturity
- Stable version
- MD5 Sum
- 1e77960905b63ada04269ef8f3ca6274
- Supported software
- Moodle 2.6, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1
- Latest release for Moodle 2.6
- Latest release for Moodle 2.7
- Latest release for Moodle 2.8
- Latest release for Moodle 2.9
- Latest release for Moodle 3.0
- Latest release for Moodle 3.1
- Latest release for Moodle 3.2
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.3
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.4
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.5
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.6
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.7
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.8
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.9
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.10
- The more recent release 3.276.2 (2024050801) exists for Moodle 3.11
- The more recent release 3.276.2 (2024050801) exists for Moodle 4.0
- The more recent release 3.276.2 (2024050801) exists for Moodle 4.1
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS branch
- master
Default installation instructions for plugins of the type Local plugins
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder in the "local" subdirectory.
- Visit http://yoursite.com/admin to finish the installation.