Search by

aclyte / flysystem-aws-s3-v3

aclyte

Flysystem 1.x AWS S3 adapter with PHP 8+ support. Drop-in replacement for league/flysystem-aws-s3-v3.

Package info

github.com/aclyte/flysystem-aws-s3-v3

pkg:composer/aclyte/flysystem-aws-s3-v3

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.32 2026-08-31 11:57 UTC

This package is auto-updated.

Last update: 2026-09-03 06:49:12 UTC


README

Packagist Version Packagist Downloads License

Fork of league/flysystem-aws-s3-v3 1.x with PHP 8+ compatibility.

Designed as a drop-in replacement for league/flysystem-aws-s3-v3 when used with aclyte/flysystem (Flysystem 1.x fork with PHP 8.4 support).

Use case

Works with packages that require Flysystem 1.x, for example alex-yashin/pina-media:

  • league/flysystem: 1.1.*
  • league/flysystem-aws-s3-v3: *

Installation

In your project composer.json:

{
    "require": {
        "alex-yashin/pina-media": "*",
        "aclyte/flysystem": "^1.1.10",
        "aclyte/flysystem-aws-s3-v3": "^1.1.31"
    }
}

Or via CLI:

composer require aclyte/flysystem:^1.1.10 aclyte/flysystem-aws-s3-v3:^1.1.31

Both aclyte/* packages replace the original league/* packages via Composer replace, so pina-media dependencies resolve correctly.

Important: In aclyte/flysystem add "replace": { "league/flysystem": "self.version" } if not already present — this lets Composer satisfy league/flysystem: 1.1.* from pina-media.

Usage

Flysystem 1.x API (League\Flysystem\AwsS3v3\AwsS3Adapter):

<?php

use Aws\S3\S3Client;
use League\Flysystem\AwsS3v3\AwsS3Adapter;
use League\Flysystem\Filesystem;

require __DIR__ . '/vendor/autoload.php';

$client = S3Client::factory([
    'credentials' => [
        'key'    => 'your-key',
        'secret' => 'your-secret',
    ],
    'region' => 'your-region',
    'version' => 'latest',
]);

$adapter = new AwsS3Adapter($client, 'your-bucket-name');
$filesystem = new Filesystem($adapter);

Requirements

Package Version
PHP ^7.2.5 || ^8.0
aclyte/flysystem ^1.1.10
aws/aws-sdk-php ^3.20.0

License

MIT. See LICENSE.