{"id":19591955,"url":"https://github.com/catalyst/moodle-local_aws","last_synced_at":"2025-04-27T14:33:37.738Z","repository":{"id":19094255,"uuid":"83503649","full_name":"catalyst/moodle-local_aws","owner":"catalyst","description":"A moodle plugin containing Amazon's SDK for PHP.","archived":false,"fork":false,"pushed_at":"2024-05-21T23:22:54.000Z","size":11374,"stargazers_count":17,"open_issues_count":20,"forks_count":31,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-04-05T00:41:23.855Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catalyst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-01T02:46:03.000Z","updated_at":"2024-11-07T11:13:49.000Z","dependencies_parsed_at":"2023-02-10T00:01:04.878Z","dependency_job_id":"ed8a20d2-8192-4ad5-a3ac-bb32331fff19","html_url":"https://github.com/catalyst/moodle-local_aws","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-local_aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-local_aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-local_aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-local_aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catalyst","download_url":"https://codeload.github.com/catalyst/moodle-local_aws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251154651,"owners_count":21544534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T08:32:10.034Z","updated_at":"2025-04-27T14:33:32.729Z","avatar_url":"https://github.com/catalyst.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/catalyst/moodle-local_aws/actions/workflows/ci.yml/badge.svg)](https://github.com/catalyst/moodle-local_aws/actions)\n\n# AWS SDK - Moodle Plugin\n\nA moodle plugin containing Amazon's SDK for PHP.\n \n## Why does this exist? ##\n\nThere is a growing collection of various moodle plugins that require these AWS libraries in order to work.\nWe don't want to have multiple copies of these libraries bundled into each plugin, firstly because they\nare quite large, but also because it can cause issues with library namespaces and php auto loading.\n\nPlugins that depend on this library are:\n\nhttps://github.com/catalyst/moodle-fileconverter_librelambda\n\nhttps://github.com/catalyst/moodle-filter_smartmedia\n\nhttps://github.com/catalyst/moodle-local_smartmedia\n\nhttps://github.com/catalyst/moodle-logstore_standardqueued\n\nhttps://github.com/catalyst/moodle-search_elastic\n\nhttps://github.com/catalyst/moodle-tool_cloudmetrics\n\nhttps://github.com/catalyst/moodle-tool_emailutils\n\nhttps://github.com/catalyst/moodle-tool_mfa/tree/master/factor/sms\n\nhttps://github.com/catalyst/moodle-tool_objectfs\n\nhttps://github.com/catalyst/moodle-tool_s3logs\n\n\n## Branches\n\n| Moodle version    | Branch           |\n| ----------------- | ---------------- |\n| Moodle 3.3+       | master           |\n\n## SDK Usage\n\nTo use the SDK, simply include the autoloader contained within this plugin.\n\n```php\nrequire_once($CFG-\u003edirroot . '/local/aws/sdk/aws-autoloader.php');\n```\n\nIf you are writing a plugin that will use this SDK, it is recommended that you add this to the plugin's version.php:\n\n```php\n$plugin-\u003edependencies = array(\n    'local_aws' =\u003e 2022011300\n);\n```\n\nAlso you can use AWS region admin setting in your plugin like:\n\n```php\nuse local_aws\\admin_settings_aws_region;\n\n...\n\n$settings-\u003eadd(new admin_settings_aws_region('my_plugin/s3_region',\n    new \\lang_string('settings:aws:region', 'my_plugin'),\n    new \\lang_string('settings:aws:region_help', 'my_plugin'), ''));\n\n```\n\n\n## Installation\n\nYou can install this plugin from the plugin directory or get the latest version\non GitHub.\n\n```bash\ngit clone https://github.com/catalyst/moodle-local_aws local/aws\n```\n\n# Crafted by Catalyst IT\n\n\nThis plugin was developed by Catalyst IT Australia:\n\nhttps://www.catalyst-au.net/\n\n![Catalyst IT](/pix/catalyst-logo.png?raw=true)\n\n\n# Contributing and Support\n\nIssues, and pull requests using github are welcome and encouraged! \n\nhttps://github.com/catalyst/moodle-local_aws/issues\n\nIf you would like commercial support or would like to sponsor additional improvements\nto this plugin please contact us:\n\nhttps://www.catalyst-au.net/contact-us\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fmoodle-local_aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalyst%2Fmoodle-local_aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fmoodle-local_aws/lists"}