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

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

silbinarywolf/silverstripe-contextawareupload
=============================================

Automatic organization of uploaded files based on the site tree structure.

2.0.0(7y ago)14.3k3BSD-3-ClausePHP

Since Aug 22Pushed 7y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Context Aware Upload
====================

[](#context-aware-upload)

[![Build Status](https://camo.githubusercontent.com/52adc5f8e22c2c0ac9636002541ea4af29de6d96491e391ce004c29df9e0841d/68747470733a2f2f7472617669732d63692e6f72672f73796d62696f74652f73696c7665727374726970652d636f6e74657874617761726575706c6f61642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/symbiote/silverstripe-contextawareupload)[![Latest Stable Version](https://camo.githubusercontent.com/5415efd1f8065d027c83581803aafe7333e3c2a8930c07d06e8f0fcb8ed7768e/68747470733a2f2f706f7365722e707567782e6f72672f73796d62696f74652f73696c7665727374726970652d636f6e74657874617761726575706c6f61642f76657273696f6e2e737667)](https://github.com/symbiote/silverstripe-contextawareupload/releases)[![Latest Unstable Version](https://camo.githubusercontent.com/0fc69019146f0b78321e602b807222ec1a7a1f7e4bc6588dc3b0265ae4176d91/68747470733a2f2f706f7365722e707567782e6f72672f73796d62696f74652f73696c7665727374726970652d636f6e74657874617761726575706c6f61642f762f756e737461626c652e737667)](https://packagist.org/packages/symbiote/silverstripe-contextawareupload)[![Total Downloads](https://camo.githubusercontent.com/c8d7bc7f2f28554cd00d20e4948021b51f5c70988f223a99b3fc550632acc8fb/68747470733a2f2f706f7365722e707567782e6f72672f73796d62696f74652f73696c7665727374726970652d636f6e74657874617761726575706c6f61642f646f776e6c6f6164732e737667)](https://packagist.org/packages/symbiote/silverstripe-contextawareupload)[![License](https://camo.githubusercontent.com/1272ae5d651b74d8f5fb62a30aac239acd42eefc27f19e9bcb26f798544f08a3/68747470733a2f2f706f7365722e707567782e6f72672f73796d62696f74652f73696c7665727374726970652d636f6e74657874617761726575706c6f61642f6c6963656e73652e737667)](https://github.com/symbiote/silverstripe-contextawareupload/blob/master/LICENSE.md)

This module will make the default upload folder match the URL structure of the page you're uploading in, rather than just uploading to the `Uploads` folder or the `default-site` folder if you're using Multisites.

ie. If you upload a file to a page that can be visited at , then that file will be available at  by default, rather than .

Composer Install
----------------

[](#composer-install)

```
composer require symbiote/silverstripe-contextawareupload:~2.0

```

Requirements
------------

[](#requirements)

- SilverStripe 4.1+
- (Optional) Multisites

Documentation
-------------

[](#documentation)

- [Quick Start](docs/en/quick-start.md)
- [License](LICENSE.md)
- [Contributing](CONTRIBUTING.md)

Known limitations
-----------------

[](#known-limitations)

Uploading files via a WYSIWYG field's "Insert Media" button or anything else using the AssetAdmin view will not be affected by this module. I'm hoping this issue will be fixed in the future, and it's been logged here: [silverstripe/silverstripe-assets#159](https://github.com/silverstripe/silverstripe-assets/issues/159)

In the meantime however, you can optionally apply an extension so that any files uploaded to the root folder of assets, gets moved into the desired folder. ie. if File::ParentID == 0, move to default folder.

```
SilverStripe\Assets\File:
  extensions:
    - Symbiote\ContextAwareUpload\ForceRootToDefaultExtension
```

Credits
-------

[](#credits)

- [Jake Bentvelzen](https://github.com/SilbinaryWolf) for the initial build.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

2

Last Release

2799d ago

Major Versions

1.0.0 → 2.0.02018-09-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/91f71cbb05b87b3051e0d0680314bef897a7a26d73e553fad71442c2f5098552?d=identicon)[SilbinaryWolf](/maintainers/SilbinaryWolf)

---

Tags

silverstripeContextuploadsymbioteaware

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[unclecheese/dropzone

An HTML5 upload field for the CMS and frontend forms.

46130.7k6](/packages/unclecheese-dropzone)[unclecheese/silverstripe-kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

4728.3k1](/packages/unclecheese-silverstripe-kickassets)[silverstripe/selectupload

Enables files to be uploaded into a user-designated folder

2779.1k1](/packages/silverstripe-selectupload)[axllent/silverstripe-scaled-uploads

Automatically scale down and rotate uploaded images for Silverstripe

2580.3k8](/packages/axllent-silverstripe-scaled-uploads)[unclecheese/kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

484.0k](/packages/unclecheese-kickassets)[axllent/silverstripe-image-optimiser

Automatically optimise all uploaded &amp; resampled images in Silverstripe

1118.4k2](/packages/axllent-silverstripe-image-optimiser)

PHPackages © 2026

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