PHPackages                             leeroy/sail-fs3 - 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. leeroy/sail-fs3

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

leeroy/sail-fs3
===============

S3 Filesystem Adapter for SailCMS

v1.0.7(2y ago)0237MITPHPPHP &gt;=8.1

Since Nov 10Pushed 2y agoCompare

[ Source](https://github.com/LeeroyLabs/sail-fs3)[ Packagist](https://packagist.org/packages/leeroy/sail-fs3)[ RSS](/packages/leeroy-sail-fs3/feed)WikiDiscussions main Synced 1mo ago

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

S3 Filesystem Adapter for SailCMS
=================================

[](#s3-filesystem-adapter-for-sailcms)

This is the official S3 Filesystem adapter for SailCMS. This adapter is module that you will be able to load and it will make the 's3://' protocol available to you.

Installing
----------

[](#installing)

```
php sail install:official leeroy/sail-fs3
```

This will install the package using composer and then update your composer file to autoload the package.

If you wish to install it manually, you and perform the following

```
composer require leeroy/sail-fs3
```

After that, you can add `Leeroy\\FS3` to the modules section of the sailcms property of your composer.json file. It should look something like this:

```
"sailcms": {
  "containers": ["Spec"],
  "modules": [
    "Leeroy\\FS3"
  ],
  "search": {}
}
```

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

[](#configuration)

When installed, you need to add the following to your `.env` file.

```
FS3_API_KEY=aws_key
FS3_API_SECRET=aws_secret
FS3_REGION=aws_region
FS3_BUCKET=bucket_name
FS3_ACL=public

```

Using
-----

[](#using)

When you want to upload something, you can do something like this:

```
$fs = Filesytem::manager();
$fs->write('s3://file/path.jpg', $data, ['visibility' => 'public']);
```

If you want your file to be accessible by unsigned urls, you need to pass the `visibility` option and set it to `public`.

For the assets in SailCMS, set the adapter to `s3` in your `config/general.php` in the `assets` section. SailCMS automatically sets the file to public visibility.

You can now enjoy the S3 on your site.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~44 days

Recently: every ~53 days

Total

8

Last Release

977d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92767cd5e1ad8cc0aab1bd087488a7356b1d40a37eb17063d023cf3192e5fa78?d=identicon)[Leeroy Digital Agency](/maintainers/Leeroy%20Digital%20Agency)

---

Top Contributors

[![marcLeeroy](https://avatars.githubusercontent.com/u/59919105?v=4)](https://github.com/marcLeeroy "marcLeeroy (15 commits)")

### Embed Badge

![Health badge](/badges/leeroy-sail-fs3/health.svg)

```
[![Health](https://phpackages.com/badges/leeroy-sail-fs3/health.svg)](https://phpackages.com/packages/leeroy-sail-fs3)
```

###  Alternatives

[craftcms/aws-s3

Amazon S3 integration for Craft CMS

631.5M26](/packages/craftcms-aws-s3)[tapp/laravel-uppy-s3-multipart-upload

Multipart Uploads using Laravel, AWS S3, and Uppy

84116.7k](/packages/tapp-laravel-uppy-s3-multipart-upload)[vaersaagod/dospaces

DigitalOcean Spaces integration for Craft CMS

36100.3k1](/packages/vaersaagod-dospaces)[silverstripe/s3

Adds SilverStripe support for using the S3 adapter for Flysystem

20297.0k1](/packages/silverstripe-s3)[sistemi-etime/flysystem-plugin-aws-s3-v3

AWS S3 plugin for Flysystem.

11154.2k1](/packages/sistemi-etime-flysystem-plugin-aws-s3-v3)[exula/laravel-storage-rados-s3

Extends League Flysystem S3 Adapter to easily point it to a Rados Gateway

1042.4k](/packages/exula-laravel-storage-rados-s3)

PHPackages © 2026

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