PHPackages                             isotopsweden/wp-flypress - 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. isotopsweden/wp-flypress

AbandonedArchivedWordpress-muplugin[File &amp; Storage](/categories/file-storage)

isotopsweden/wp-flypress
========================

Use Flysystem with WordPress

891[1 PRs](https://github.com/isotopsweden/wp-flypress/pulls)PHP

Since Feb 9Pushed 5y agoCompare

[ Source](https://github.com/isotopsweden/wp-flypress)[ Packagist](https://packagist.org/packages/isotopsweden/wp-flypress)[ RSS](/packages/isotopsweden-wp-flypress/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Flypress [![Build Status](https://camo.githubusercontent.com/79e536b773512cd8eb733155d7c6214b052fe80f46d319b404c5b66b2b3afd5e/68747470733a2f2f7472617669732d63692e6f72672f69736f746f7073776564656e2f77702d666c7970726573732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/isotopsweden/wp-flypress)
================================================================================================================================================================================================================================================================================================================

[](#flypress-)

> WIP - Requires PHP 7.0 and WordPress 4.6

Use [Flysystem](https://flysystem.thephpleague.com/) with WordPress. Flypress will rename each file uploaded to WordPress with a new name based on uuid v4, the attachment title will not be changed to uuid.

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

[](#installation)

```
composer require isotopsweden/wp-flypress

```

Usage
-----

[](#usage)

Example configuration for using the built in adapter for AWS S3 with [Minio](https://minio.io/) locally. Region and endpoint constant is optional.

```
/* Flypress */
define( 'FLYPRESS_ADAPTER', 'aws-s3' );

/* AWS S3 */
define( 'AWS_S3_ENDPOINT', 'http://localhost:9999/' );
define( 'AWS_S3_BUCKET_URL', 'http://localhost:9999/bwh' );
define( 'AWS_S3_BUCKET', 'bwh' );
define( 'AWS_S3_KEY', 'key' );
define( 'AWS_S3_SECRET', 'secret' );
define( 'AWS_S3_REGION', 'us-east-1' );
```

Custom adapter
--------------

[](#custom-adapter)

Add a custom adapter to flypress using `flypress_adapter` filter.

```
add_filter( 'flypress_adapter', function () {
  return new \League\Flysystem\Adapter\Local( '/path/to/folder' );
} );
```

With `flypress_upload_url` can you modify how the base url of a upload url looks like.

```
add_filter( 'flypress_upload_url', function () {
  return 'http://localhost:9000/';
} );
```

Look at the built in `aws-s3` adapter to check how we created a working flypress adapter and if you look at the source code for flypress you will find some more filters that you can hook into.

WP-CLI
------

[](#wp-cli)

- `wp flypress test` - test if flysystem and flypress works, it will write, read and delete a file on the used adapter. Useful it you would like to test if AWS S3 connection is working or not.
- `wp flypress migrate [--delete-local]` - migrates all images to flysystem with a optional flag to delete local attachment if any.

Todo
----

[](#todo)

- Fix so sizes works

License
-------

[](#license)

MIT © Isotop

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

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

---

Top Contributors

[![frozzare](https://avatars.githubusercontent.com/u/14610?v=4)](https://github.com/frozzare "frozzare (22 commits)")

---

Tags

aws-s3flysystemwordpress

### Embed Badge

![Health badge](/badges/isotopsweden-wp-flypress/health.svg)

```
[![Health](https://phpackages.com/badges/isotopsweden-wp-flypress/health.svg)](https://phpackages.com/packages/isotopsweden-wp-flypress)
```

###  Alternatives

[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

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