Full AWS SDK WordPress plugin

The Full AWS SDK WordPress plugin bundles the AWS SDK for PHP and exposes its autoloader so any other plugin or theme without managing their own copy of the AWS SDK.

The Full AWS SDK for PHP is over 6MB zipped and updates often (2-3 times a week). By separating this large and complex SDK from your WordPress theme or plugin, you can leave the updates to this plugin while enjoying the benefits of your plugin or theme’s distribution size being 6MB smaller!

Full AWS SDK is updated directly from the official AWS SDK for PHP. This build is compatible with PHP 8.2 and newer.

How the Full AWS SDK plugin for WordPress works

After activation, the plugin registers the Composer-generated autoloader. Any plugin or theme that runs after plugins are loaded can directly instantiate AWS clients:

<?php
if ( class_exists('Aws\\S3\\S3Client') ) {
    $s3 = new \Aws\S3\S3Client([
        'region'  => 'us-east-1',
        'version' => 'latest',
    ]);
}

Supported AWS services (sample)

  • S3 – Simple Storage Service
  • EC2 – Elastic Compute Cloud
  • CloudFront – Content Delivery Network
  • Lambda – Serverless Functions
  • SES – Simple Email Service
  • SQS – Simple Queue Service
  • SNS – Simple Notification Service
  • DynamoDB – NoSQL Database
  • RDS – Relational Database Service
  • IAM – Identity & Access Management
  • CloudWatch – Monitoring & Observability
  • Secrets Manager – Credential Storage
  • Rekognition – Image & Video Analysis
  • Polly – Text-to-Speech
  • Translate – Machine Translation
  • Bedrock – Generative AI Using Foundation Models

Declare a plugin dependency (recommended):

Add the following to your plugin headers so WordPress can warn users when this plugin is missing:

Requires Plugins: php-aws-sdk

Screenshots of the Full AWS SDK for WordPress


Full AWS SDK for WordPress plugin information from the WordPress Admin > Tools menu.
Full AWS SDK for WordPress plugin.

Download the Full AWS SDK WordPress plugin

The latest version of this plugin is available for download by clicking the button below:

Download

Join My FREE Newsletter

Get the latest news and episodes of the Cloud Entrepreneur Podcast and Angelo’s development blog directly in your inbox!