PHPackages                             arraypress/wp-s3-browser - 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. arraypress/wp-s3-browser

ActiveLibrary

arraypress/wp-s3-browser
========================

A comprehensive PHP library for integrating S3-compatible storage providers with WordPress. Features advanced media browser, upload/download management, presigned URLs, and support for multiple providers including AWS S3, Cloudflare R2, DigitalOcean Spaces, and more.

0297↓100%PHP

Since Feb 28Pushed 2mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

S3 Browser for WordPress
========================

[](#s3-browser-for-wordpress)

A comprehensive PHP library for integrating S3-compatible storage providers with WordPress, featuring an advanced media browser, file management, and support for multiple cloud storage providers.

Features
--------

[](#features)

- **Multi-Provider Support**: AWS S3, Cloudflare R2, DigitalOcean Spaces, Linode Object Storage, and more
- **Advanced Media Browser**: Native WordPress media uploader integration with breadcrumb navigation
- **File Management**: Upload, download, delete, and organize files across S3-compatible storage
- **Presigned URLs**: Generate secure, time-limited download URLs for private files
- **Plugin Integration**: Built-in support for WooCommerce and Easy Digital Downloads
- **Bucket Management**: List, browse, and manage buckets across providers
- **Caching**: WordPress transient caching for improved performance
- **File Type Detection**: Automatic MIME type detection and file categorization
- **Search &amp; Filter**: Built-in search functionality for finding files quickly
- **WordPress Integration**: Uses WordPress standards (WP\_Error, transients, admin styles)

Installation
------------

[](#installation)

Install via Composer:

```
composer require arraypress/wp-s3-browser
```

Basic Usage
-----------

[](#basic-usage)

### Initialize the Browser

[](#initialize-the-browser)

```
use ArrayPress\S3\Browser;
use ArrayPress\S3\Providers\CloudflareR2;

// Create a provider instance
$provider = new CloudflareR2( 'default', [ 'account_id' => 'your_account_id' ] );

// Initialize the browser
$browser = new Browser(
	$provider,
	'your_access_key',
	'your_secret_key',
	[ 'post', 'page' ], // Allowed post types (optional)
	'default-bucket', // Default bucket (optional)
	'uploads/'        // Default prefix (optional)
);
```

### Working with Buckets

[](#working-with-buckets)

```
// Code examples coming soon...
```

### Managing Objects

[](#managing-objects)

```
// Code examples coming soon...
```

### File Uploads and Downloads

[](#file-uploads-and-downloads)

```
// Code examples coming soon...
```

### Integration with WordPress Plugins

[](#integration-with-wordpress-plugins)

```
// Code examples coming soon...
```

Supported Providers
-------------------

[](#supported-providers)

- **AWS S3** - Amazon Simple Storage Service
- **Cloudflare R2** - Cloudflare's zero-egress object storage
- **DigitalOcean Spaces** - DigitalOcean's S3-compatible storage
- **Linode Object Storage** - Akamai's object storage solution
- **Vultr Object Storage** - Vultr's S3-compatible storage
- **Custom Providers** - Extensible architecture for custom implementations

Configuration
-------------

[](#configuration)

The library supports various configuration options:

```
// Configuration examples coming soon...
```

Cache Management
----------------

[](#cache-management)

Built-in caching using WordPress transients:

```
// Cache management examples coming soon...
```

API Documentation
-----------------

[](#api-documentation)

For detailed API documentation and advanced usage examples, visit the [documentation](https://github.com/arraypress/s3-browser/wiki).

Requirements
------------

[](#requirements)

- PHP 7.4 or later
- WordPress 6.8.1 or later
- Required PHP extensions: simplexml, curl, json, mbstring

License
-------

[](#license)

This library is licensed under the GPL v2 or later.

Credits
-------

[](#credits)

Developed by [ArrayPress](https://arraypress.com)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance61

Regular maintenance activity

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![arraypress](https://avatars.githubusercontent.com/u/22668877?v=4)](https://github.com/arraypress "arraypress (283 commits)")

### Embed Badge

![Health badge](/badges/arraypress-wp-s3-browser/health.svg)

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

PHPackages © 2026

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