PHPackages                             swarnat/wp-s3-offload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. swarnat/wp-s3-offload

ActiveWordpress-plugin[File &amp; Storage](/categories/file-storage)

swarnat/wp-s3-offload
=====================

Tool for Offloading Media to a custom S3 Storage

v1.2.5(1y ago)0235LGPL-3.0-or-laterPHPPHP &gt;=8.1

Since Jul 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/swarnat/wp-s3-offload)[ Packagist](https://packagist.org/packages/swarnat/wp-s3-offload)[ RSS](/packages/swarnat-wp-s3-offload/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

WP S3 Offloading
================

[](#wp-s3-offloading)

> ⚠️ This currently is a WIP and not for production usage

This plugin provide functions to upload media directly or delayed to a s3 storage and replace the media URL with url from s3 storage.
The main purpose is the automated deployment in Kubernetes/OpenShift of Docker environments, where a stateless system is helpfull.

Setup
-----

[](#setup)

`composer require swarnat/wp-s3-offload`

This Plugin don't use any configuration UI, because it is used for automated deployment. You need to configure the following configuration variables in wp-config.php

```
// your access key
define('WPS3_KEY', '123...abc');
// your secret key to access bucket
define('WPS3_SECRET', '123...abc');

// name of the bucket, you want to connect to
define('WPS3_BUCKET', 'bucketname');
// region of bucket
define('WPS3_REGION', 'de-de');
// The folder within bucket to store files into
define('WPS3_FOLDER', '/');
// Should S3 access use pathstyle urls
define('WPS3_PATHSTYLE', true);

// URL to access the uploaded assets
define('WPS3_URL_PREFIX', 'https://s3.company.com/bucketname/');
// Define a custom URL endpoint
define('WPS3_ENDPOINT', 'https://s3.company.com');
```

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md)

ROADMAP
-------

[](#roadmap)

What is planned for next versions:

- automate upload of existing media
- testing

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance43

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~91 days

Recently: every ~2 days

Total

7

Last Release

482d ago

Major Versions

v0.8.0 → v1.2.02025-01-03

PHP version history (2 changes)v0.8.0PHP &gt;=8.1

v1.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4cc3bba63f9bd569c4c5ab4a75f248af53f9a075fb1b5d7225abdb01d8204be?d=identicon)[swarnat](/maintainers/swarnat)

---

Top Contributors

[![swarnat](https://avatars.githubusercontent.com/u/1639540?v=4)](https://github.com/swarnat "swarnat (1 commits)")

---

Tags

s3

### Embed Badge

![Health badge](/badges/swarnat-wp-s3-offload/health.svg)

```
[![Health](https://phpackages.com/badges/swarnat-wp-s3-offload/health.svg)](https://phpackages.com/packages/swarnat-wp-s3-offload)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M788](/packages/league-flysystem-aws-s3-v3)[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M74](/packages/aws-aws-sdk-php-laravel)[aws/aws-sdk-php-resources

A resource-oriented API for interacting with AWS services

1381.8M10](/packages/aws-aws-sdk-php-resources)[vinelab/cdn

Content Delivery Network (CDN) Package for Laravel

217240.8k1](/packages/vinelab-cdn)[aws/aws-sdk-php-zf2

Zend Framework 2 Module that allows easy integration the AWS SDK for PHP

104997.5k5](/packages/aws-aws-sdk-php-zf2)[frostealth/yii2-aws-s3

An Amazon S3 component for Yii2

90698.9k5](/packages/frostealth-yii2-aws-s3)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
