PHPackages                             silverstripe/s3cdn - 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. silverstripe/s3cdn

Abandoned → [symbiote/silverstripe-s3cdn](/?search=symbiote%2Fsilverstripe-s3cdn)Silverstripe-module[File &amp; Storage](/categories/file-storage)

silverstripe/s3cdn
==================

S3 CDN services for the content-services module

4.2.1(5y ago)55.0k9[1 issues](https://github.com/silverstripe-australia/silverstripe-s3cdn/issues)BSD-3-ClausePHP

Since Aug 11Pushed 5y ago9 watchersCompare

[ Source](https://github.com/silverstripe-australia/silverstripe-s3cdn)[ Packagist](https://packagist.org/packages/silverstripe/s3cdn)[ RSS](/packages/silverstripe-s3cdn/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (2)Versions (30)Used By (0)

S3 CDN
======

[](#s3-cdn)

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

[](#configuration)

In your local configuration, specify something like the following to configure the content Reader/Writer pair, along with actually binding them to usable content stores for the CDN

```
---
Name: locals3settings
After:
  - '#s3services'
---
Injector:
  S3Service:
    constructor:
      key: {your_api_key}
      secret: {your_api_secret}
          region: {region}
  S3ContentReader:
    type: prototype
    properties:
      s3service: %$S3Service
      bucket: {your_bucket_name}
      baseUrl: https://{your_bucket_name}.s3.amazonaws.com
  S3ContentWriter:
    type: prototype
    properties:
      s3service: %$S3Service
      bucket: {your_bucket_name}
      baseUrl: https://{your_bucket_name}.s3.amazonaws.com
  ContentService:
    constructor:
      defaultStore: Default
    properties:
      stores:
        Default:
          ContentReader: S3ContentReader
          ContentWriter: S3ContentWriter

```

Additionally, ensure you have the CDNFile extensions bound from the cdncontent module

```
File:
  extensions:
    - CDNFile
Folder:
  extensions:
    - CDNFolder
```

To change the default ACL applied on upload reconfigure the `defaultAcl` option

```
Injector
  S3ContentWriter:
    type: prototype
    properties:
      s3Service: %$S3Service
      bucket: bucket
      defaultAcl: ""

```

See the [CDN Content](https://github.com/symbiote/silverstripe-cdncontent) module for more details

Migrations
----------

[](#migrations)

If you're looking to migrate either to, or from S3, please take a look at the build tasks included.

Troubleshooting
---------------

[](#troubleshooting)

### Resampled Images

[](#resampled-images)

The following queries may need to be run if you've done an SS upgrade and/or swapped to a new URL. This makes sure that all images are resampled correctly.

```
UPDATE File SET ResamplingsValue = '';
TRUNCATE TABLE `SilverStripeAustralia\ContentServiceAssets\ContentServiceAsset`;
TRUNCATE TABLE `Symbiote\ContentServiceAssets\ContentServiceAsset`;

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~85 days

Recently: every ~116 days

Total

26

Last Release

2152d ago

Major Versions

1.2.3 → 2.0.02016-03-16

2.0.x-dev → 3.0.02016-03-18

3.2.2 → 4.0.02017-06-23

3.2.x-dev → 4.0.32017-06-30

### Community

Maintainers

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

---

Top Contributors

[![nyeholt](https://avatars.githubusercontent.com/u/161730?v=4)](https://github.com/nyeholt "nyeholt (22 commits)")[![Linkdup](https://avatars.githubusercontent.com/u/1018387?v=4)](https://github.com/Linkdup "Linkdup (1 commits)")[![nicole-ashley](https://avatars.githubusercontent.com/u/2626677?v=4)](https://github.com/nicole-ashley "nicole-ashley (1 commits)")

---

Tags

filesystemamazons3silverstripefilecdn

### Embed Badge

![Health badge](/badges/silverstripe-s3cdn/health.svg)

```
[![Health](https://phpackages.com/badges/silverstripe-s3cdn/health.svg)](https://phpackages.com/packages/silverstripe-s3cdn)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[vinelab/cdn

Content Delivery Network (CDN) Package for Laravel

217240.8k1](/packages/vinelab-cdn)[publiux/laravelcdn

Content Delivery Network (CDN) Package for Laravel

155230.4k](/packages/publiux-laravelcdn)[juhasev/laravelcdn

Content Delivery Network (CDN) Package for Laravel

1820.4k](/packages/juhasev-laravelcdn)

PHPackages © 2026

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