PHPackages                             league/flysystem-aws-s3-v2 - 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. league/flysystem-aws-s3-v2

Abandoned → [league/flysystem-aws-s3-v3](/?search=league%2Fflysystem-aws-s3-v3)ArchivedLibrary[File &amp; Storage](/categories/file-storage)

league/flysystem-aws-s3-v2
==========================

Flysystem adapter for AWS S3 SDK v2

1.0.3(10y ago)512.3M↓28.7%19[2 PRs](https://github.com/thephpleague/flysystem-aws-s3-v2/pulls)15MITPHPPHP &gt;=5.4.0

Since Jan 21Pushed 10y ago8 watchersCompare

[ Source](https://github.com/thephpleague/flysystem-aws-s3-v2)[ Packagist](https://packagist.org/packages/league/flysystem-aws-s3-v2)[ RSS](/packages/league-flysystem-aws-s3-v2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (15)

Flysystem Adapter for AWS S3 SDK v2
===================================

[](#flysystem-adapter-for-aws-s3-sdk-v2)

[![Author](https://camo.githubusercontent.com/bf87237874a25aebcf58b7f23dfdeb9098e58b5c011ca83aed2b6e519a392d84/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406672616e6b64656a6f6e67652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/frankdejonge)[![Build Status](https://camo.githubusercontent.com/5b1a180b5c8d51e8b099797f0677bcbcbe18f1a44c65eb6fd6f58375a633a74d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7468657068706c65616775652f666c7973797374656d2d6177732d73332d76322f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/thephpleague/flysystem-aws-s3-v2)[![Coverage Status](https://camo.githubusercontent.com/a910f7892e3b9d574aaeeb54a4bea1fcba2d9fd99dfe571ea812b10ed6846d43/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7468657068706c65616775652f666c7973797374656d2d6177732d73332d76322e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/flysystem-aws-s3-v2/code-structure)[![Quality Score](https://camo.githubusercontent.com/f67a38c2826eeb7e168dc879610c6624ab18cc06ed2a60ae72488cc48c25fd4d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7468657068706c65616775652f666c7973797374656d2d6177732d73332d76322e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/flysystem-aws-s3-v2)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/462d4273b9ca93b64fc52e1d11459fe3302b0500a96e65e83a112873a94a0f77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c65616775652f666c7973797374656d2d6177732d73332d76322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/flysystem-aws-s3-v2)[![Total Downloads](https://camo.githubusercontent.com/ede5134a3db10f51e5b4e75c5a466dc5de1ebf2e60789645b2ff02d2ce09a578/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f666c7973797374656d2d6177732d73332d76322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/flysystem-aws-s3-v2)

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

[](#installation)

```
composer require league/flysystem-aws-s3-v2
```

Usage
-----

[](#usage)

```
use Aws\S3\S3Client;
use League\Flysystem\AwsS3v2\AwsS3Adapter;
use League\Flysystem\Filesystem;

$client = S3Client::factory(array(
    'key'    => '[your key]',
    'secret' => '[your secret]',
    'region' => '[aws-region]',
));

$adapter = new AwsS3Adapter($client, 'bucket-name', 'optional-prefix');

$filesystem = new Filesystem($adapter);
```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity53

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 81% 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 ~89 days

Total

4

Last Release

3868d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/534693?v=4)[Frank de Jonge](/maintainers/frankdejonge)[@frankdejonge](https://github.com/frankdejonge)

---

Top Contributors

[![frankdejonge](https://avatars.githubusercontent.com/u/534693?v=4)](https://github.com/frankdejonge "frankdejonge (17 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (1 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (1 commits)")[![ifdattic](https://avatars.githubusercontent.com/u/966877?v=4)](https://github.com/ifdattic "ifdattic (1 commits)")[![zaak](https://avatars.githubusercontent.com/u/803299?v=4)](https://github.com/zaak "zaak (1 commits)")

---

Tags

aws-sdkflysystem-adapterphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/league-flysystem-aws-s3-v2/health.svg)

```
[![Health](https://phpackages.com/badges/league-flysystem-aws-s3-v2/health.svg)](https://phpackages.com/packages/league-flysystem-aws-s3-v2)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/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.6M75](/packages/aws-aws-sdk-php-laravel)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[humanmade/s3-uploads

WordPress plugin to store uploads on S3

2.1k2.4M9](/packages/humanmade-s3-uploads)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[yii2-starter-kit/yii2-file-kit

Yii2 file upload and storage kit

151216.8k6](/packages/yii2-starter-kit-yii2-file-kit)

PHPackages © 2026

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