A fork of the Amazon Web Services plugin by Delicious Brains. Loads the Amazon Web Services (AWS) PHP SDK v3 libraries and manages access keys.
This plugin allows the user to define AWS access keys and allows other plugins to hook into it and use the AWS SDK that's included.
The intent of this plugin is to provide a common install of the Amazon Web Services (AWS) SDK for plugins to share.
- To avoid "DLL hell" and reduce redundancy
- To allow a single place to update the SDK, rather than having to update it for each plugin/theme.
- WordPress 4.7 or higher
- PHP version 5.5 or greater
- PHP cURL library 7.16.2 or greater
- cURL compiled with OpenSSL and zlib
curl_multi_exec
enabled
This plugin has not yet been tested for compatibility with other plugins. Use at your own risk and test first.
When this project is stable, a distribution ZIP file will be created. Until then, you can download the source ZIP and install it in WordPress > Plugins > Add New > Upload Plugin.
When a release is made, automatic updates will be supported via GitHub Updater. This will be improved as time allows.
For those who prefer to manage plugins via Composer:
composer require cloudverve/wp-aws-sdk
You can choose to require this plugin as a dependency in any manner you like. An easy way is to use TGM Plugin Activation (TGMPA). Example configuration:
$plugins = array(
array(
'name' => 'Amazon Web Services (SDK)', // The plugin name.
'slug' => 'amazon-web-services', // The plugin slug (typically the folder name).
'source' => 'https://github.com/cloudverve/wp-aws-sdk/archive/master.zip', // The plugin source.
'required' => true, // If false, the plugin is only 'recommended' instead of required.
'version' => '3.5', // E.g. 1.0.0. If set, the active plugin must be this version or higher.
'force_activation' => true // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch or dependent plugin is disabled.
)
);
- Change: Updated AWS SDK to 3.67.18
- New: Added Delicious Brains credit to plugin meta links
- New: Added proxy support, if defined by
WP_PROXY_HOST
andWP_PROXY_PORT
constants (5b1f4fb) - New: Added support for GitHub Updater
- New: Added translate and zip npm scripts
- New: Added support for retrieving
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
from environmental variables - Change: PHP 5.5 or higher as required by v3 SDK
- Change: Renamed plugin/slug, bumped version to match SDK
- Change: Renamed
wp-config.php
constants toAWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
- Change: Moved AWS admin menu to be submenu of Settings
- Improvement: Load AWS PHP SDK 3.5