Code Monkey home page Code Monkey logo

moodle-local_aws's Introduction

Build Status

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:

https://www.catalyst-au.net/

Catalyst IT

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:

https://www.catalyst-au.net/contact-us

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.